index.wxml 912 B

1234567891011121314151617181920
  1. <!--
  2. - Copyright (C) 2018-2019
  3. - All rights reserved, Designed By www.joolun.com
  4. - 注意:
  5. - 本软件为www.joolun.com开发研制,项目使用请保留此说明
  6. -->
  7. <view class="goods-container">
  8. <view class="goods-box" wx:for="{{goodsList}}" wx:key="index">
  9. <navigator hover-class='none' url='/pages/goods/goods-detail/index?id={{item.id}}'>
  10. <view class="text-black margin-top text-bold padding-lr overflow-1">{{item.name}}</view>
  11. <view class="img-box">
  12. <image src="{{item.picUrls[0] ? item.picUrls[0] : '/public/img/no_pic.png'}}" class="margin-top-xs"/>
  13. </view>
  14. <view class="text-center margin-top">
  15. <view class="cu-tag line-black round text-df text-price text-bold text-black">{{item.salesPrice}}</view>
  16. <view class="text-gray text-sm padding-lr-sm margin-top-sm">已售{{item.saleNum}}</view>
  17. </view>
  18. </navigator>
  19. </view>
  20. </view>