|
|
@ -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> |
|
|
|