改版油站信息与设计图一致
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<view class="radius padding-xs padding-bottom padding-top margin-top bg-white shadow solid-bottom">
|
||||
<view class="radius padding-xs padding-top solid-top solid-bottom" >
|
||||
<view class="item-title ">
|
||||
<text class="margin color-000 text-bold">{{oilItem.oilName}}</text>
|
||||
<text class="margin color-000 text-xl text-bold">{{oilItem.oilName}}</text>
|
||||
<text class="fr padding-right text-sm text-grey">市场价:¥{{ oilItem.standardPrice|numberFliter}}</text>
|
||||
<PriceList :price="price" />
|
||||
</view>
|
||||
@@ -44,11 +44,10 @@
|
||||
if (this.oilItem.xkPrice) {
|
||||
this.price.push({
|
||||
price: this.oilItem.xkPrice,
|
||||
color: '#ff0000',
|
||||
color: 'red',
|
||||
name: '星油油价',
|
||||
className1: 'red',
|
||||
className2: 'btn-red',
|
||||
free: this.oilItem.standardPrice - this.oilItem.xkPrice
|
||||
})
|
||||
}
|
||||
if (this.oilItem.wjyPrice) {
|
||||
@@ -58,7 +57,6 @@
|
||||
name: '万金油价',
|
||||
className1: 'yellow',
|
||||
className2: 'btn-yellow',
|
||||
free: this.oilItem.standardPrice - this.oilItem.wjyPrice
|
||||
})
|
||||
}
|
||||
if (this.oilItem.lvPrice) {
|
||||
@@ -68,7 +66,15 @@
|
||||
name: '老吕油价',
|
||||
className1: 'laolv',
|
||||
className2: 'btn-laolv',
|
||||
free: this.oilItem.standardPrice - this.oilItem.lvPrice
|
||||
})
|
||||
}
|
||||
if (this.oilItem.standardPrice) {
|
||||
this.price.push({
|
||||
price: this.oilItem.standardPrice,
|
||||
color: 'black',
|
||||
name: '市场价',
|
||||
className1: 'laolv',
|
||||
className2: 'btn-laolv',
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user