Переход на quasar
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<q-layout view="lhr lpr lfr">
|
<!--q-layout view="lhr lpr lfr">
|
||||||
<q-drawer v-model="showAsideBar" :width="asideWidth">
|
<q-drawer v-model="showAsideBar" :width="asideWidth">
|
||||||
<div class="app-name"><span v-html="appName"></span></div>
|
<div class="app-name"><span v-html="appName"></span></div>
|
||||||
<q-btn class="el-button-collapse" @click="toggleCollapse"></q-btn>
|
<q-btn class="el-button-collapse" @click="toggleCollapse"></q-btn>
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
<q-item-section>Inbox</q-item-section>
|
<q-item-section>Inbox</q-item-section>
|
||||||
</q-item>
|
</q-item>
|
||||||
</q-list>
|
</q-list-->
|
||||||
<!--el-menu class="el-menu-vertical" :default-active="rootRoute" :collapse="isCollapse" router>
|
<!--el-menu class="el-menu-vertical" :default-active="rootRoute" :collapse="isCollapse" router>
|
||||||
<el-menu-item index="/cardindex">
|
<el-menu-item index="/cardindex">
|
||||||
<i class="el-icon-search"></i>
|
<i class="el-icon-search"></i>
|
||||||
@@ -43,14 +43,19 @@
|
|||||||
<span :class="itemTitleClass('/help')" slot="title">{{ this.itemRuText['/help'] }}</span>
|
<span :class="itemTitleClass('/help')" slot="title">{{ this.itemRuText['/help'] }}</span>
|
||||||
</el-menu-item>
|
</el-menu-item>
|
||||||
</el-menu-->
|
</el-menu-->
|
||||||
</q-drawer>
|
<!--/q-drawer>
|
||||||
|
|
||||||
<q-page-container>
|
<q-page-container>
|
||||||
<keep-alive>
|
<keep-alive>
|
||||||
<router-view></router-view>
|
<router-view></router-view>
|
||||||
</keep-alive>
|
</keep-alive>
|
||||||
</q-page-container>
|
</q-page-container>
|
||||||
</q-layout>
|
</q-layout-->
|
||||||
|
<div class="fit row">
|
||||||
|
<keep-alive>
|
||||||
|
<router-view class="col"></router-view>
|
||||||
|
</keep-alive>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@@ -243,6 +248,9 @@ class App extends Vue {
|
|||||||
body, html, #app {
|
body, html, #app {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
overflow: hidden;
|
||||||
font: normal 12pt ReaderDefault;
|
font: normal 12pt ReaderDefault;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<q-page class="column no-wrap">
|
<div class="column no-wrap">
|
||||||
<div ref="header" class="header" v-show="toolBarActive">
|
<div ref="header" class="header" v-show="toolBarActive">
|
||||||
<div ref="buttons" class="row justify-between no-wrap">
|
<div ref="buttons" class="row justify-between no-wrap">
|
||||||
<button ref="loader" class="tool-button" :class="buttonActiveClass('loader')" @click="buttonClick('loader')" v-ripple>
|
<button ref="loader" class="tool-button" :class="buttonActiveClass('loader')" @click="buttonClick('loader')" v-ripple>
|
||||||
<q-icon name="o_arrow_back" size="30px"/>
|
<q-icon name="o_arrow_back" size="30px"/>
|
||||||
@@ -148,7 +148,7 @@
|
|||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</q-page>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -133,7 +133,7 @@ class TextPage extends Vue {
|
|||||||
|
|
||||||
this.$root.$on('resize', async() => {
|
this.$root.$on('resize', async() => {
|
||||||
this.$nextTick(this.onResize);
|
this.$nextTick(this.onResize);
|
||||||
await sleep(300);
|
await sleep(500);
|
||||||
this.$nextTick(this.onResize);
|
this.$nextTick(this.onResize);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user