|
@@ -13,14 +13,14 @@
|
|
|
<view class="product-info-til">{{product.name}}</view>
|
|
|
<view class="product-info-brand">{{product.brandName}}<!-- <text class="postage">包邮</text> --></view>
|
|
|
<view class="product-info-item">
|
|
|
- <text class="item">保质期:{{product.qualityGuaranteePeriod}}</text>
|
|
|
+ <text class="item">保质期:{{product.qualityGuaranteePeriod||"参考包装"}}</text>
|
|
|
<text class="item">生产日期:{{createTime}}</text>
|
|
|
- <text class="item">包装:{{product.unit}}</text>
|
|
|
+ <text class="item" v-if="product.unit">包装:{{product.unit}}</text>
|
|
|
</view>
|
|
|
<view class="product-info-price">
|
|
|
- <text class="rmb">¥</text>
|
|
|
- <text class="price">{{product.price}}</text>
|
|
|
- <text class="unit" v-if="product.unit">/{{product.unit}}</text>
|
|
|
+ <text class="rmb" v-if="product.price">¥</text>
|
|
|
+ <text class="price" :class="!product.price?'noprice':''">{{product.price||"暂无价格"}}</text>
|
|
|
+ <text class="unit" v-if="product.price&&product.unit">/{{product.unit}}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 产品基本信息结束 -->
|