Переход на quasar

This commit is contained in:
Book Pauk
2020-02-03 02:20:46 +07:00
parent 483092d40d
commit c6a61dc8c8
3 changed files with 17 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
<template>
<q-layout view="lhr lpr lfr">
<!--q-layout view="lhr lpr lfr">
<q-drawer v-model="showAsideBar" :width="asideWidth">
<div class="app-name"><span v-html="appName"></span></div>
<q-btn class="el-button-collapse" @click="toggleCollapse"></q-btn>
@@ -12,7 +12,7 @@
<q-item-section>Inbox</q-item-section>
</q-item>
</q-list>
</q-list-->
<!--el-menu class="el-menu-vertical" :default-active="rootRoute" :collapse="isCollapse" router>
<el-menu-item index="/cardindex">
<i class="el-icon-search"></i>
@@ -43,14 +43,19 @@
<span :class="itemTitleClass('/help')" slot="title">{{ this.itemRuText['/help'] }}</span>
</el-menu-item>
</el-menu-->
</q-drawer>
<!--/q-drawer>
<q-page-container>
<keep-alive>
<router-view></router-view>
</keep-alive>
</q-page-container>
</q-layout>
</q-layout-->
<div class="fit row">
<keep-alive>
<router-view class="col"></router-view>
</keep-alive>
</div>
</template>
<script>
@@ -243,6 +248,9 @@ class App extends Vue {
body, html, #app {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
font: normal 12pt ReaderDefault;
}

View File

@@ -1,5 +1,5 @@
<template>
<q-page class="column no-wrap">
<div class="column no-wrap">
<div ref="header" class="header" v-show="toolBarActive">
<div ref="buttons" class="row justify-between no-wrap">
<button ref="loader" class="tool-button" :class="buttonActiveClass('loader')" @click="buttonClick('loader')" v-ripple>
@@ -148,7 +148,7 @@
</el-dialog>
</div>
</q-page>
</div>
</template>
<script>

View File

@@ -133,7 +133,7 @@ class TextPage extends Vue {
this.$root.$on('resize', async() => {
this.$nextTick(this.onResize);
await sleep(300);
await sleep(500);
this.$nextTick(this.onResize);
});
}