From 1006621e9dbda75e6cf162c22ba676f9718f77a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=82=93=E5=B9=B3=E8=89=BA?= <52643018@qq.com>
Date: Sun, 14 Nov 2021 10:35:33 +0800
Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=96=B0=E5=A2=9E=E3=80=91=20?=
=?UTF-8?q?=E5=8F=91=E7=8E=B0=E5=A5=BD=E4=BA=A7=E5=93=81=E9=A1=B5=E5=95=86?=
=?UTF-8?q?=E5=93=81=E5=88=97=E8=A1=A8=E4=BB=B7=E6=A0=BC=E5=9B=9E=E6=98=BE?=
=?UTF-8?q?=20=E3=80=90=E4=BC=98=E5=8C=96=E3=80=91=20=E5=8F=91=E7=8E=B0?=
=?UTF-8?q?=E5=A5=BD=E4=BA=A7=E5=93=81=E9=A1=B5=E5=9C=B0=E5=9B=BEmarker?=
=?UTF-8?q?=E5=9B=9E=E6=98=BE=E6=95=B0=E6=8D=AE=E4=B8=8D=E4=BC=9A=E8=A2=AB?=
=?UTF-8?q?=E6=B8=85=E9=99=A4=E7=9A=84=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/shopmap/index.vue | 38 ++++++++++++++++++++++----------------
1 file changed, 22 insertions(+), 16 deletions(-)
diff --git a/pages/shopmap/index.vue b/pages/shopmap/index.vue
index 686a043..d778c6f 100644
--- a/pages/shopmap/index.vue
+++ b/pages/shopmap/index.vue
@@ -51,24 +51,29 @@
- {{item.title}}
-
-
-
+ {{item.title}}
+
+
+
+
+
+
+
+ {{ item.address }}
+ |
+
+ {{item.distance_m | kmUnit}}
+
-
-
- {{ item.address }}
- |
-
- {{item.distance_m | kmUnit}}
+
+
+
+
+ ¥{{ item.price }}
-
-
-
@@ -252,6 +257,7 @@
tab_item.loadingClass = true;
tab_item.loadingText = '正在加载中';
tab_item.list = [];
+ this.markers_list = [];
},
getCategory(options = {}) {
this.$http(this.API.API_CATEGORYLIST).then(res => {
@@ -353,8 +359,8 @@
tab_item.list.push(...res.data.data);
}
console.log("res", res);
- let res_list = res.data.data || [];
- this.createMarkers(res_list);
+ // let res_list = res.data.data || [];
+ this.createMarkers(tab_item.list);
}).catch(err => {
})
@@ -415,7 +421,7 @@
width: 100%;
height: 100%;
box-sizing: border-box;
- padding: 0rpx 28rpx;
+ // padding: 0rpx 28rpx;
}
.lf-map-height {
width: 100%;