production.wxml 1.0 KB

12345678910111213141516171819
  1. <view class='prod-items' bindtap='toProdPage' data-prodid="{{item.prodId}}">
  2. <view class='hot-imagecont'>
  3. <image src='{{item.pic}}' class='hotsaleimg' ></image>
  4. </view>
  5. <view class='hot-text'>
  6. <view class='hotprod-text'>{{item.prodName}}</view>
  7. <view class='prod-info' wx:if='{{sts==6}}'>{{item.prodCommNumber}}评价 {{item.positiveRating}}%好评</view>
  8. <view class='prod-text-info {{showCancelCollect?"collection-row":""}}'>
  9. <view class='price'>
  10. <text wx:if='{{sts==2}}' class='deadline-price'>限时价</text>
  11. <text class='symbol'>¥</text>
  12. <text class='big-num'>{{wxs.parsePrice(item.price)[0]}}</text>
  13. <text class='small-num'>.{{wxs.parsePrice(item.price)[1]}}</text>
  14. </view>
  15. <view class="collection-btn price small-num" wx:if="{{showCancelCollect}}" data-prodid="{{item.prodId}}" catchtap="handleCancelCollection"> 取消收藏 </view>
  16. </view>
  17. </view>
  18. </view>
  19. <wxs module="wxs" src="../../wxs/number.wxs" />