body-model.wxml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <!--pages/home/body-model/body-model.wxml-->
  2. <view class="body-model-wrapper" style="height: {{container.height}}px;" bind:tap="onBodyModel">
  3. <image wx:if="{{model.width}}" style="width: {{model.width}}px;height: {{model.height}}px;" class="container-bg-image" src="../../../assets/bg/body-model.bg.png" mode="widthFix" />
  4. <view wx:if="{{dataset}}" class="container" style="width: {{container.width}}px;height: {{container.height}}px;">
  5. <view class="card LT" style="top:{{LT.top}};left: {{LT.left}};" mark:position="LT">
  6. <view class="frame-wrapper">
  7. <image src="../../../assets/bg/body-model-frame.bg.png" mode="aspectFit" />
  8. <view class="content">
  9. <form-button index="1">{{dataset.willillStateName}}</form-button>
  10. <text max-lines="1" overflow="ellipsis" wx:if="{{dataset.willillDegreeName}}">程度:{{dataset.willillDegreeName}}</text>
  11. <text max-lines="1" overflow="ellipsis" wx:if="{{dataset.willillFunctionName}}">表现:{{dataset.willillFunctionName}}</text>
  12. </view>
  13. </view>
  14. <view class="line"></view>
  15. </view>
  16. <view class="card RT" style="top:{{RT.top}};left: {{RT.left}};" mark:position="RT">
  17. <view class="line-wrapper">
  18. <view class="line line-1"></view>
  19. <view class="line line-2"></view>
  20. </view>
  21. <view class="frame-wrapper">
  22. <image src="../../../assets/bg/body-model-frame.bg.png" mode="aspectFit" />
  23. <view class="content">
  24. <view>体质</view>
  25. <form-button index="2">{{dataset.constitutionGroupName}}</form-button>
  26. </view>
  27. </view>
  28. </view>
  29. <view class="card RB" style="top:{{RB.top}};left: {{RB.left}};" mark:position="RB">
  30. <view class="line"></view>
  31. <view class="frame-wrapper">
  32. <image src="../../../assets/bg/body-model-frame.bg.png" mode="aspectFit" />
  33. <view class="content">
  34. <view>中医证素</view>
  35. <form-button index="2">{{dataset.factorItemSummary}}</form-button>
  36. </view>
  37. </view>
  38. </view>
  39. <view class="card LB" style="top:{{LB.top}};left: {{LB.left}};" mark:position="LB">
  40. <view class="frame-wrapper">
  41. <image src="../../../assets/bg/body-model-frame.bg-1.png" mode="aspectFit" />
  42. <view class="content">
  43. <form-button index="1">健康分析报告</form-button>
  44. <view>{{dataset.reportTime}}</view>
  45. </view>
  46. </view>
  47. <!-- <form-button index="1">健康分析报告</form-button> -->
  48. <view class="line"></view>
  49. </view>
  50. </view>
  51. <view class="index-wrapper" mark:position="CT">
  52. <slot></slot>
  53. </view>
  54. </view>