orders_index.wxml 1.1 KB

1234567891011121314151617181920212223242526
  1. <!--order_index.wxml-->
  2. <view class="main">
  3. <navigator url="../address/address">
  4. <view wx:if="{{hasAddress}}" class="orders-address">
  5. <text class="orders-address-name">收货人: {{address.name}}</text>
  6. <text class="orders-address-phone">电话: {{address.phone}}</text>
  7. <view class="orders-address-detail">{{address.detail}}</view>
  8. </view>
  9. <view wx:else class="orders-no-address">添加收货地址</view>
  10. </navigator>
  11. <view class="orders-box">
  12. <view wx:for="{{orders}}" wx:key="index" class="orders-list">
  13. <image class="orders-thumb" src="{{item.image}}"></image>
  14. <view class="orders-pro-name">{{item.title}}</view>
  15. <view class="orders-pro-price">¥{{item.price}}</view>
  16. <view class="orders-count-num">×{{item.num}}</view>
  17. </view>
  18. </view>
  19. <view class="orders-footer">
  20. <view class="orders-footer-total">付款合计:¥{{total}}</view>
  21. <view class="orders-footer-btn" bindtap="toPay">去付款</view>
  22. </view>
  23. </view>