修改整体布局
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
<!-- </a-tab-pane>-->
|
||||
<!-- </a-tabs>-->
|
||||
<!-- style="margin: 12px 12px 0;"-->
|
||||
<Tabcrumbs />
|
||||
<Tabcrumbs v-if="isTrue"/>
|
||||
<div>
|
||||
<!-- update-begin-author:taoyan date:20201221 for:此处删掉transition标签 不知道为什么加上后 页面路由切换的时候即1及菜单切到2及菜单的时候 两个菜单页面会同时出现300-500秒左右 -->
|
||||
<keep-alive v-if="multipage">
|
||||
@@ -83,7 +83,14 @@
|
||||
} else {
|
||||
return this.$store.state.app.multipage
|
||||
}
|
||||
}
|
||||
},
|
||||
isTrue(){
|
||||
if (this.$route.path == '/docManage/library/detail'){
|
||||
return false
|
||||
}else{
|
||||
return true
|
||||
}
|
||||
},
|
||||
},
|
||||
created() {
|
||||
if (this.$route.path != indexKey) {
|
||||
@@ -440,7 +447,7 @@
|
||||
|
||||
.ant-card {
|
||||
z-index: 999;
|
||||
background: #fff;
|
||||
background: transparent!important;
|
||||
}
|
||||
.ant-input{
|
||||
background: transparent !important;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="box">
|
||||
<span class="box-text">
|
||||
文档管理
|
||||
<span class="box-text">
|
||||
{{Navigation}}
|
||||
</span>
|
||||
<span class="box-text-content" v-if="subNavigation">
|
||||
<img src="~@/assets/dayu.png" alt="">
|
||||
@@ -17,17 +17,28 @@
|
||||
name: 'Tabcrumbs',
|
||||
data() {
|
||||
return {
|
||||
Navigation: '',
|
||||
subNavigation: ''
|
||||
Navigation: '文档管理',
|
||||
subNavigation: null
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
'$route': function(val) {
|
||||
this.subNavigation = val.meta.title
|
||||
if (val.meta.title == '首页') {
|
||||
this.Navigation = val.meta.title
|
||||
this.subNavigation = null
|
||||
} else {
|
||||
this.subNavigation = val.meta.title
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.subNavigation = this.$route.meta.title
|
||||
if (this.$route.meta.title == '首页') {
|
||||
this.Navigation = this.$route.meta.title
|
||||
this.subNavigation = null
|
||||
} else {
|
||||
this.subNavigation = this.$route.meta.title
|
||||
}
|
||||
|
||||
},
|
||||
methods: {}
|
||||
}
|
||||
@@ -38,7 +49,6 @@
|
||||
width: 100%;
|
||||
height: 72px;
|
||||
line-height: 92px;
|
||||
background: #fff;
|
||||
padding: 0 24px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user