card-analysis-content.wxml 3.5 KB

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