去掉导航栏

(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>
<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>
+1 -1
View File
@@ -2,7 +2,7 @@ const dashboard = require('./dashboard/zh')
module.exports = {
pageTitle: {
home: '首页',
home: '标准法规',
myTodo: '我的待办',
search: '标准检索',
filePreview: '文件预览'
+8 -1
View File
@@ -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
View File
@@ -64,6 +64,6 @@ export default {
width: 90%;
height: 50px;
border-radius: 5px;
margin: 120% 5% 10px 5%;
margin: 100% 5% 10px 5%;
}
</style>