Browse Source

菜单调整

wangtao 6 months ago
parent
commit
b7ddf9ace4
1 changed files with 11 additions and 9 deletions
  1. 11 9
      src/views/head.vue

+ 11 - 9
src/views/head.vue

@@ -10,10 +10,10 @@
         >{{ weatherObj.weather }} {{ weatherObj.temperature }}℃</span
       >
     </el-row> -->
-        <el-row class="title" v-if="title">闵行区消防管理数字平台</el-row>
+        <el-row class="title" v-if="title">闵行区消防救援支队“一网统管”数字化平台</el-row>
         <el-row class="title4" v-if="!title" style="    font-family: ZhenyanGB!important;">
             <a href="http://32.1.7.96:8011/project/mhzd_zdab/#/ciieSecurity" target="_blank"> <img src="@a/img/securityPlan/zhdd.png" alt="" /></a>
-            闵行区消防救援支队“一网统管”数字化平台
+            第七届中国国际进口博览会消防安保指挥平台
             <a > <img src="@a/img/securityPlan/hzfk.png" alt="" /></a>
             
         </el-row>
@@ -32,7 +32,7 @@
             <el-row class="btnBox btnBoxLeft">
                 <el-col
                     class="btn btn1"
-                    v-for="(item, index) in btnList.slice(0, 4)"
+                    v-for="(item, index) in btnList.slice(0, 2)"
                     @click="btnClick(item)"
                     :key="index"
                     :class="{
@@ -45,7 +45,7 @@
             <el-row class="btnBox btnBoxRight">
                 <el-col
                     class="btn btn2"
-                    v-for="(item, index) in btnList.slice(4)"
+                    v-for="(item, index) in btnList.slice(2)"
                     @click="btnClick(item)"
                     :key="index"
                     :class="{
@@ -125,11 +125,12 @@ if(window.location.href.split("#")[1] == "/security" ){
     btnList.value = [
         { name: "城市消防体征", router: "/fire-signs" },
         { name: "企业自主管理", router: "/self-management" },
+        
+        // { name: "火灾数据分析", router: "/fire-data-analysis" },
+        // { name: "消防救援站点", router: "/rescue-station" },
+        // { name: "消防水源情况", router: "/water-sources" },
+        // { name: "警情综合处置", router: "/comprehensive-disposal" },
         { name: "消防执法动态", router: "/enforcement-dynamic" },
-        { name: "火灾数据分析", router: "/fire-data-analysis" },
-        { name: "消防救援站点", router: "/rescue-station" },
-        { name: "消防水源情况", router: "/water-sources" },
-        { name: "警情综合处置", router: "/comprehensive-disposal" },
         { name: "大型安保预案", router: "/security-plan" },
     ]
     title.value = true
@@ -351,7 +352,8 @@ watch(
                 white-space: nowrap !important;
                 text-overflow: ellipsis !important;
 
-                width: 1.325rem;
+                // width: 1.325rem;
+                width: 2.025rem;
                 // height: 0.3rem;
                 // background: blue;
                 background-size: 100% 100%;