From 474fec855ac439e84f7dd9746d3709dbd731f104 Mon Sep 17 00:00:00 2001
From: wangqi <magical1908@outlook.com>
Date: 星期五, 12 三月 2021 17:47:25 +0800
Subject: [PATCH] 控制表格弹窗按钮,在map模板
---
src/views/MapTemplate.vue | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/src/views/MapTemplate.vue b/src/views/MapTemplate.vue
index 825eaeb..e399b31 100644
--- a/src/views/MapTemplate.vue
+++ b/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>
--
Gitblit v1.8.0