商品刷新
This commit is contained in:
parent
196fcb9d5e
commit
8dc86cfa53
@ -651,6 +651,7 @@
|
|||||||
"path": "index",
|
"path": "index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationStyle": "custom",
|
"navigationStyle": "custom",
|
||||||
|
"enablePullDownRefresh": true,
|
||||||
"navigationBarTitleText": "店铺diy首页"
|
"navigationBarTitleText": "店铺diy首页"
|
||||||
// #ifdef MP
|
// #ifdef MP
|
||||||
,
|
,
|
||||||
@ -672,6 +673,7 @@
|
|||||||
{
|
{
|
||||||
"path": "detail/index",
|
"path": "detail/index",
|
||||||
"style": {
|
"style": {
|
||||||
|
"enablePullDownRefresh": true,
|
||||||
"navigationBarTitleText": "店铺详情"
|
"navigationBarTitleText": "店铺详情"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -1193,10 +1193,12 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onPullDownRefresh() {
|
onPullDownRefresh() {
|
||||||
|
console.log('123');
|
||||||
// 模拟上拉刷新
|
// 模拟上拉刷新
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
const newList = this.goods.reverse();
|
const newList = this.goods.reverse();
|
||||||
this.goods = newList;
|
this.goods = newList;
|
||||||
|
this.getProductSpu()
|
||||||
// uni.startPullDownRefresh();
|
// uni.startPullDownRefresh();
|
||||||
uni.stopPullDownRefresh();
|
uni.stopPullDownRefresh();
|
||||||
}, 500)
|
}, 500)
|
||||||
|
@ -102,12 +102,12 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="item">
|
<!-- <view class="item">
|
||||||
<view class="acea-row row-middle">
|
<view class="acea-row row-middle">
|
||||||
<text class="item-name">是否农贸市场</text>
|
<text class="item-name">是否农贸市场</text>
|
||||||
<u-switch v-model="isnm" @change="change" activeColor="#42CA4C"></u-switch>
|
<u-switch v-model="isnm" @change="change" activeColor="#42CA4C"></u-switch>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view> -->
|
||||||
<view class="item no-border">
|
<view class="item no-border">
|
||||||
<view class='acea-row row-middle'>
|
<view class='acea-row row-middle'>
|
||||||
<text class="item-title">请上传营业执照及行业相关资质证明图片</text>
|
<text class="item-title">请上传营业执照及行业相关资质证明图片</text>
|
||||||
@ -302,9 +302,9 @@
|
|||||||
onReady() {},
|
onReady() {},
|
||||||
methods: {
|
methods: {
|
||||||
//是否是农贸市场
|
//是否是农贸市场
|
||||||
change(e) {
|
// change(e) {
|
||||||
this.isnum = (e === true ? 1 : 0)
|
// this.isnum = (e === true ? 1 : 0)
|
||||||
},
|
// },
|
||||||
// 获取村
|
// 获取村
|
||||||
getVillage(e) {
|
getVillage(e) {
|
||||||
const self = this;
|
const self = this;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user