普兆健康管家前端代码仓库
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.

41 lines
932 B

  1. <template>
  2. <view class="card card-detect">
  3. <view class="flex card-header">
  4. <view class="title">常见指标</view>
  5. </view>
  6. <view class="section index">
  7. <view
  8. class="index-item"
  9. v-for="item in list"
  10. :key="item.id"
  11. >
  12. <view class="flex top">
  13. <view class="label">{{ item.label }}</view>
  14. <view class="tag is-error" v-if="item.status === 0">{{ item.label }}</view>
  15. </view>
  16. <view class="flex main">
  17. <text>当前</text><text class="value">{{ item.value }}</text>
  18. </view>
  19. <view class="bottom desc">{{ `* 标准值:${item.standrad}` }}</view>
  20. </view>
  21. </view>
  22. </view>
  23. </template>
  24. <script>
  25. export default {
  26. props: {
  27. list: {
  28. type: Array,
  29. default() {
  30. return []
  31. }
  32. }
  33. }
  34. }
  35. </script>
  36. <style lang="scss" scoped>
  37. @import './style.scss';
  38. </style>