index.wxml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <view style='background-color:#fff;margin-top:20rpx;'>
  2. <view class='content'>
  3. <view class='content-title'>预约信息</view>
  4. <view style='height:20rpx;'></view>
  5. <view class='content-text'>
  6. <view class='content-text-title'>预约号</view>
  7. <view class='content-number'>{{item.reservationNumber}}</view>
  8. </view>
  9. <view class='content-text'>
  10. <view class='content-text-title'>预约窗口</view>
  11. <view class='content-number'>{{item.deptName}}</view>
  12. </view>
  13. <view class='content-text'>
  14. <view class='content-text-title'>预约事项</view>
  15. <view class='content-number'>{{item.serviceName}}</view>
  16. </view>
  17. <view class='content-text'>
  18. <view class='content-text-title'>预约日期</view>
  19. <view class='content-number'>{{item.reservationDate}} {{item.reservationInterval=='AM'?'上午':'下午'}}</view>
  20. </view>
  21. <view class='content-text'>
  22. <view class='content-text-title'>预约人姓名</view>
  23. <view class='content-number'>{{item.applicantName}}</view>
  24. </view>
  25. <view class='content-text'>
  26. <view class='content-text-title'>预约人手机</view>
  27. <view class='content-number'>{{item.applicantPhone}}</view>
  28. </view>
  29. <view class='content-text'>
  30. <view class='content-text-title'>证件类型</view>
  31. <view class='content-number'>{{item.applicantIdType}}</view>
  32. </view>
  33. <view class='content-text'>
  34. <view class='content-text-title'>证件号码</view>
  35. <view class='content-number'>{{item.applicantIdCard}}</view>
  36. </view>
  37. <view class='content-text'>
  38. <view class='content-text-title'>预约状态</view>
  39. <view wx:if='{{item.reservationState==1||item.reservationState==5}}' class='content-number' style="color: #33ad37;">已预约</view>
  40. <view wx:elif='{{item.reservationState==2}}' class='content-number' style="color: #28a5f9;">已取消</view>
  41. <view wx:elif='{{item.reservationState==3}}' class='content-number' style="color: #ff7878;">已失约</view>
  42. <view wx:elif='{{item.reservationState==4}}' class='content-number' style="color: ##f69930;">已完成</view>
  43. </view>
  44. </view>
  45. </view>
  46. <view style='background-color:#fff;margin-top:20rpx;'>
  47. <view class='content'>
  48. <view class='content-title'>预约信息</view>
  49. <view style='height:20rpx;'></view>
  50. <view class='content-text ps'>
  51. 1.预约成功,如果临时有事无法办理,请取消预约。
  52. </view>
  53. <view class='content-text ps'>
  54. 2.预约成功,过号未办理,超过2次,将会被取消预约权限。
  55. </view>
  56. <view class='content-text ps'>
  57. 3.预约取消请提前6小时。
  58. </view>
  59. </view>
  60. </view>
  61. <view class='submit'>
  62. <button wx:if='{{item.reservationState==1}}' catchtap='cancelReservation' disabled="{{!item.canCancel}}" data-id="{{id}}" class="button">取消预约</button>
  63. <button catchtap='navigateBack' class="button back">返回上级</button>
  64. </view>