派生自 wuyushui/SewerAndRainNetwork

wangqi
2021-03-12 474fec855ac439e84f7dd9746d3709dbd731f104
src/views/MapTemplate.vue
@@ -13,7 +13,8 @@
    <tool-box-panel ref="toolBox"></tool-box-panel>
    <menu-special></menu-special>
    <legend-panel></legend-panel>
    <summary-sheets></summary-sheets>
    <summary-sheets v-show="isShowbtn"></summary-sheets>
    <el-button id="mapbtn" type="primary" icon="el-icon-c-scale-to-original" circle @click="isshowhidden"></el-button>
  </div>
</template>
@@ -48,6 +49,7 @@
  },
  data () {
    return {
      isShowbtn: false,
      map: null,
      lcServiceLayerVisible: false,
      basemapHelper: {},
@@ -66,6 +68,9 @@
    })
  },
  methods: {
    isshowhidden () {
      this.isShowbtn = !this.isShowbtn
    },
    saveMapStatus () {
      window.serviceLayerHelper = this.serviceLayerHelper
      this.$store.commit('setMapObj', this.map)
@@ -156,5 +161,11 @@
    //background-color: #0661AE;
    border-top: 1px solid #0661AE;
  }
  #mapbtn {
    position: fixed;
    top: 0;
    left: 100px;
    z-index: 9999!important;
  }
}
</style>