ceshi
xiaozhiyong 8 months ago
parent cd13b2835b
commit a5be993aba
  1. 3
      packageQr/components/OrderOil.vue

@ -12,7 +12,7 @@
<view class="padding-bottom-sm"> <view class="padding-bottom-sm">
油号选择 油号选择
</view> </view>
<view class="grid col-5 justify-start"> <view style="display:flex">
<view class="padding-xs" v-for="(item,index) in oilList" :key="index"> <view class="padding-xs" v-for="(item,index) in oilList" :key="index">
<button class="cu-btn" @tap="oilNameSel(item)" :class="[selected.otherOilsName===item.otherOilsName?'bg-main-oil':'line-gray']">{{item.otherOilsName}}</button> <button class="cu-btn" @tap="oilNameSel(item)" :class="[selected.otherOilsName===item.otherOilsName?'bg-main-oil':'line-gray']">{{item.otherOilsName}}</button>
</view> </view>
@ -30,7 +30,6 @@
油枪选择 油枪选择
</view> </view>
<view class="grid col-5 justify-start"> <view class="grid col-5 justify-start">
<view class="padding-xs" v-for="(item,index) in ColorList" :key="index"> <view class="padding-xs" v-for="(item,index) in ColorList" :key="index">
<button @tap="gunIdSel(index)" class="cu-btn" :class="[gunId===index?'bg-main-oil':'line-gray']">{{index+1}}</button> <button @tap="gunIdSel(index)" class="cu-btn" :class="[gunId===index?'bg-main-oil':'line-gray']">{{index+1}}</button>
</view> </view>

Loading…
Cancel
Save