商品刷新

This commit is contained in:
THK3121 2023-05-31 17:29:55 +08:00
parent 196fcb9d5e
commit 8dc86cfa53
3 changed files with 9 additions and 5 deletions

View File

@ -651,6 +651,7 @@
"path": "index",
"style": {
"navigationStyle": "custom",
"enablePullDownRefresh": true,
"navigationBarTitleText": "店铺diy首页"
// #ifdef MP
,
@ -672,6 +673,7 @@
{
"path": "detail/index",
"style": {
"enablePullDownRefresh": true,
"navigationBarTitleText": "店铺详情"
}
},

View File

@ -1193,10 +1193,12 @@
}
},
onPullDownRefresh() {
console.log('123');
//
setTimeout(() => {
const newList = this.goods.reverse();
this.goods = newList;
this.getProductSpu()
// uni.startPullDownRefresh();
uni.stopPullDownRefresh();
}, 500)

View File

@ -102,12 +102,12 @@
</view>
</view>
</view>
<view class="item">
<!-- <view class="item">
<view class="acea-row row-middle">
<text class="item-name">是否农贸市场</text>
<u-switch v-model="isnm" @change="change" activeColor="#42CA4C"></u-switch>
</view>
</view>
</view> -->
<view class="item no-border">
<view class='acea-row row-middle'>
<text class="item-title">请上传营业执照及行业相关资质证明图片</text>
@ -302,9 +302,9 @@
onReady() {},
methods: {
//
change(e) {
this.isnum = (e === true ? 1 : 0)
},
// change(e) {
// this.isnum = (e === true ? 1 : 0)
// },
//
getVillage(e) {
const self = this;