report-health-index.scss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. @import "../../../../themes//t.cell.scss";
  2. @import "../../report-common.scss";
  3. @import "../../../../themes/card.scss";
  4. /* module/health/components/report-health-index/report-health-index.wxss */
  5. .constitution-container {
  6. border-radius: 20rpx 20rpx 0 0;
  7. background: linear-gradient(180deg, #D6E4F5 0%, #F3F4F6 100%);
  8. margin: 0 !important;
  9. // padding: 0px 10px 10px 10px;
  10. }
  11. .constitution-box{
  12. background-image: url('https://wx.hzliuzhi.com:4433/manager/file/statics/2025/08/21/WechatIMG731_20250821155626A830.jpg');
  13. background-size: cover;
  14. background-position: center;
  15. }
  16. .table-box{
  17. padding: 0px 10px 10px 10px;
  18. }
  19. .text-title{
  20. font-size: 16px;
  21. color: black;
  22. font-weight: 500;
  23. }
  24. .card-title{
  25. display: flex;
  26. align-items: center;
  27. margin-bottom: 10rpx;
  28. }
  29. .icon-title{
  30. width: 20px;
  31. height: 20px;
  32. margin-right: 10rpx;
  33. }
  34. .health-index {
  35. $size: 20px;
  36. $gap: 12px;
  37. // background-color: transparent;
  38. &__title {
  39. display: flex;
  40. flex-direction: row;
  41. align-items: center;
  42. }
  43. &__slider {
  44. position: relative;
  45. height: $size * 6;
  46. font-size: 12px;
  47. padding: 8px 0;
  48. .value {
  49. position: absolute;
  50. top: $size - 4px;
  51. display: flex;
  52. &.normal {
  53. color: #1D6FF6;
  54. transform: translateX(-50%);
  55. }
  56. &.big {
  57. flex-direction: row-reverse;
  58. color: #FF611B;
  59. transform: translateX(-98%);
  60. .description {
  61. margin-right: 4px;
  62. }
  63. }
  64. &.small {
  65. flex-direction: row;
  66. color: #FF611B;
  67. transform: translateX(-2%);
  68. .description {
  69. margin-left: 4px;
  70. }
  71. }
  72. }
  73. .track {
  74. position: absolute;
  75. top: $size * 3;
  76. height: $size;
  77. border-radius: $size;
  78. &__bg {
  79. left: 0;
  80. right: 0;
  81. // background-color: #143731;
  82. background-color: #D6D6D6;
  83. }
  84. &__value {
  85. background-color: #FF611B;
  86. }
  87. &__scope {
  88. // background-color: #38FF6E;
  89. background-color: #3569E5;
  90. }
  91. &__point {
  92. width: $size;
  93. height: $size;
  94. // border: 1px solid #38FF6E;
  95. border-radius: 50%;
  96. box-sizing: content-box;
  97. transform: translate(-50%, -1px);
  98. background-color: #fff;
  99. &.small,
  100. &.big {
  101. border-color: #FF611B;
  102. }
  103. }
  104. }
  105. .point {
  106. position: absolute;
  107. top: $size * 4 + 4px;
  108. &__left {
  109. transform: translateX(-50%);
  110. }
  111. &__right {
  112. transform: translateX(50%);
  113. }
  114. }
  115. }
  116. }
  117. .nodata-box{
  118. width: 94%;
  119. margin: auto;
  120. border-top: 1px solid #E7E7E7;
  121. padding: 10px 0 10px 0;
  122. }