From 41be82878138fd410bef9d64f8d53abf6246062c Mon Sep 17 00:00:00 2001 From: dingtalk_umvbsp Date: Wed, 28 Feb 2024 11:05:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A1=E5=9B=AD=E8=AE=B0=E5=BD=95=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A1=B5=E9=9D=A2=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/home/app.vue | 8 -------- pages/patrolGarden/detail.vue | 7 ++++--- pages/patrolGarden/record.vue | 7 +++++-- 3 files changed, 9 insertions(+), 13 deletions(-) diff --git a/pages/home/app.vue b/pages/home/app.vue index 330a479..7d41145 100644 --- a/pages/home/app.vue +++ b/pages/home/app.vue @@ -52,14 +52,6 @@ {{v.name}} - diff --git a/pages/patrolGarden/detail.vue b/pages/patrolGarden/detail.vue index 067ae9a..1215bd7 100644 --- a/pages/patrolGarden/detail.vue +++ b/pages/patrolGarden/detail.vue @@ -137,6 +137,10 @@ export default { } }, async onReady(){ + /* #ifdef APP-PLUS */ + this.maps=uni.createMapContext("amap",this).$getAppMap() + /* #endif */ + this.eventChannel=this.getOpenerEventChannel() this.eventChannel.on("detail",e=>{ this.detail=e @@ -162,9 +166,6 @@ export default { } /* #endif */ }) - /* #ifdef APP-PLUS */ - this.maps=uni.createMapContext("amap",this).$getAppMap() - /* #endif */ }, methods:{ async submit(){ diff --git a/pages/patrolGarden/record.vue b/pages/patrolGarden/record.vue index 071ca51..b4bef8f 100644 --- a/pages/patrolGarden/record.vue +++ b/pages/patrolGarden/record.vue @@ -4,8 +4,10 @@ background:#f6f6f6; scroll-view{ + flex-grow: 1; + height:1rpx; .card{ - margin-top:0; + margin-top:0rpx; &>.title{ display: flex; align-items: center; @@ -89,7 +91,7 @@ }