Окончание работы над хоткеями

This commit is contained in:
Book Pauk
2020-03-19 19:38:40 +07:00
parent e1b85e4a1b
commit 6f7ba1f9fc
3 changed files with 38 additions and 11 deletions

View File

@@ -1,8 +1,13 @@
<template>
<div class="page">
<span class="text-h6 text-bold">Управление с помощью горячих клавиш:</span>
<ul>
</ul>
<div class="header">
<div class="text-h6 text-bold">Доступны следующие клавиатурные команды:</div>
<br>
</div>
<div class="table">
<div class="text-right text-italic" style="font-size: 80%">* Изменить сочетания клавиш можно в настройках</div>
<UserHotKeys v-model="userHotKeys" readonly/>
</div>
</div>
</template>
@@ -11,11 +16,25 @@
import Vue from 'vue';
import Component from 'vue-class-component';
import UserHotKeys from '../../SettingsPage/UserHotKeys/UserHotKeys.vue';
export default @Component({
components: {
UserHotKeys,
},
})
class HotkeysHelpPage extends Vue {
created() {
}
get userHotKeys() {
return this.$store.state.reader.settings.userHotKeys;
}
set userHotKeys(value) {
//no setter
}
}
//-----------------------------------------------------------------------------
</script>
@@ -24,7 +43,13 @@ class HotkeysHelpPage extends Vue {
.page {
padding: 15px;
overflow-y: auto;
}
.header {
font-size: 120%;
line-height: 130%;
}
.table {
width: 550px;
}
</style>