From 9e23c091d43ec39f3375e071464b6fc7034c9908 Mon Sep 17 00:00:00 2001 From: THK3121 Date: Wed, 31 May 2023 11:17:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=97=E9=93=BA=E5=88=86=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 5 +++-- pages/product/addGoods/index.vue | 2 +- pages/product/components/store_classification.vue | 2 +- pages/store/home/index.vue | 3 +++ 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/pages.json b/pages.json index 87af6d9..3d55878 100644 --- a/pages.json +++ b/pages.json @@ -652,9 +652,10 @@ "path": "home/index", "style": { "navigationStyle": "custom", - "navigationBarTitleText": "店铺首页" + "navigationBarTitleText": "店铺首页", + "enablePullDownRefresh": true // #ifdef MP - , + , "navigationBarTextStyle": "#FFFFFF" // #endif } diff --git a/pages/product/addGoods/index.vue b/pages/product/addGoods/index.vue index 8cf2bc2..9ffd245 100644 --- a/pages/product/addGoods/index.vue +++ b/pages/product/addGoods/index.vue @@ -610,7 +610,7 @@ // 获取已选择得店铺数据 handleGetSelectStore(item) { - this.setFormData.mer_cate_id = item.map(val => val.value); + this.setFormData.mer_cate_id = item.map(val => val.store_category_id); console.log(item); this.setFormData.mer_cate_name = item.map(val => val.cate_name).join(','); this.$refs.select_store.close(); diff --git a/pages/product/components/store_classification.vue b/pages/product/components/store_classification.vue index b0d1afa..c033154 100644 --- a/pages/product/components/store_classification.vue +++ b/pages/product/components/store_classification.vue @@ -16,7 +16,7 @@ - {{ item.label }} + {{ item.cate_name }} 请选择 diff --git a/pages/store/home/index.vue b/pages/store/home/index.vue index c3d7d88..d72bac1 100644 --- a/pages/store/home/index.vue +++ b/pages/store/home/index.vue @@ -723,6 +723,7 @@ // #endif } this.statusBarHeight = uni.getSystemInfoSync().statusBarHeight + 'px'; + }, onShow() { @@ -730,6 +731,7 @@ onReady: function() { }, + /** * 用户点击右上角分享 */ @@ -1168,6 +1170,7 @@ setTimeout(() => { const newList = this.goods.reverse(); this.goods = newList; + // uni.startPullDownRefresh(); uni.stopPullDownRefresh(); }, 500) }