|
|
|
@ -322,6 +322,22 @@ |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
</view> |
|
|
|
|
<view class='payItem item acea-row row-between-wrapper' style="padding:0;" v-if="open_integral && userInfo.integral>0 && order_type == 0"> |
|
|
|
|
<view class="name" style="display: flex;align-items: center;width:auto;"> |
|
|
|
|
<view class='iconfont animated icon-icon-test'></view> |
|
|
|
|
福利积分支付 |
|
|
|
|
</view> |
|
|
|
|
<view class='money' style="margin-right: -4px;font-size: 26rpx;color: #aaa;"> |
|
|
|
|
<text v-if="!use_integral">当前积分<text class="pColor">{{userInfo.assets.welfare}}</text></text> |
|
|
|
|
<text v-else>使用了{{integral_count}}个积分,抵扣<text |
|
|
|
|
class="pColor">{{integral_price}}元</text></text> |
|
|
|
|
<checkbox-group class="checkbox integral_checked" name="isDefault" @change="changeIntegral"> |
|
|
|
|
<label> |
|
|
|
|
<checkbox style="transform:scale(0.7);border-radius: 50%;" :checked="use_integral ? true : false" /> |
|
|
|
|
</label> |
|
|
|
|
</checkbox-group> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<!-- #endif --> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
@ -339,7 +355,7 @@ |
|
|
|
|
<view>店铺优惠金额:</view> |
|
|
|
|
<view class='money'>-¥{{coupon_price}}</view> |
|
|
|
|
</view> |
|
|
|
|
<view class='item acea-row row-between-wrapper' v-if="open_integral && userInfo.integral>0 && order_type == 0"> |
|
|
|
|
<!-- <view class='item acea-row row-between-wrapper' v-if="open_integral && userInfo.integral>0 && order_type == 0"> |
|
|
|
|
<view>积分抵扣:</view> |
|
|
|
|
<view class='money'> |
|
|
|
|
<text v-if="!use_integral">当前积分<text class="pColor">{{userInfo.assets.welfare}}</text></text> |
|
|
|
@ -351,7 +367,7 @@ |
|
|
|
|
</label> |
|
|
|
|
</checkbox-group> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</view> --> |
|
|
|
|
<view class='item acea-row row-between-wrapper' |
|
|
|
|
v-if="!seckillId && order_type != 3 && order_type != 4 && enabledPlatformCoupon"> |
|
|
|
|
<view>平台优惠券<text @tap="showCoupon" class="iconfont icon-wenhao1"></text></view> |
|
|
|
@ -1512,10 +1528,12 @@ |
|
|
|
|
data.takes.push(el.mer_id) |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
if (data.payType == 'balance' && parseFloat(that.userInfo.now_money) < parseFloat(that.totalPrice)) |
|
|
|
|
// if (data.payType == 'balance' && parseFloat(that.userInfo.now_money) < parseFloat(that.totalPrice)) |
|
|
|
|
if (data.payType == 'balance' && parseFloat(that.userInfo.assets.welfare) < parseFloat(that.totalPrice)) |
|
|
|
|
return that.$util |
|
|
|
|
.Tips({ |
|
|
|
|
title: '余额不足!' |
|
|
|
|
// title: '余额不足!' |
|
|
|
|
title: '积分不足!' |
|
|
|
|
}); |
|
|
|
|
uni.showLoading({ |
|
|
|
|
title: '订单支付中', |
|
|
|
@ -2361,4 +2379,5 @@ |
|
|
|
|
height: 756rpx; |
|
|
|
|
overflow-y: scroll; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
</style> |
|
|
|
|