去掉导航栏
(cherry picked from commit aed108e48b760fea517289a8494d274695f016e7)
This commit is contained in:
+11
-11
@@ -1,17 +1,17 @@
|
||||
<template>
|
||||
<a-locale-provider :locale="local">
|
||||
<div id="app">
|
||||
<van-nav-bar
|
||||
v-if="hasNavBar"
|
||||
:class="{'white-style': isWhiteNavBar}"
|
||||
:title="specialTitle || pageTitle"
|
||||
:left-text="hasBack ? $t('back') : ''"
|
||||
:left-arrow="hasBack"
|
||||
:right-text="isChinese ? $t('chinese') : $t('english')"
|
||||
@click-left="handleBack"
|
||||
@click-right="handleChangeLang"
|
||||
:z-index="2"
|
||||
/>
|
||||
<!-- <van-nav-bar-->
|
||||
<!-- v-if="hasNavBar"-->
|
||||
<!-- :class="{'white-style': isWhiteNavBar}"-->
|
||||
<!-- :title="specialTitle || pageTitle"-->
|
||||
<!-- :left-text="hasBack ? $t('back') : ''"-->
|
||||
<!-- :left-arrow="hasBack"-->
|
||||
<!-- :right-text="isChinese ? $t('chinese') : $t('english')"-->
|
||||
<!-- @click-left="handleBack"-->
|
||||
<!-- @click-right="handleChangeLang"-->
|
||||
<!-- :z-index="2"-->
|
||||
<!-- />-->
|
||||
<div class="scroll-box" :class="{'no-nav-bar': !hasNavBar}">
|
||||
<router-view @titleChange="titleChange" />
|
||||
</div>
|
||||
|
||||
@@ -2,7 +2,7 @@ const dashboard = require('./dashboard/zh')
|
||||
|
||||
module.exports = {
|
||||
pageTitle: {
|
||||
home: '首页',
|
||||
home: '标准法规',
|
||||
myTodo: '我的待办',
|
||||
search: '标准检索',
|
||||
filePreview: '文件预览'
|
||||
|
||||
@@ -28,7 +28,7 @@ export default {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
<style scoped lang="less">
|
||||
.iframe-container {
|
||||
/*position: fixed;*/
|
||||
/*top: 0;*/
|
||||
@@ -39,6 +39,13 @@ export default {
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
.center-flex {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.responsive-iframe {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
+1
-1
@@ -64,6 +64,6 @@ export default {
|
||||
width: 90%;
|
||||
height: 50px;
|
||||
border-radius: 5px;
|
||||
margin: 120% 5% 10px 5%;
|
||||
margin: 100% 5% 10px 5%;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user