| | |
| | | <div class="flex-grow" /> |
| | | </el-menu> |
| | | <router-view /> |
| | | <div class="footer"> |
| | | <div class="footer" v-if="showFooterFlag"> |
| | | <div class="footer_bg"> |
| | | <div class="footer_content"> |
| | | <ul> |
| | |
| | | const stMenuClick=(res)=>{ |
| | | router.push({ path: res}); |
| | | } |
| | | const showFooterFlag = ref(true); |
| | | watch( |
| | | () => router.currentRoute.value.path, |
| | | (toPath) => { |
| | | activeIndex.value = toPath; |
| | | if (toPath.indexOf("HomeDoc") > -1) { |
| | | showFooterFlag.value = false; |
| | | }else{ |
| | | showFooterFlag.value = true; |
| | | } |
| | | }, |
| | | { immediate: true, deep: true } |
| | | ); |
| | |
| | | |
| | | .el-menu_body { |
| | | width: 100%; |
| | | height: 80px; |
| | | height: 60px; |
| | | padding-left: 180px !important; |
| | | padding-right: 180px; |
| | | border-bottom: 0 !important; |