|
@@ -87,6 +87,8 @@ Page({
|
|
|
isIphoneX:_self.isIphone()
|
|
|
})
|
|
|
this.getBannerList()
|
|
|
+ // 获取优惠券列表
|
|
|
+ this.getCouponList()
|
|
|
if(getMobileCache() != ''){
|
|
|
Integralinfo.getBalance({
|
|
|
mobile: getMobileCache(),
|
|
@@ -105,15 +107,11 @@ Page({
|
|
|
mobile: getMobileCache(),
|
|
|
integralNum: arr.data,
|
|
|
})
|
|
|
- // 获取优惠券列表
|
|
|
- this.getCouponList()
|
|
|
+
|
|
|
}
|
|
|
}).catch(error=>{
|
|
|
console.log(error);
|
|
|
})
|
|
|
- } else {
|
|
|
- // 获取优惠券列表
|
|
|
- this.getCouponList()
|
|
|
}
|
|
|
},
|
|
|
|