myorder.wxml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <!--导航条-->
  2. <view class="top">
  3. </view>
  4. <view class="navbar">
  5. <lable wx:for="{{navbar}}" data-idx="{{index}}" class="item {{currentTab==index ? 'active' : ''}}" wx:key="unique" bindtap="navbarTap">
  6. <text>{{item}}</text>
  7. </lable>
  8. </view>
  9. <!--全部-->
  10. <view hidden="{{currentTab!==0}}" class='total' style='background-color: #EBEBEB;'>
  11. <view wx:if="{{list.length>0}}">
  12. <!-- 外层 -->
  13. <view class='cont_count' wx:for="{{list}}" wx:key="key">
  14. <!-- 编号 -->
  15. <view class='seria'>
  16. <label class='seriac_name'>
  17. 32.59L
  18. <text>{{item.binahao}}</text>
  19. </label>
  20. <!-- 订单状态 -->
  21. <label class='seriac_start'>
  22. {{item.start}}</label>
  23. </view>
  24. </view>
  25. </view>
  26. <!-- 否则 -->
  27. <view wx:else>
  28. <!-- 外层 -->
  29. <view class='cont_count'>
  30. <label class='none_tab'>亲,您还暂未下单哦~~</label>
  31. </view>
  32. </view>
  33. </view>
  34. <!--代付款-->
  35. <view hidden="{{currentTab!==1}}">
  36. </view>
  37. <!-- 代发货 -->
  38. <view hidden="{{currentTab!==2}}">
  39. </view>
  40. <!-- 待收货 -->
  41. <view hidden="{{currentTab!==3}}">
  42. <!-- -->
  43. </view>
  44. <!-- 已完成 -->
  45. <view hidden="{{currentTab!==4}}">
  46. </view>