彭宇 2 роки тому
батько
коміт
28f3cc5062
2 змінених файлів з 4 додано та 3 видалено
  1. 2 3
      src/components/vBottomMenu.vue
  2. 2 0
      src/views/forest.vue

+ 2 - 3
src/components/vBottomMenu.vue

@@ -34,9 +34,8 @@
       </div>
     </div>
     <div class="bottom-menu-normal">
-      <div v-for="(fastMenu,index) in fastMenu" :key="index" class="btm-m-con"
-           @click.stop="showDialog(fastMenu.click)">
-        <a><i :class="fastMenu.icon"></i>{{ fastMenu.name }}
+      <div v-for="(fastMenu,index) in fastMenu" :key="index" class="btm-m-con">
+        <a><i :class="fastMenu.icon"  @click.stop="showDialog(fastMenu.click)"></i><a @click.stop="showDialog(fastMenu.click)">{{ fastMenu.name }}</a>
           <div v-if="showChild && fastMenu.click == 'layerSwitching'" class="nav-child">
             <el-button type="primary"
                        @click.stop="choseLayerSwitching('http://218.27.1.154:8090/iserver/services/map-sipingshi/rest/maps/tiedong_lunkuo',true)"

+ 2 - 0
src/views/forest.vue

@@ -1096,6 +1096,7 @@ export default {
         this.$refs.supermap.isEditableLayers = false
         this.$refs.bottomMenu.showChild = false
         this.$refs.bottomMenu.showChangChild = false
+        alert(this.$refs.bottomMenu.showBanChild)
         if (!this.$refs.bottomMenu.showBanChild) {
           this.$refs.bottomMenu.showBanChild = true
         } else {
@@ -1105,6 +1106,7 @@ export default {
         this.$refs.supermap.isEditableLayers = false
         this.$refs.bottomMenu.showBanChild = false
         this.$refs.bottomMenu.showChild = false
+        alert(this.$refs.bottomMenu.showChangChild)
         if (!this.$refs.bottomMenu.showChangChild) {
           this.$refs.bottomMenu.showChangChild = true
         } else {