index.axml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <view class="booking-detail-container">
  2. <view class="booking-detail-head"></view>
  3. <view class="booking-detail-content">
  4. <!-- 预约成功 -->
  5. <title-layout>
  6. <view a:if="{{ result.status == '1'}}" class="detail-icon" slot="content">
  7. <am-icon type="check_" size="40" color="#22b35e" />
  8. <text class="text">已完成</text>
  9. <mas-qrcode code="{{result.qrCode}}" className="code" />
  10. </view>
  11. <view a:if="{{ result.status == '2'}}" class="detail-icon" slot="content">
  12. <text class="text">待就诊</text>
  13. </view>
  14. <view slot="content" class="detail-list">
  15. <view class="item">
  16. <text>就诊人</text>
  17. <view class="label">
  18. {{`${result.userName}${result.age ? ',' + result.age : ''}${result.sex ? ',' + result.sex : ''}`}}
  19. </view>
  20. </view>
  21. <view class="item">
  22. <text>就诊时间</text>
  23. <view class="label">{{result.timeRange || '-'}}</view>
  24. </view>
  25. <view class="item">
  26. <text>就诊医院</text>
  27. <view class="label">{{result.districtName || '-'}}</view>
  28. </view>
  29. <!-- <text>({{type}})</text> -->
  30. <view class="item">
  31. <text>检查费用</text>
  32. <view class="label">¥ {{result.amount || '-'}}</view>
  33. </view>
  34. </view>
  35. <view a:if="{{type === '未支付' || type === '待就诊'}}" slot="content" class="not-pay-attention">
  36. <am-icon a:if="{{ hospitalInfo && hospitalInfo.offLinePayNotice }}" type="warn_" size="20" color="#ff6010" />
  37. <text class="attention-text">{{hospitalInfo.offLinePayNotice}}</text>
  38. </view>
  39. </title-layout>
  40. <!-- 注意事项 -->
  41. <!-- <title-layout title="注意事项">
  42. <view slot="content">
  43. <text>{{hospitalInfo.notice}}</text>
  44. </view>
  45. </title-layout> -->
  46. <!-- 如何到院 -->
  47. <!-- <title-layout title="如何到院">
  48. <view slot="content">{{hospitalInfo.toHospital}}</view>
  49. <view class="btn" slot="btn" data-url="{{hospitalInfo.toHospitalUrl}}" onTap="handleOpenCheck">查看路线</view>
  50. </title-layout> -->
  51. <!-- 取消预约 -->
  52. <view class="cancel-booking">
  53. <button class="button" onTap="handleBack">返回</button>
  54. <!-- <button class="button" onTap="handleCancelBook">取消预约</button> -->
  55. </view>
  56. </view>
  57. </view>