order.wxml 1.2 KB

1234567891011121314151617181920212223242526
  1. <view class="container">
  2. <view class="orders">
  3. <navigator url="../orderDetail/orderDetail?id={{item.id}}" class="order" wx:for="{{orderList}}" wx:key="{{item.id}}">
  4. <view class="h">
  5. <view class="l">订单编号:{{item.order_sn}}</view>
  6. <view class="r">{{item.order_status_text}}</view>
  7. </view>
  8. <view class="goods" wx:for="{{item.goodsList}}" wx:key="{{gitem.id}}" wx:for-item="gitem">
  9. <view class="img">
  10. <image src="{{gitem.list_pic_url}}"></image>
  11. </view>
  12. <view class="info">
  13. <text class="name">{{gitem.goods_name}}</text>
  14. <text class="number">共{{gitem.number}}件商品</text>
  15. </view>
  16. <view class="status"></view>
  17. </view>
  18. <view class="b">
  19. <view class="l">实付:¥{{item.actual_price}}</view>
  20. <view class="r">
  21. <button class="btn" data-order-index="{{index}}" catchtap="payOrder" wx:if="{{item.handleOption.pay}}">去付款</button>
  22. </view>
  23. </view>
  24. </navigator>
  25. </view>
  26. </view>