From d9b89e0520d29ffdf1775b4f2d87fc45db2b0bf5 Mon Sep 17 00:00:00 2001
From: zhangshuaibao <15731629597@163.com>
Date: 星期三, 17 三月 2021 11:38:06 +0800
Subject: [PATCH] 修改
---
src/views/MapTemplate.vue | 16 +++++++++++-----
1 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/src/views/MapTemplate.vue b/src/views/MapTemplate.vue
index 4d8b9d7..612e145 100644
--- a/src/views/MapTemplate.vue
+++ b/src/views/MapTemplate.vue
@@ -13,9 +13,9 @@
<tool-box-panel ref="toolBox"></tool-box-panel>
<!-- <menu-special></menu-special>-->
<legend-panel></legend-panel>
- <summary-sheets v-show="isShowbtn"></summary-sheets>
+ <summary-sheets></summary-sheets>
<enterprise></enterprise>
- <el-button id="mapbtn" type="primary" icon="el-icon-c-scale-to-original" circle @click="isshowhidden"></el-button>
+<!-- <el-button id="map-btn" el-icon-c-scale-to-original icon="el-icon-c-scale-to-original" circle @click="isShowHidden"></el-button>-->
</div>
</template>
@@ -52,7 +52,7 @@
},
data () {
return {
- isShowbtn: false,
+ // isShowBtn: false,
map: null,
lcServiceLayerVisible: false,
basemapHelper: {},
@@ -71,8 +71,8 @@
})
},
methods: {
- isshowhidden () {
- this.isShowbtn = !this.isShowbtn
+ isShowHidden () {
+ this.isShowBtn = !this.isShowBtn
},
saveMapStatus () {
window.serviceLayerHelper = this.serviceLayerHelper
@@ -164,5 +164,11 @@
//background-color: #0661AE;
border-top: 1px solid #0661AE;
}
+ #map-btn {
+ position: fixed;
+ top: 20px;
+ left: 100px;
+ z-index: 9999;
+ }
}
</style>
--
Gitblit v1.8.0