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

103 lines
1.9 KiB

  1. .card.card-detect {
  2. padding: 32rpx 24rpx;
  3. background-image: linear-gradient(#F2EDFF, #FCFEFE);
  4. border: 8rpx solid #F9F7FF;
  5. border-radius: 64rpx;
  6. .card-header {
  7. .title {
  8. padding: 6rpx 14rpx;
  9. display: inline-flex;
  10. font-family: PingFang SC;
  11. font-weight: 400;
  12. font-size: 28rpx;
  13. line-height: 1.5;
  14. color: #252545;
  15. border: 2rpx solid #252545;
  16. border-radius: 30rpx;
  17. }
  18. }
  19. .section {
  20. margin-top: 40rpx;
  21. &-header {
  22. font-family: PingFang SC;
  23. line-height: 1.4;
  24. color: #252545;
  25. .title {
  26. font-weight: 600;
  27. font-size: 32rpx;
  28. }
  29. .desc {
  30. font-weight: 400;
  31. font-size: 24rpx;
  32. }
  33. }
  34. &-content {
  35. margin-top: 32rpx;
  36. }
  37. }
  38. .index {
  39. display: grid;
  40. grid-template-columns: repeat(2, 1fr);
  41. gap: 32rpx;
  42. &-item {
  43. font-family: PingFang SC;
  44. font-weight: 400;
  45. line-height: 1.4;
  46. .top {
  47. justify-content: space-between;
  48. }
  49. .main {
  50. justify-content: flex-start;
  51. column-gap: 12rpx;
  52. font-size: 24rpx;
  53. color: #8B8B8B;
  54. }
  55. .label {
  56. font-size: 30rpx;
  57. color: #000000;
  58. }
  59. .value {
  60. font-weight: 400;
  61. font-size: 28rpx;
  62. color: #000000;
  63. }
  64. .desc {
  65. font-size: 22rpx;
  66. line-height: 1.6;
  67. color: #989898;
  68. }
  69. }
  70. }
  71. }
  72. .tag {
  73. padding: 6rpx 16rpx;
  74. font-family: PingFang SC;
  75. font-weight: 400;
  76. font-size: 20rpx;
  77. line-height: 1.4;
  78. color: #FFFFFF;
  79. background-image: linear-gradient(90deg, #4B348F, #845CFA);
  80. border-top-left-radius: 24rpx;
  81. border-bottom-right-radius: 24rpx;
  82. &.is-error {
  83. background-image: linear-gradient(90deg, #8F3434, #FA5C5C);
  84. }
  85. }