优化下单时,优惠券不用选择地址,2、优化个人中心积分商城左侧的点击跳转到对应地方
parent
27f402a493
commit
a860c8bb43
|
@ -16,11 +16,11 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="pad-zy30">
|
<view class="pad-zy30">
|
||||||
<view class="disjbac pad-sx30" style="background: linear-gradient(to bottom, #fefcfc 0%, #f8efed 100%);border-radius: 24rpx 24rpx 0 0;">
|
<view class="disjbac pad-sx30" style="background: linear-gradient(to bottom, #fefcfc 0%, #f8efed 100%);border-radius: 24rpx 24rpx 0 0;">
|
||||||
<view class="width33 disjcac fc">
|
<view class="width33 disjcac fc" @tap="$toolAll.tools.goPage('/pagesA/my-integral/my-integral')">
|
||||||
<view class="fon20" style="color: #3e3e3e;">我的积分</view>
|
<view class="fon20" style="color: #3e3e3e;">我的积分</view>
|
||||||
<view class="fon36 bold">{{userInfo.score}}</view>
|
<view class="fon36 bold">{{userInfo.score}}</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="width33 disjcac fc" style="border-left: 2rpx solid #f1e8e7;border-right: 2rpx solid #f1e8e7;">
|
<view class="width33 disjcac fc" @tap="$toolAll.tools.goPage('/pagesA/my-coupon/my-coupon')" style="border-left: 2rpx solid #f1e8e7;border-right: 2rpx solid #f1e8e7;">
|
||||||
<view class="fon20" style="color: #3e3e3e;">我的优惠券(张)</view>
|
<view class="fon20" style="color: #3e3e3e;">我的优惠券(张)</view>
|
||||||
<view class="fon36 bold">{{userInfo.coupon_count}}</view>
|
<view class="fon36 bold">{{userInfo.coupon_count}}</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
|
@ -84,7 +84,7 @@
|
||||||
// 调用查看地址详情
|
// 调用查看地址详情
|
||||||
this.getAddressDetail();
|
this.getAddressDetail();
|
||||||
} else {
|
} else {
|
||||||
this.getDistrict();
|
// this.getDistrict();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
@ -129,7 +129,7 @@
|
||||||
goPay(){
|
goPay(){
|
||||||
if(this.flag){
|
if(this.flag){
|
||||||
this.flag = false;
|
this.flag = false;
|
||||||
if(this.addressInfo){
|
if(this.addressInfo || this.orderInfo.list[0].spu_type=='coupon'){
|
||||||
this.$toolAll.tools.showToast('正在调起支付...');
|
this.$toolAll.tools.showToast('正在调起支付...');
|
||||||
let params = {
|
let params = {
|
||||||
sku_list:uni.getStorageSync('skuList'),
|
sku_list:uni.getStorageSync('skuList'),
|
||||||
|
|
Loading…
Reference in New Issue