card-analysis-content.wxml 3.6 KB

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