order.wxml 1.3 KB

123456789101112131415161718192021222324
  1. <view class='order-box c-333' wx:if="{{orderList.length !== 0}}">
  2. <view class='order-list bg-white mar-b20' wx:for="{{orderList}}">
  3. <view class='mar-r20 mar-l20'>
  4. <text class='f-s30'>{{item.orderCustomGoodsList[0].customGoodsName}}</text>
  5. <view class='f-box f-align-items-center f-s28 mar-t20 mar-b20'>
  6. <text class='f-item f-s30 c-green'>¥{{item.customGoodsPriceSum}}</text>
  7. <view> × {{item.orderCustomGoodsList[0].customGoodsNum}}</view>
  8. </view>
  9. </view>
  10. <!-- 图片list -->
  11. <view class='f-box goods-img-list'>
  12. <image wx:for="{{item.imgArray}}" wx:for-item="imageItem" wx:if="imageItem !='null'" src='{{host}}{{imageItem}}' mode="aspectFit"></image>
  13. </view>
  14. <!-- 操作按钮 -->
  15. <view class='f-box f-justify-content-end pad-t20 pad-b20 f-s30'>
  16. <view class='order-btn bg-green' wx:if="{{item.orderStatus === '0'}}" data-item="{{item}}" bindtap='orderPay'>立即付款</view>
  17. <!-- <view class='order-btn bg-green' wx:if="{{item.orderStatus === '3'}}">查看物流</view> -->
  18. <!-- <view class='order-btn bg-orange' wx:if="{{item.orderStatus === '3'}}">确认收货</view> -->
  19. </view>
  20. </view>
  21. </view>
  22. <divider wx:if="{{!requestState}}"></divider>
  23. <data-none wx:if="{{orderList.length === 0}}"></data-none>