Files
liberama/client/components/Reader/HelpPage/MouseHelpPage/MouseHelpPage.vue
2019-02-14 17:10:14 +07:00

60 lines
1.7 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<template>
<div class="page">
<h4>Управление с помощью мыши/тачпада:</h4>
<ul>
<li><b>ЛКМ/ТАЧ</b> по экрану в одну из областей - активация действия:</li>
<div class="click-map-page">
<ClickMapPage ref="clickMapPage"></ClickMapPage>
</div>
<li><b>ПКМ</b> - показать/скрыть панель управления</li>
<li><b>СКМ</b> - вкл./выкл. плавный скроллинг текста</li>
</ul>
* Для управления с помощью мыши/тачпада необходимо установить галочку "Включить управление кликом" в настройках
</div>
</template>
<script>
//-----------------------------------------------------------------------------
import Vue from 'vue';
import Component from 'vue-class-component';
import ClickMapPage from '../../ClickMapPage/ClickMapPage.vue';
export default @Component({
components: {
ClickMapPage,
},
})
class MouseHelpPage extends Vue {
created() {
}
mounted() {
this.$refs.clickMapPage.$el.style.fontSize = '50%';
this.$refs.clickMapPage.$el.style.backgroundColor = '#478355';
}
}
//-----------------------------------------------------------------------------
</script>
<style scoped>
.page {
flex: 1;
padding: 15px;
overflow-y: auto;
font-size: 120%;
line-height: 130%;
}
h4 {
margin: 0;
}
.click-map-page {
position: relative;
width: 400px;
height: 400px;
margin: 10px 0 10px 0;
}
</style>