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) }