master
xiaozhiyong 9 months ago
parent e82f183b00
commit 1f9fa4c3be
  1. 4
      Product/pages/product.vue
  2. 2
      components/stationItem/stationItem.vue

@ -183,7 +183,7 @@
<view :class="{selected:item.id==form.siteId}" @click="selectSite(item)" <view :class="{selected:item.id==form.siteId}" @click="selectSite(item)"
v-for="item in productData.productSiteInfoList" class="site-list-item flex "> v-for="item in productData.productSiteInfoList" class="site-list-item flex ">
<view class="site-list-item-left"> <view class="site-list-item-left">
<image mode="widthFix" :src="item.siteImages"></image> <image mode="widthFix" :src="item.siteImages || 'https://publicxingyou.oss-cn-hangzhou.aliyuncs.com/mp-oil/logo_xoil.jpg'"></image>
</view> </view>
<view class="site-list-item-right"> <view class="site-list-item-right">
<view :class="{whiterColor:item.id==form.siteId}" class="name textov">{{item.siteName}} <view :class="{whiterColor:item.id==form.siteId}" class="name textov">{{item.siteName}}
@ -350,7 +350,7 @@
let data = this.findSpecifications(); let data = this.findSpecifications();
// console.log(data, ".site-list.site-list.site-list") // console.log(data, ".site-list.site-list.site-list")
if (data) { if (data) {
return Number(data.marketPrice || 0) return Number(data.integral || 0)
} else { } else {
return '0' return '0'
} }

@ -1,7 +1,7 @@
<template> <template>
<view class="site-list-item flex "> <view class="site-list-item flex ">
<view class="site-list-item-left"> <view class="site-list-item-left">
<image v-if="item.siteImages" mode="widthFix" :src="item.siteImages"></image> <image mode="widthFix" :src="item.siteImages || 'https://publicxingyou.oss-cn-hangzhou.aliyuncs.com/mp-oil/logo_xoil.jpg'"></image>
</view> </view>
<view class="site-list-item-right"> <view class="site-list-item-right">
<view class="name">{{item.siteName}}</view> <view class="name">{{item.siteName}}</view>

Loading…
Cancel
Save