surprise
2024-04-08 be8b9ba19cee023829d2adc5d390e5bf0f56cbb8
src/views/Home.vue
@@ -30,7 +30,7 @@
    <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>
@@ -118,10 +118,16 @@
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 }
);
@@ -173,7 +179,7 @@
.el-menu_body {
  width: 100%;
  height: 80px;
  height: 60px;
  padding-left: 180px !important;
  padding-right: 180px;
  border-bottom: 0 !important;