index.axml 803 B

1234567891011121314151617181920212223242526272829
  1. <view class="page-detail">
  2. <header></header>
  3. <block a:if="{{type === 'report'}}">
  4. <hospital-report-detail detail="{{detail}}"></hospital-report-detail>
  5. </block>
  6. <block a:if="{{type === 'visit'}}">
  7. <record-detail
  8. detail="{{detail}}"
  9. showStatus={{false}}
  10. onRefresh="onFetchDetail"
  11. />
  12. </block>
  13. <block a:if="{{type === 'order'}}">
  14. <record-detail
  15. detail="{{detail}}"
  16. onRefresh="onFetchDetail"
  17. />
  18. </block>
  19. <block a:if="{{type === 'charge'}}">
  20. <charge-detail detail="{{detail}}"></charge-detail>
  21. </block>
  22. <block a:if="type">
  23. <view class="button-box">
  24. <button onTap="navigateBack">
  25. 返回列表
  26. </button>
  27. </view>
  28. </block>
  29. </view>