card-analysis-content.wxml 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <!--module/health/components/card-analysis/card-analysis-content.wxml-->
  2. <view class="card-wrapper tongue-container" wx:if="{{tongue.result}}" mark:type="tongue" bind:tap="preview">
  3. <view wx:if="type===files">
  4. <view class="togue-title"> 舌象</view>
  5. </view>
  6. <view class="card-title" wx:else>
  7. <view class="tongue-right">
  8. <view>
  9. <image src="../../assets/icon/icon_tongue@2x.png" class="icon-title" />
  10. </view>
  11. <view class="text-title">舌象分析</view>
  12. </view>
  13. <block wx:if="{{exception.tongue === false && tongue.exception.length}}">
  14. <view class="extra-warapper" slot="right-icon" mark:operation="exception-list">
  15. <text>详情</text>
  16. <t-icon t-class="icon" name="chevron-right-double-s" size="24px" />
  17. </view>
  18. </block>
  19. </view>
  20. <view class="card-body constitution-container">
  21. <view class="picture-container">
  22. <view style="position: relative;">
  23. <image src="../../assets/image/pic_tongue@2x.png" class="body-image" mode="widthFix" />
  24. <text class="tongue-label tongue-top">舌面</text>
  25. <text class="tongue-label tongue-bottom">舌下</text>
  26. </view>
  27. <view wx:if="{{tongue.cover.length}}" class="picture-wrapper">
  28. <image wx:for="{{tongue.cover}}" wx:key="*this" src="{{item}}" mode="aspectFill" />
  29. </view>
  30. </view>
  31. <view wx:if="{{simple.tongue === false}}" class="talbel-wrapper">
  32. <view class="tr">
  33. <view wx:for="{{tongue.table.columns}}" wx:key="*this" class="th">{{item}}</view>
  34. </view>
  35. <view wx:for="{{tongue.table.data}}" wx:key="0" wx:for-item="data" class="tr {{data.exception ? 'exception': ''}} {{data.invalid ? 'invalid' : ''}}">
  36. <view wx:for="{{tongue.table.columns}}" wx:key="*this" wx:for-index="index" class="td">
  37. <rich-text nodes="{{data[index]}}"></rich-text>
  38. </view>
  39. </view>
  40. </view>
  41. <view wx:else>&emsp;&emsp;{{tongue.result}}</view>
  42. </view>
  43. </view>
  44. <exception wx:if="{{tongueException.length}}" dataset="{{tongueException}}"></exception>
  45. <view class="card-wrapper tongue-container" wx:if="{{face.result}}" mark:type="face" bind:tap="preview">
  46. <view wx:if="type===files">
  47. <view class="togue-title"> 面象</view>
  48. </view>
  49. <view class="card-title" wx:else>
  50. <view class="tongue-right">
  51. <view>
  52. <image src="../../assets/icon/icon_face@2x.png" class="icon-title" />
  53. </view>
  54. <view class="text-title">面象分析</view>
  55. </view>
  56. <block wx:if="{{exception.face === false && face.exception.length}}">
  57. <view class="extra-warapper" slot="right-icon" mark:operation="exception-group">
  58. <text>详情</text>
  59. <t-icon t-class="icon" name="chevron-right-double-s" size="24px" />
  60. </view>
  61. </block>
  62. </view>
  63. <view class="card-body constitution-container">
  64. <view wx:if="{{simple.face === false}}" class="talbel-wrapper">
  65. <view class="tr">
  66. <view wx:for="{{face.table.columns}}" wx:key="*this" class="th">{{item}}</view>
  67. </view>
  68. <view wx:for="{{face.table.data}}" wx:key="0" wx:for-item="data" class="tr {{data.exception ? 'exception': ''}} {{data.invalid ? 'invalid' : ''}}">
  69. <view wx:for="{{face.table.columns}}" wx:key="*this" wx:for-index="index" class="td">
  70. <rich-text nodes="{{data[index]}}"></rich-text>
  71. </view>
  72. </view>
  73. </view>
  74. <view wx:else="">&emsp;&emsp;{{face.result}}</view>
  75. <view wx:if="{{face.cover.length}}" class="picture-wrapper">
  76. <image wx:for="{{face.cover}}" wx:key="*this" src="{{item}}" mode="aspectFit" />
  77. </view>
  78. </view>
  79. </view>
  80. <exception wx:if="{{faceException.length}}" dataset="{{faceException}}"></exception>