|
|
@ -87,18 +87,19 @@ |
|
|
|
|
|
|
|
|
|
|
|
<view class="width94 comorder mart10"> |
|
|
|
<view class="width94 comorder mart10"> |
|
|
|
|
|
|
|
|
|
|
|
<view class="width92 alijusstart paddtop20"> |
|
|
|
<view class="width92 alijusstart paddtop20" @touchmove.stop> |
|
|
|
<view class="width30 fcor333 fontwig6 font16"> |
|
|
|
<view class=" fcor333 fontwig6 font16" style="flex-shrink: 0;padding-right: 10px;"> |
|
|
|
积分抵扣 |
|
|
|
积分抵扣 |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="cj-slider"> |
|
|
|
<view class="cj-slider"> |
|
|
|
<view class="flleft fotct font14 fcor666" style="width: 15%;">0</view> |
|
|
|
<view class="flleft fotct font14 fcor666" style="flex-shrink: 0;padding: 0 15px 0 0;">0</view> |
|
|
|
<cj-slider style="width: 60%; float:left;" v-if="isDiscount" v-model="priceValue" :min="0" |
|
|
|
<cj-slider class="flex-1" v-if="isDiscount" v-model="priceValue" :min="0" |
|
|
|
:max="availIntegal" :step="1" :blockWidth="40" @start="blockStart" @moving="blockMoving" |
|
|
|
:max="availIntegal" :step="1" :blockWidth="40" @start="blockStart" @moving="blockMoving" |
|
|
|
@end="blockEnd" /> |
|
|
|
@end="blockEnd" /> |
|
|
|
<view class="flright fotrt font14 fcor666" style="width: 25%;">{{availIntegal}}</view> |
|
|
|
<view class="flright fotrt font14 fcor666" style="flex-shrink: 0;padding-left: 15px;">{{availIntegal}}/{{user.gold || 0}}</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="width94 line1 mart15 marb5"></view> |
|
|
|
<view class="width94 line1 mart15 marb5"></view> |
|
|
|
<view class="height50 width100 backcorfff"> |
|
|
|
<view class="height50 width100 backcorfff"> |
|
|
|
<view class="width70 flleft fcor333 fontwig6 font16 text1" style="padding-left: 4%;"> |
|
|
|
<view class="width70 flleft fcor333 fontwig6 font16 text1" style="padding-left: 4%;"> |
|
|
@ -330,7 +331,7 @@ |
|
|
|
priceValue: [0, 0], // 积分可以指定默认值 |
|
|
|
priceValue: [0, 0], // 积分可以指定默认值 |
|
|
|
changePrice: '', //滑动值 |
|
|
|
changePrice: '', //滑动值 |
|
|
|
isDiscount: true, |
|
|
|
isDiscount: true, |
|
|
|
availIntegal: '', // 可用积分 |
|
|
|
availIntegal: 0, // 可用积分 |
|
|
|
isUse: true, // 是否禁用状态 |
|
|
|
isUse: true, // 是否禁用状态 |
|
|
|
rechargeDes: '', // 支付详情 |
|
|
|
rechargeDes: '', // 支付详情 |
|
|
|
rebateIntegral: '', //返回积分 |
|
|
|
rebateIntegral: '', //返回积分 |
|
|
@ -470,6 +471,7 @@ |
|
|
|
this.oilPirce = res.return_data.oilCard.amount; |
|
|
|
this.oilPirce = res.return_data.oilCard.amount; |
|
|
|
} |
|
|
|
} |
|
|
|
this.getUserNormalDiscountList(); |
|
|
|
this.getUserNormalDiscountList(); |
|
|
|
|
|
|
|
this.getThirdPartyByDetail(); |
|
|
|
uni.setStorage({ |
|
|
|
uni.setStorage({ |
|
|
|
key: "user", |
|
|
|
key: "user", |
|
|
|
data: res.return_data |
|
|
|
data: res.return_data |
|
|
@ -544,7 +546,7 @@ |
|
|
|
this.saveprice = res.return_data.discountPrice; |
|
|
|
this.saveprice = res.return_data.discountPrice; |
|
|
|
this.orderPrice = res.return_data.salesPrice; |
|
|
|
this.orderPrice = res.return_data.salesPrice; |
|
|
|
this.getRebateIntegral(); |
|
|
|
this.getRebateIntegral(); |
|
|
|
this.getThirdPartyByDetail(); |
|
|
|
// this.getThirdPartyByDetail(); |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
@ -1149,10 +1151,10 @@ |
|
|
|
.deductionPrice).toFixed(2); |
|
|
|
.deductionPrice).toFixed(2); |
|
|
|
} |
|
|
|
} |
|
|
|
if (this.paytheprice == 0) { |
|
|
|
if (this.paytheprice == 0) { |
|
|
|
if(this.paytype!=8){ |
|
|
|
// if(this.paytype!=8){ |
|
|
|
this.isUse = false; |
|
|
|
this.isUse = false; |
|
|
|
this.paytype = ''; |
|
|
|
this.paytype = ''; |
|
|
|
} |
|
|
|
// } |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
this.isUse = true; |
|
|
|
this.isUse = true; |
|
|
|
} |
|
|
|
} |
|
|
|