From dadce33d740d0bb335d9635cdf8172a12051b057 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Fri, 17 Sep 2021 18:08:08 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E7=AD=9B=E9=80=89bug=20?= =?UTF-8?q?=E5=92=8C=E5=B7=B2=E7=9F=A5=E7=9A=84=E5=9D=90=E6=A0=87=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 7 ++++--- pages/mine/address/add.vue | 9 +++++---- pages/navigation/search/searchPage.vue | 13 +++++++++++++ 3 files changed, 22 insertions(+), 7 deletions(-) diff --git a/manifest.json b/manifest.json index c25675b..541650e 100644 --- a/manifest.json +++ b/manifest.json @@ -2,8 +2,8 @@ "name" : "lili商城", "appid" : "__UNI__C100675", "description" : "", - "versionName" : "4.0.42", - "versionCode" : 4000042, + "versionName" : "4.0.43", + "versionCode" : 4000043, "transformPx" : false, "app-plus" : { "compatible" : { @@ -72,7 +72,8 @@ "NSPhotoLibraryAddUsageDescription" : "保存商品图片到本地", "NSFaceIDUsageDescription" : "使用面部识别进行登录", "NSCameraUsageDescription" : "需要用与扫描二维码和商品评论图片拍摄", - "NSLocationAlwaysAndWhenInUseUsageDescription" : "位置信息将用于高德地图的效果展示" + "NSLocationAlwaysAndWhenInUseUsageDescription" : "位置信息将用于高德地图的效果展示", + "NSMicrophoneUsageDescription" : "用户上传视频时需使用音频信息" }, "urltypes" : "lilishop" }, diff --git a/pages/mine/address/add.vue b/pages/mine/address/add.vue index b95bd6e..f4f3f51 100644 --- a/pages/mine/address/add.vue +++ b/pages/mine/address/add.vue @@ -28,7 +28,8 @@
保存
- + + @@ -149,7 +150,7 @@ export default { delete this.form.___path; addAddress(this.form).then((res) => { if (res.data.success) { - uni.navigateBack(); + uni.navigateBack(); } }); } else { @@ -190,8 +191,8 @@ export default { return _child.id == item.id; }); - this.form.lat = _town[0].center.split(",")[0]; - this.form.lon = _town[0].center.split(",")[1]; + this.form.lat = _town[0].center.split(",")[1]; + this.form.lon = _town[0].center.split(",")[0]; } }); }, diff --git a/pages/navigation/search/searchPage.vue b/pages/navigation/search/searchPage.vue index b0f9329..547dc4d 100644 --- a/pages/navigation/search/searchPage.vue +++ b/pages/navigation/search/searchPage.vue @@ -383,6 +383,12 @@ export default { this.defaultKeyword = "请输入搜索商品"; } }, + sortPopup(val) { + if (val) { + this.selectedWay = { brand: [], categoryId: [], prop: [] }; + console.log(this.selectedWay); + } + }, }, onReachBottom() { @@ -486,11 +492,17 @@ export default { this.goodsList = []; this.loadData(); + this.sortParams = this.params; this.sortPopup = false; }, // 重置 repick() { + this.sortParams = { + pageNumber: 1, + pageSize: 10, + }; + this.sortPopup = false this.initSortGoods(); this.minPrice = ""; this.maxPrice = ""; @@ -498,6 +510,7 @@ export default { pageNumber: 1, pageSize: 10, }; + this.goodsList = [] this.loadData(); },