店铺分类

This commit is contained in:
THK3121 2023-05-31 11:17:52 +08:00
parent 364419c75a
commit 9e23c091d4
4 changed files with 8 additions and 4 deletions

View File

@ -652,9 +652,10 @@
"path": "home/index", "path": "home/index",
"style": { "style": {
"navigationStyle": "custom", "navigationStyle": "custom",
"navigationBarTitleText": "店铺首页" "navigationBarTitleText": "店铺首页",
"enablePullDownRefresh": true
// #ifdef MP // #ifdef MP
, ,
"navigationBarTextStyle": "#FFFFFF" "navigationBarTextStyle": "#FFFFFF"
// #endif // #endif
} }

View File

@ -610,7 +610,7 @@
// //
handleGetSelectStore(item) { 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); console.log(item);
this.setFormData.mer_cate_name = item.map(val => val.cate_name).join(','); this.setFormData.mer_cate_name = item.map(val => val.cate_name).join(',');
this.$refs.select_store.close(); this.$refs.select_store.close();

View File

@ -16,7 +16,7 @@
<view class="selectList_tap"> <view class="selectList_tap">
<view class="selectList_tap_item" v-for="(item, index) in tapList" :key="index" <view class="selectList_tap_item" v-for="(item, index) in tapList" :key="index"
@click="selectTapItem(item, index)" :class="{ selectTap: selectTap == item.value }"> @click="selectTapItem(item, index)" :class="{ selectTap: selectTap == item.value }">
{{ item.label }} {{ item.cate_name }}
</view> </view>
<view class="selectList_tap_item" @click="selectTapLastItem(-1)" v-if="isShowLastItem" <view class="selectList_tap_item" @click="selectTapLastItem(-1)" v-if="isShowLastItem"
:class="{ selectTap: selectTap == -1 }">请选择</view> :class="{ selectTap: selectTap == -1 }">请选择</view>

View File

@ -723,6 +723,7 @@
// #endif // #endif
} }
this.statusBarHeight = uni.getSystemInfoSync().statusBarHeight + 'px'; this.statusBarHeight = uni.getSystemInfoSync().statusBarHeight + 'px';
}, },
onShow() { onShow() {
@ -730,6 +731,7 @@
onReady: function() { onReady: function() {
}, },
/** /**
* 用户点击右上角分享 * 用户点击右上角分享
*/ */
@ -1168,6 +1170,7 @@
setTimeout(() => { setTimeout(() => {
const newList = this.goods.reverse(); const newList = this.goods.reverse();
this.goods = newList; this.goods = newList;
// uni.startPullDownRefresh();
uni.stopPullDownRefresh(); uni.stopPullDownRefresh();
}, 500) }, 500)
} }