Commit c3cbd5ef7369d411bb118f80ff25a142f9e3e7ab

Authored by yvan.ni
1 parent 8a6b2ec4

团购活动要显示零售价

pages/goods/goodsInfo/goodsInfo.wxml
... ... @@ -98,7 +98,10 @@
98 98 <view class="prom_show rel" wx:if="{{prom_type==2}}">
99 99  
100 100 <view class="abs flex" style="align-items:flex-end;color: #fff; margin-top: 34rpx; margin-left: 10rpx; height: 60rpx">¥{{prom_price}}
101   - <view class="word-line fs24" style="position: relative;top: -6rpx">¥{{filters.toFix(data.shop_price,2)}}</view></view>
  101 +
  102 + <view wx:if="{{is_retail_price}}" class="word-line fs24" style="position: relative;top: -6rpx">零售价:¥{{filters.toFix(data.market_price,2)}}</view>
  103 + <view wx:else class="word-line fs24" style="position: relative;top: -6rpx">¥{{filters.toFix(data.shop_price,2)}}</view>
  104 + </view>
102 105  
103 106 <image class="abs" style="width: 120rpx;top: 32rpx; right: 220rpx;" mode="widthFix" src='{{iurl+"/miniapp/images/activity-time.png"}}'></image>
104 107  
... ...