Commit 91362e84 by 杨北旺

修复bug

1 parent d0de159c
......@@ -147,7 +147,7 @@
<view class="sprite-icon icon-mine-arrow"></view>
</view>
</block>
<view class="item address" bindtap="jump" data-url="/packageShopmall/packageMine/pages/address/index/index" data-is-choose-address wx:if="{{goodsInfo.deliveryType != 1}}">
<view class="item address" bindtap="jump" data-url="/packageMine/pages/address/index/index" data-is-choose-address wx:if="{{goodsInfo.deliveryType != 1}}">
<view class="label">配送</view>
<view class="value text-hide">
<block wx:if="{{addressFlag}}">
......
......@@ -96,6 +96,7 @@
padding: 0 64rpx 20rpx;
box-sizing: border-box;
.get-coupon-btn{
width: 100%;
position: relative;
z-index: 5;
height: 80rpx;
......
......@@ -271,13 +271,14 @@ Component({
})
},
onShow() {
this.getBuyCarList()
// this.getBuyCarList()
this.init()
},
init() {
this.getCategoryList()
const B_userInfo = wx.p.storage.get('userInfo')
if (B_userInfo && B_userInfo.userType) return
this.getBuyCarList()
// const B_userInfo = wx.p.storage.get('userInfo')
// if (B_userInfo && B_userInfo.userType) return
// this.getBuyCarList()
this.getCarOwnerCouponList()
}
},
......
......@@ -19,7 +19,7 @@ Page({
})
this.getDiscoverInfo(newMerchantId, 6)
}
this.getComponentPage().onShow && this.getComponentPage().onShow()
},
getDiscoverInfo(merchantId, channel) {
......@@ -98,5 +98,8 @@ Page({
user_box_style: `padding-top:${height}px`,
});
},
getComponentPage() {
return this.selectComponent(`#currentChannel_6`)
},
})
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!