订单信息

This commit is contained in:
cun-nan 2023-12-09 15:31:46 +08:00
parent 841b823692
commit 5e2969c04f

View File

@ -59,7 +59,7 @@
<view class="inputkuang" @click="show = true">
<view class="sbox"></view>
<view class="sbox" style="text-align: center;font-weight: bold;">{{value}}</view>
<view class="sbox-hui">{{value}}L</view>
<view class="sbox-hui">{{liters}}L</view>
</view>
<view class="wrap-box">
<view class="box-oil1" :class=" {'xz' :aindex == index }" @click="getAIndex(index,item)"
@ -112,6 +112,7 @@
data() {
return {
value: '',
liters:"",
show: false,
pic: 0,
hindex: 0,
@ -344,7 +345,8 @@
},
valChange(val) {
// value+=
this.value += val;
this.value += val;
this.liters = (this.value/this.oilPrice).toFixed(2)
console.log(this.value);
},
// 退