You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.wxml 6.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. <view class="gray-content" bindtap="linkBleButton">{{linksToPrompt}}</view>
  2. <view class="info-div">
  3. <view class="info-item" bindtap="sexClick">
  4. <text class="info-item-text-1">性别</text>
  5. <view class="info-right-div">
  6. <text class="info-item-text-2" color="red" >{{sex}}</text>
  7. <image src="../Image/ok.png" class="info-item-image"></image>
  8. </view>
  9. </view>
  10. <picker mode="date" value="{{briday}}" start="1900-09-01" end="{{endTime}}" bindchange="bindDateChange">
  11. <view class="info-item">
  12. <text class="info-item-text-1">生日</text>
  13. <view class="info-right-div">
  14. <text class="info-item-text-2">{{briday}}</text>
  15. <image src="../Image/ok.png" class="info-item-image"></image>
  16. </view>
  17. </view>
  18. </picker>
  19. <picker bindchange="bindHightChange" value="{{index}}" range="{{array}}">
  20. <view class="info-item end-border">
  21. <text class="info-item-text-1">身高</text>
  22. <view class="info-right-div">
  23. <text class="info-item-text-2">{{array[index]}}cm</text>
  24. <image src="../Image/ok.png" class="info-item-image"></image>
  25. </view>
  26. </view>
  27. </picker>
  28. </view>
  29. <view class="shape-cover" wx:if="{{isSexShow}}" bindtap="sexClick">
  30. <view class="sex-modal">
  31. <text class="modal-text-title">性别</text>
  32. <view class="male-div" bindtap="manClick">
  33. <text class="modal-text">男</text>
  34. <image src="{{man_image}}" class="radio-class"></image>
  35. </view>
  36. <view class="line"></view>
  37. <view class="male-div" bindtap="womanClick">
  38. <text class="modal-text">女</text>
  39. <image src="{{women_image}}" class="radio-class"></image>
  40. </view>
  41. </view>
  42. </view>
  43. <view class="table-content">
  44. <!-- 数据 -->
  45. <view class="top-right-b-a" bindtap="onChangeShowState0">
  46. <view class="top-right-a-1"><image src="../Image/weight.png"></image>体重</view>
  47. <view class="top-right-a-2">{{weightsum}}{{UD_unit}}</view>
  48. </view>
  49. <view class="top-right-b-a" bindtap="onChangeShowState0">
  50. <view class="top-right-a-1"><image src="../Image/weight.png"></image>阻抗</view>
  51. <view class="top-right-a-2">{{adc}}</view>
  52. </view>
  53. <view class="top-right-b-a" bindtap="onChangeShowState0">
  54. <view class="top-right-a-1"><image src="../Image/weight.png"></image>温度</view>
  55. <view class="top-right-a-2">{{temp}}</view>
  56. </view>
  57. <view class="top-right-b-a" bindtap="onChangeShowState1">
  58. <view class="top-right-a-1"><image src="../Image/bmi.png"></image>BMI</view>
  59. <view class="top-right-a-2">{{BMI}}</view>
  60. </view>
  61. <view class="top-right-b-a" bindtap="onChangeShowState2">
  62. <view class="top-right-a-1"><image src="../Image/bfr.png"></image>体脂率</view>
  63. <view class="top-right-a-2">{{fatRate}} {{unit}}</view>
  64. </view>
  65. <view class="top-right-b-a " bindtap="onChangeShowState7">
  66. <view class="top-right-a-1">
  67. <image src="../Image/muscle.png"></image>肌肉率</view>
  68. <view class="top-right-a-2">{{muscle}} {{unit}}</view>
  69. </view>
  70. <view class="top-right-b-a " bindtap="onChangeShowState10">
  71. <view class="top-right-a-1">
  72. <image src="../Image/moisture.png"></image>水份</view>
  73. <view class="top-right-a-2">{{moisture}} {{unit}}</view>
  74. </view>
  75. <view class="top-right-b-a " bindtap="onChangeShowState8">
  76. <view class="top-right-a-1">
  77. <image src="../Image/bone_mass.png"></image>骨量</view>
  78. <view class="top-right-a-2">{{boneMass}} {{unit}}</view>
  79. </view>
  80. <view class="top-right-b-a " bindtap="onChangeShowState4">
  81. <view class="top-right-a-1">
  82. <image src="../Image/bmr.png"></image>基础代谢率</view>
  83. <view class="top-right-a-2">{{BMR}} {{kcal}}</view>
  84. </view>
  85. <view class="top-right-b-a " bindtap="onChangeShowState6">
  86. <view class="top-right-a-1">
  87. <image src="../Image/visceral_fat.png"></image>内脏脂肪指数</view>
  88. <view class="top-right-a-2">{{visceralFat}}</view>
  89. </view>
  90. <view class="top-right-b-a " bindtap="onChangeShowState14">
  91. <view class="top-right-a-1">
  92. <image src="../Image/sub_fat.png"></image>皮下脂肪率</view>
  93. <view class="top-right-a-2">{{subcutaneousFat}} {{unit}}</view>
  94. </view>
  95. <view class="top-right-b-a " bindtap="onChangeShowState9">
  96. <view class="top-right-a-1">
  97. <image src="../Image/protein_rate.png"></image>蛋白率</view>
  98. <view class="top-right-a-2">{{proteinRate}} {{unit}}</view>
  99. </view>
  100. <view class="top-right-b-a " bindtap="onChangeShowState17">
  101. <view class="top-right-a-1">
  102. <image src="../Image/body_type.png"></image>身体年龄</view>
  103. <view class="top-right-a-2">{{physicalAge}}</view>
  104. </view>
  105. <view class="top-right-b-a " bindtap="onChangeShowState17">
  106. <view class="top-right-a-1">
  107. <image src="../Image/standard_weight.png"></image>标准体重</view>
  108. <view class="top-right-a-2">{{standardWeight}}{{UD_unit}}</view>
  109. </view>
  110. <view class="top-right-b-a " bindtap="onChangeShowState17">
  111. <view class="top-right-a-1">
  112. <image src="../Image/weight_ci.png"></image>体重控制量</view>
  113. <view class="top-right-a-2">{{controlWeight}}{{UD_unit}}</view>
  114. </view>
  115. <view class="top-right-b-a " bindtap="onChangeShowState17">
  116. <view class="top-right-a-1">
  117. <image src="../Image/fat_weight.png"></image>脂肪量</view>
  118. <view class="top-right-a-2">{{fat}}{{UD_unit}}</view>
  119. </view>
  120. <view class="top-right-b-a " bindtap="onChangeShowState17">
  121. <view class="top-right-a-1">
  122. <image src="../Image/out_fat_weight.png"></image>去脂体重</view>
  123. <view class="top-right-a-2">{{removeFatWeight}}{{UD_unit}}</view>
  124. </view>
  125. <view class="top-right-b-a " bindtap="onChangeShowState17">
  126. <view class="top-right-a-1">
  127. <image src="../Image/muscle_weight.png"></image>肌肉量</view>
  128. <view class="top-right-a-2">{{muscleMass}}{{UD_unit}}</view>
  129. </view>
  130. <view class="top-right-b-a " bindtap="onChangeShowState17">
  131. <view class="top-right-a-1">
  132. <image src="../Image/pr_weight.png"></image>蛋白量</view>
  133. <view class="top-right-a-2">{{protein}}{{UD_unit}}</view>
  134. </view>
  135. </view>
  136. <view wx:if="{{standardExp}}" style="padding:30px">
  137. <view>返回判定标准示例</view>
  138. <view>
  139. BMI判定:{{standardExp}}
  140. </view>
  141. <view>
  142. BMI文案:{{standardTextExp}}
  143. </view>
  144. <view style="padding-top:10px">
  145. 其余各项标准可以在utils/standard.js文件查看所需函数和参数。
  146. </view>
  147. </view>