From 1767c2c878ec1892ae560f81b32b5afdd2ceebfd Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Tue, 27 Sep 2022 16:32:03 +0800
Subject: [PATCH] 小程序地图模式根据农场变化坐标
---
src/components/leafletDraw.vue | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/src/components/leafletDraw.vue b/src/components/leafletDraw.vue
index 181907f..362032a 100644
--- a/src/components/leafletDraw.vue
+++ b/src/components/leafletDraw.vue
@@ -234,6 +234,10 @@
console.error('oops, something went wrong!', error)
})
+ setTimeout(() => {
+ this.repealShow = true
+ this.regionFull = true
+ }, 1000);
}else{//小程序截图
domtoimage.toPng(document.getElementById('map'), { width: 375, height: 600 })
@@ -394,9 +398,11 @@
.repeal {
// width: 100px;
// height: 44px;
+
border-radius: 22px;
border: none;
-
+ color: #000;
+ background: #fff;
width: 150px;
height: 66px;
font-size: 30px;
@@ -408,7 +414,8 @@
// height: 44px;
border-radius: 22px;
border: none;
-
+ color: #000;
+ background: #fff;
width: 150px;
height: 66px;
font-size: 30px;
--
Gitblit v1.9.3