fix 80650

This commit is contained in:
赵霄
2024-01-12 10:39:41 +08:00
parent 0b5438b10e
commit a9df131c29
+7 -1
View File
@@ -11,7 +11,7 @@
@click-left="handleBack" @click-left="handleBack"
@click-right="handleChangeLang" @click-right="handleChangeLang"
/> />
<div class="scroll-box"> <div class="scroll-box" :class="{'no-nav-bar': !hasNavBar}">
<router-view /> <router-view />
</div> </div>
</div> </div>
@@ -40,6 +40,8 @@ export default {
Vue.ls.set('language', ZH, 7 * 24 * 60 * 60 * 1000) Vue.ls.set('language', ZH, 7 * 24 * 60 * 60 * 1000)
Locale.use('zh-CN', zhCN) Locale.use('zh-CN', zhCN)
this.$i18n.locale = ZH this.$i18n.locale = ZH
},
mounted () {
// 修改顶部标题 // 修改顶部标题
document.title = this.pageTitle document.title = this.pageTitle
}, },
@@ -113,6 +115,10 @@ export default {
overflow: auto; overflow: auto;
} }
.no-nav-bar {
height: 100vh;
}
/*处理白色头部导航样式*/ /*处理白色头部导航样式*/
.white-style { .white-style {
background-color: #FFFFFF !important; background-color: #FFFFFF !important;