existProduct-list.wxml 1.2 KB

123456789101112131415161718192021222324
  1. <!--components/existProduct-list/existProduct-list.wxml-->
  2. <view class="prodsList">
  3. <view class="itemProd" wx:for="{{cartList}}" wx:key="id">
  4. <view class="goods-info">
  5. <image src="{{item.prodPicList[0].picUrl}}" mode="aspectFill"></image>
  6. <view class="info">
  7. <text>{{item.prodName}}</text>
  8. <text>{{item.prodAttrName || item.attrName}}</text>
  9. <text>¥{{item.price}}</text>
  10. </view>
  11. <view class="count">
  12. <text class="num">x{{item.quantity}}</text>
  13. </view>
  14. </view>
  15. <!-- 物流单号 -->
  16. <view class="logisticsNo" wx:if="{{item.orderDetailExprs.length > 0}}">
  17. <text>物流单号</text>
  18. <view>
  19. <text>{{item.orderDetailExprs[0].expressNo}}</text>
  20. <text data-no="{{item.orderDetailExprs[0].expressNo}}" catchtap="copy"> / 复制</text>
  21. </view>
  22. </view>
  23. </view>
  24. </view>