星油云站更新

This commit is contained in:
caoliancun
2022-03-02 16:22:09 +08:00
parent d5eea27607
commit bb229d2eb3
71 changed files with 6188 additions and 904 deletions

View File

@@ -7,7 +7,7 @@
{{item.price|numberFliter}}
</view>
<view class="text-sm padding-sm">
<view class="text-sm padding-top-sm">
{{item.name}}
</view>
</view>

View File

@@ -1,8 +1,8 @@
<template>
<view class="radius padding-xs padding-top solid-top solid-bottom" >
<view class="item-title ">
<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>
<!-- <text class="margin color-000 text-xl text-bold">{{oilItem.otherOilsName}}</text>
<text class="fr padding-right text-sm text-grey">市场价{{ oilItem.otherPrice|numberFliter}}</text> -->
<PriceList :price="price" />
</view>
</view>
@@ -40,18 +40,18 @@
},
methods: {
calcPrice() {
if (this.oilItem.xkPrice) {
if (this.oilItem.sitePrice) {
this.price.push({
price: this.oilItem.xkPrice,
price: this.oilItem.sitePrice,
color: 'red',
name: '星油油价',
className1: 'red',
className2: 'btn-red',
})
}
if (this.oilItem.xkCompanyPrice) {
if (this.oilItem.enterprisePrice) {
this.price.push({
price: this.oilItem.xkCompanyPrice,
price: this.oilItem.enterprisePrice,
color: 'red',
name: '企业油价',
className1: 'red',
@@ -77,11 +77,29 @@
className2: 'btn-laolv',
})
}
if (this.oilItem.standardPrice) {
// if (this.oilItem.otherPrice) {
// this.price.push({
// price: this.oilItem.otherPrice,
// color: 'black',
// name: '市场价',
// className1: 'laolv',
// className2: 'btn-laolv',
// })
// }
if (this.oilItem.marketPrice) {
this.price.push({
price: this.oilItem.standardPrice,
color: 'black',
name: '市场价',
price: this.oilItem.marketPrice,
color: '#ff5200',
name: '发改委价',
className1: 'laolv',
className2: 'btn-laolv',
})
}
if (this.oilItem.sitePrice) {
this.price.push({
price: this.oilItem.sitePrice,
color: '#ff5200',
name: '油机价',
className1: 'laolv',
className2: 'btn-laolv',
})

View File

@@ -2,15 +2,24 @@
<!-- 客服热线 -->
<view class="">
<view class="round text-center">
<!-- <view class="round text-center">
<button class="cu-btn round bg-main-oil" open-type='contact'>
<text class="cuIcon-servicefill padding-right-xs"></text>
联系在线客服</button>
</view> -->
<view class="round text-center">
<!-- <button class="cu-btn oil-main-btn-color" open-type="contact" @contact="onContact"> -->
<!-- <text class="text-grey text-sm">打开会话</text> -->
<!-- </button> -->
<view class="cu-btn round bg-main-oil" @click="callHotline">
<text class="cuIcon-servicefill padding-right-xs"></text>
联系客服
</view>
</view>
<view class="color-999 text-center padding" @tap="callHotline">
全国统一客服/投诉热线
<text class="text-red">
4008-56-5166
4008-56-5355
</text>
</view>
</view>
@@ -26,7 +35,7 @@
methods: {
callHotline() {
uni.makePhoneCall({
phoneNumber: '4008-56-5166'
phoneNumber: '4008-56-5355'
})
}
},