myAppointment.wxml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <!--pages/myAppointment/myAppointment.wxml-->
  2. <view class="myappoint-content">
  3. <view class="nav-header ittflex">
  4. <view class="nav-item nav-all ittflex {{navItemActive == '0' ? 'nav-item-active' : ''}}" bindtap="handleChangeNav" data-index="0">全部</view>
  5. <view class="nav-item nav-wait ittflex {{navItemActive == '1' ? 'nav-item-active' : ''}}" bindtap="handleChangeNav" data-index="1">待服务</view>
  6. <view class="nav-item nav-done ittflex {{navItemActive == '2' ? 'nav-item-active' : ''}}" bindtap="handleChangeNav" data-index="2">已完成</view>
  7. </view>
  8. <block wx:if="{{dataList.length == 0}}">
  9. <view class="nodate" >
  10. <van-empty description="暂无数据" />
  11. </view>
  12. </block>
  13. <block wx:else>
  14. <view wx:for="{{dataList}}" wx:key="index" class="data-item">
  15. <view class="top date ittflex-jcb">
  16. <text class="top-date">2022-09-20 13:00-18:00</text>
  17. <!-- <text class="status s-wait">待服务</text>
  18. <text class="status s-done">已完成</text> -->
  19. <text class="status s-cancel">已取消</text>
  20. </view>
  21. <view class="center info">
  22. <view class="username info-item">
  23. <text>预约账号:</text>
  24. <text>范一岚</text>
  25. </view>
  26. <view class="username-w info-item">
  27. <text>待检测账号:</text>
  28. <text>范一岚</text>
  29. </view>
  30. <view class="order-time info-item">
  31. <text>下单时间:</text>
  32. <text>2022-09-09 22:57</text>
  33. </view>
  34. </view>
  35. <view class="bototm actions">
  36. <view class="cancel-button ittflex">取消</view>
  37. </view>
  38. </view>
  39. </block>
  40. </view>