去掉导航栏

(cherry picked from commit aed108e48b760fea517289a8494d274695f016e7)
This commit is contained in:
Xia Zekun
2024-09-06 17:25:24 +08:00
committed by mzaxd
parent 682492c310
commit e64f25ba1a
4 changed files with 21 additions and 14 deletions
+11 -11
View File
@@ -1,17 +1,17 @@
<template> <template>
<a-locale-provider :locale="local"> <a-locale-provider :locale="local">
<div id="app"> <div id="app">
<van-nav-bar <!-- <van-nav-bar-->
v-if="hasNavBar" <!-- v-if="hasNavBar"-->
:class="{'white-style': isWhiteNavBar}" <!-- :class="{'white-style': isWhiteNavBar}"-->
:title="specialTitle || pageTitle" <!-- :title="specialTitle || pageTitle"-->
:left-text="hasBack ? $t('back') : ''" <!-- :left-text="hasBack ? $t('back') : ''"-->
:left-arrow="hasBack" <!-- :left-arrow="hasBack"-->
:right-text="isChinese ? $t('chinese') : $t('english')" <!-- :right-text="isChinese ? $t('chinese') : $t('english')"-->
@click-left="handleBack" <!-- @click-left="handleBack"-->
@click-right="handleChangeLang" <!-- @click-right="handleChangeLang"-->
:z-index="2" <!-- :z-index="2"-->
/> <!-- />-->
<div class="scroll-box" :class="{'no-nav-bar': !hasNavBar}"> <div class="scroll-box" :class="{'no-nav-bar': !hasNavBar}">
<router-view @titleChange="titleChange" /> <router-view @titleChange="titleChange" />
</div> </div>
+1 -1
View File
@@ -2,7 +2,7 @@ const dashboard = require('./dashboard/zh')
module.exports = { module.exports = {
pageTitle: { pageTitle: {
home: '首页', home: '标准法规',
myTodo: '我的待办', myTodo: '我的待办',
search: '标准检索', search: '标准检索',
filePreview: '文件预览' filePreview: '文件预览'
+8 -1
View File
@@ -28,7 +28,7 @@ export default {
} }
} }
</script> </script>
<style> <style scoped lang="less">
.iframe-container { .iframe-container {
/*position: fixed;*/ /*position: fixed;*/
/*top: 0;*/ /*top: 0;*/
@@ -39,6 +39,13 @@ export default {
overflow-y: scroll; overflow-y: scroll;
} }
.center-flex {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
}
.responsive-iframe { .responsive-iframe {
width: 100%; width: 100%;
height: 100%; height: 100%;
+1 -1
View File
@@ -64,6 +64,6 @@ export default {
width: 90%; width: 90%;
height: 50px; height: 50px;
border-radius: 5px; border-radius: 5px;
margin: 120% 5% 10px 5%; margin: 100% 5% 10px 5%;
} }
</style> </style>