orders.wxml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <!--pages/orders/orders.wxml-->
  2. <view class="container">
  3. <navigation-bar title="我的订单"></navigation-bar>
  4. <view class="record-content">
  5. <view class="record-tab">
  6. <view wx:for="{{tabList}}" wx:key="item.id" class="{{item.id == tabIdx ? 'active' : ''}}" catch:tap="switchTab" data-idx="{{item.id}}">
  7. {{item.label}}
  8. </view>
  9. </view>
  10. <scroll-view class="record-list" type="list" scroll-y bindscrolltolower="loadMore">
  11. <block wx:if="{{ tabList.length }}">
  12. <view class="list-item-group">
  13. <view class="list-item" wx:for="{{tabList}}" wx:key="{{index}}">
  14. <view class="item-top">
  15. <view class="item-mid">订单号:1209289883774834</view>
  16. <text class="red">等待付款</text>
  17. </view>
  18. <view class="item-content">
  19. <image class='goods-icon' src="https://oss.dayaedu.com/ktyq/1731664204915.png" mode="" />
  20. <view class="goods-desc">
  21. <view class="goodsInfo">
  22. <view class="goods-name">音乐数字课堂AI学练工堂AI学练工音乐数字课堂AI学练工堂AI学练工</view>
  23. <view class="goods-price">¥ 600.00</view>
  24. </view>
  25. <view class="goods-type">
  26. <view class="goods-card">一年卡</view>
  27. <view class="goods-num">x1</view>
  28. </view>
  29. </view>
  30. </view>
  31. <view class="item-footer">
  32. <view class="order-price">
  33. 订单金额:<text class="price">¥ 600.00</text>
  34. </view>
  35. <button class="sure" type="primary">继续支付</button>
  36. </view>
  37. </view>
  38. </view>
  39. </block>
  40. <block wx:else>
  41. <view class="empty-box">
  42. <image src="https://oss.dayaedu.com/ktyq/1731839238916.png"></image>
  43. <view class="empty-text">暂无订单</view>
  44. </view>
  45. </block>
  46. </scroll-view>
  47. </view>
  48. </view>