优化下单时,优惠券不用选择地址,2、优化个人中心积分商城左侧的点击跳转到对应地方

master
chen 2022-08-17 17:40:11 +08:00
parent 27f402a493
commit a860c8bb43
3 changed files with 4 additions and 4 deletions

View File

@ -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>

View File

@ -84,7 +84,7 @@
// //
this.getAddressDetail(); this.getAddressDetail();
} else { } else {
this.getDistrict(); // this.getDistrict();
} }
}, },
methods: { methods: {

View File

@ -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'),