|
|
@ -71,7 +71,21 @@ |
|
|
|
style="border-left: 1px solid #f2f2f2;line-height: 40px;"> |
|
|
|
style="border-left: 1px solid #f2f2f2;line-height: 40px;"> |
|
|
|
约{{litre}}L |
|
|
|
约{{litre}}L |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="line10 mart15"></view> |
|
|
|
|
|
|
|
<view class="width90 height40 mart10"> |
|
|
|
|
|
|
|
<view class="flleft width50 font15 fcor666">加油升数:<text class="fcoreb5 margle"> {{litre}}L</text></view> |
|
|
|
|
|
|
|
<view class="flright width50 font15 fcor666">平台折扣:<text class="fcoreb5 margle"> 0.95折</text></view> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="width90 height40"> |
|
|
|
|
|
|
|
<view class="flleft width50 font15 fcor666">平台优惠:<text class="fcoreb5 margle"> 11.7</text></view> |
|
|
|
|
|
|
|
<view class="flright width50 font15 fcor666">加油补贴:<text class="fcoreb5 margle"> ¥0.44</text></view> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="width90 height40"> |
|
|
|
|
|
|
|
<view class="flleft width50 font15 fcor666">每升优惠:<text class="fcoreb5 margle"> 11.7</text></view> |
|
|
|
|
|
|
|
<view class="flright width50 font15 fcor666">本次优惠:<text class="fcoreb5 margle"> ¥0.95</text></view> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="line10 mart15"></view> |
|
|
|
<!-- <view class="list width90"> |
|
|
|
<!-- <view class="list width90"> |
|
|
|
<view class="box" v-for="(amount,index) in amountList" :key="index" @click="select(amount)" |
|
|
|
<view class="box" v-for="(amount,index) in amountList" :key="index" @click="select(amount)" |
|
|
|
:class="{'on':amount.price == inputMoney}"> |
|
|
|
:class="{'on':amount.price == inputMoney}"> |
|
|
@ -290,12 +304,27 @@ |
|
|
|
this.priceGun = item.priceGun; |
|
|
|
this.priceGun = item.priceGun; |
|
|
|
this.totalPrice = '0.00'; |
|
|
|
this.totalPrice = '0.00'; |
|
|
|
this.discountPrice = '0.00'; |
|
|
|
this.discountPrice = '0.00'; |
|
|
|
this.inputMoney = ''; |
|
|
|
this.inputMoney = ''; |
|
|
|
|
|
|
|
this.oilLiters = '0'; |
|
|
|
|
|
|
|
this.discount = '0'; |
|
|
|
|
|
|
|
this.oilSubsidy = '0'; |
|
|
|
|
|
|
|
this.litersPreferences = '0'; |
|
|
|
|
|
|
|
this.pricePreferences = '0'; |
|
|
|
|
|
|
|
this.totalPreferences = '0'; |
|
|
|
this.$refs.popup.hide(); |
|
|
|
this.$refs.popup.hide(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
//选择油枪 |
|
|
|
//选择油枪 |
|
|
|
changeValue2(item) { |
|
|
|
changeValue2(item) { |
|
|
|
this.gunNo = item.gunNo; |
|
|
|
this.gunNo = item.gunNo; |
|
|
|
|
|
|
|
this.totalPrice = '0.00'; |
|
|
|
|
|
|
|
this.discountPrice = '0.00'; |
|
|
|
|
|
|
|
this.inputMoney = ''; |
|
|
|
|
|
|
|
this.oilLiters = '0'; |
|
|
|
|
|
|
|
this.discount = '0'; |
|
|
|
|
|
|
|
this.oilSubsidy = '0'; |
|
|
|
|
|
|
|
this.litersPreferences = '0'; |
|
|
|
|
|
|
|
this.pricePreferences = '0'; |
|
|
|
|
|
|
|
this.totalPreferences = '0'; |
|
|
|
this.$refs.popup.hide(); |
|
|
|
this.$refs.popup.hide(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
// select(amount) { |
|
|
|
// select(amount) { |
|
|
|