list.wxml 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. <!--pages/list/list.wxml-->
  2. <view class='container'>
  3. <view class='nothing' wx:if="{{array.length<=0}}">
  4. 该分类暂无宝贝
  5. </view>
  6. <block wx:for="{{array}}" wx:key="index">
  7. <navigator class='public' url='../details/details?kid={{item.kid}}&title={{item.item_name}}'>
  8. <view class='top'>
  9. <view class='img'>
  10. <image src='{{prodUrl}}web-cp-all/img_pm/img/{{item.bid_file_id}}'></image>
  11. </view>
  12. <view class='count'>
  13. <view class='title'>
  14. {{item.item_name}}
  15. </view>
  16. <view class='price'>
  17. <text class='bf'>¥{{item.price_bidder}}</text>
  18. <text class='offer'>
  19. <text>{{item.offer_count}}</text>
  20. <text>次出价</text>
  21. </text>
  22. </view>
  23. <view class='prices'>
  24. <text wx:if="{{item.bid_opening === '已开拍'}}" class='fontred'>{{item.bid_opening}}</text>
  25. <text wx:elif="{{item.bid_opening === '未开拍'}}" class='fontgreen'>{{item.bid_opening}}</text>
  26. <text wx:else="{{item.bid_opening === '已结束'}}" class='fontgray'>{{item.bid_opening}}</text>
  27. </view>
  28. </view>
  29. </view>
  30. </navigator>
  31. </block>
  32. </view>