Browse Source

显示价格

zhaoxiaohai 2 years ago
parent
commit
960f837383
1 changed files with 1 additions and 1 deletions
  1. 1 1
      select/product/index.wxml

+ 1 - 1
select/product/index.wxml

@@ -24,7 +24,7 @@
                     领域:{{item.tradefields}}
                 </view>
                 <view class="price line-1">
-                    价格:<text class="num">¥{{item.gradeprice || item.price}}元</text><text wx:if="{{item.gradeprice<item.oldprice ||item.price<item.oldprice}}" style="text-decoration:line-through; color:#999;">/{{item.oldprice}}</text>
+                    价格:<text class="num">¥{{item.marketprice}}元</text><text wx:if="{{item.marketprice<item.oldprice}}" style="text-decoration:line-through; color:#999;">/{{item.oldprice}}</text>
                 </view>
             </view>
         </view>