派生自 wuyushui/SewerAndRainNetwork

chenzeping
2021-03-17 73a990fdb6aecd77e7158f679a29c58272f845d6
src/components/panel/ToolBoxPanel.vue
@@ -20,7 +20,7 @@
              <img :src="item.iconSelecd" alt="" v-if="active === index && checked"/>
              <img :src="item.icon" alt="" v-else/>
              <span v-if="active === index && checked">{{ item.label }}</span>
              <span v-else>{{ item.label }}</span>
              <span v-else class="default-span">{{ item.label }}</span>
            </el-button>
            <el-button v-for="(itemT,indexT) in item.items" :key="indexT" @click="choiceItem(itemT,indexT)"
                       v-show="item.index!=='2'">
@@ -90,7 +90,6 @@
  name: 'ToolBoxPanel',
  data () {
    return {
      checked: false,
      isShow: true,
      currentBaseMapCode: 'tianditu_img',
      basemapList: [],
@@ -100,7 +99,7 @@
      map: null,
      active: -1,
      Selecd: -1,
      isSelecd: false,
      checked: false,
      checkbutton: -1,
      menuList: [
        {
@@ -527,7 +526,7 @@
          display: block;
          color: @color-shadow;
        }
        a {
        .default-span {
          display: block;
          color: @color-over;
        }