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 @@
}
-
+
@@ -113,6 +115,7 @@
{{v.userName}}
+