Commit 8a6b2ec47d178b56efb303c2d2382855311fcebf

Authored by yvan.ni
1 parent 173c95ad

普通商品详情的价格

pages/goods/goodsInfo/goodsInfo.wxml
@@ -295,6 +295,8 @@ @@ -295,6 +295,8 @@
295 <!-- 不是拼团,不是积分购 --> 295 <!-- 不是拼团,不是积分购 -->
296 <block wx:if="{{prom_type!=6 && prom_type!=4}}"> 296 <block wx:if="{{prom_type!=6 && prom_type!=4}}">
297 297
  298 +
  299 +
298 <view class="goods-price"> 300 <view class="goods-price">
299 301
300 <view class="flex jc_sb ai_c"> 302 <view class="flex jc_sb ai_c">
@@ -308,16 +310,16 @@ @@ -308,16 +310,16 @@
308 </view> 310 </view>
309 <text class="rel yuan">¥</text> 311 <text class="rel yuan">¥</text>
310 {{filters.toFix(data[card_field],2)}} 312 {{filters.toFix(data[card_field],2)}}
  313 + </block>
311 314
312 - <view wx:if="{{is_retail_price}}" class='yj' style="top:35rpx">  
313 - <text>零售价:¥{{filters.toFix(data.market_price,2)}}</text>  
314 - </view>  
315 -<!-- <view wx:else class='yj' style="top:35rpx">-->  
316 -<!-- <text>¥{{filters.toFix(data.shop_price,2)}}</text>-->  
317 -<!-- </view>-->  
318 - 315 + <block wx:else >
  316 + <text class="rel yuan">¥</text>{{filters.toFix(data.shop_price,2)}}
319 </block> 317 </block>
320 318
  319 + <view wx:if="{{is_retail_price}}" class='yj' style="margin-left:10rpx">
  320 + <text>零售价:¥{{filters.toFix(data.market_price,2)}}</text>
  321 + </view>
  322 +
321 </view> 323 </view>
322 </view> 324 </view>
323 <!-- 这个是分享按钮 --> 325 <!-- 这个是分享按钮 -->