商品刷新
This commit is contained in:
parent
196fcb9d5e
commit
8dc86cfa53
@ -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": "店铺详情"
|
||||
}
|
||||
},
|
||||
|
@ -1193,10 +1193,12 @@
|
||||
}
|
||||
},
|
||||
onPullDownRefresh() {
|
||||
console.log('123');
|
||||
// 模拟上拉刷新
|
||||
setTimeout(() => {
|
||||
const newList = this.goods.reverse();
|
||||
this.goods = newList;
|
||||
this.getProductSpu()
|
||||
// uni.startPullDownRefresh();
|
||||
uni.stopPullDownRefresh();
|
||||
}, 500)
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user