wateranalysis.wxss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. /* pages/wateranalysis/wateranalysis.wxss */
  2. .water-analysis {
  3. padding: 0;
  4. }
  5. .water-analysis .echart {
  6. height: 622rpx;
  7. padding: 30rpx;
  8. background-image: linear-gradient(180deg, #0091ff 0%, #6ca0ff 61%);
  9. }
  10. .water-analysis .header {
  11. height: 46rpx;
  12. line-height: 46rpx;
  13. font-size: 28rpx;
  14. color: #fff;
  15. }
  16. .water-analysis .header .unit {
  17. font-size: 28rpx;
  18. margin-right: 40rpx;
  19. font-family: PingFangSC;
  20. font-weight: 400;
  21. color: rgba(255, 255, 255, 1);
  22. line-height: 40rpx;
  23. }
  24. .water-analysis .weekbox {
  25. width: 100%;
  26. height: 450rpx;
  27. margin-top: 60rpx;
  28. position: relative;
  29. }
  30. .water-analysis .weekbox .useVolume {
  31. width: 100%;
  32. position: absolute;
  33. bottom: -10rpx;
  34. font-size: 24rpx;
  35. font-family: PingFangSC;
  36. font-weight: 400;
  37. color: rgba(255, 255, 255, 1);
  38. line-height: 34px;
  39. margin-top: 30rpx;
  40. text-align: center;
  41. display: flex;
  42. align-items: center;
  43. }
  44. .water-analysis .weekbox .useVolume text {
  45. margin-right: 104rpx;
  46. flex: 3;
  47. }
  48. .water-analysis .weekbox .useVolume text:last-of-type {
  49. margin-right: 0;
  50. }
  51. .water-analysis .weekbox .useVolume text::before {
  52. content: "";
  53. display: inline-block;
  54. width: 20rpx;
  55. height: 20rpx;
  56. border-radius: 5rpx;
  57. margin: auto 16rpx auto 0;
  58. vertical-align: center;
  59. }
  60. .col1::before {
  61. background: #80fdf6;
  62. }
  63. .col2::before {
  64. background: #a9ffc5;
  65. }
  66. .col3::before {
  67. background: #d3ecff;
  68. }
  69. .useVolume-list {
  70. width: 610rpx;
  71. margin: -40rpx auto 30rpx;
  72. background: #fff;
  73. padding: 40rpx;
  74. border-radius: 8rpx;
  75. box-shadow: 0 2rpx 40rpx 0 rgba(174, 203, 228, 0.3);
  76. }
  77. .useVolume-list view {
  78. font-size: 28rpx;
  79. border-bottom: 1rpx solid rgba(174, 203, 228, 0.3);
  80. font-family: PingFangSC;
  81. font-weight: 400;
  82. color: rgba(104, 107, 120, 1);
  83. line-height: 40rpx;
  84. padding: 30rpx 6rpx;
  85. }
  86. .useVolume-list view:last-of-type {
  87. border: none;
  88. }