index.less 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. .box {
  2. width: 331px;
  3. margin-bottom: 15px;
  4. background: hsl(0, 0%, 100%);
  5. border-radius: 25px;
  6. box-shadow: 0 0 2px rgba(0, 0, 0, 0.07), 0 4px 10px rgba(0, 0, 0, 0.05);
  7. .content {
  8. .env {
  9. position: relative;
  10. display: flex;
  11. .envLeft {
  12. flex: 1 1 auto;
  13. height: 140px;
  14. padding-top: 24px;
  15. padding-left: 30px;
  16. // .envnum {
  17. // display: flex;
  18. // flex-direction: row;
  19. // align-items: flex-start;
  20. // padding-top: 5px;
  21. // padding-bottom: 5px;
  22. // color: #1b144e;
  23. // font-weight: 400;
  24. // font-size: 32px;
  25. // font-family: Montserrat;
  26. // line-height: 32px;
  27. // .unit {
  28. // color: #c4c4c4;
  29. // font-weight: 800;
  30. // font-size: 12px;
  31. // font-family: Mulish;
  32. // font-style: normal;
  33. // line-height: 15px;
  34. // }
  35. // }
  36. }
  37. .envRight {
  38. width: 165px;
  39. height: 140px;
  40. .roomAirImg {
  41. width: 165px;
  42. height: 140px;
  43. }
  44. }
  45. }
  46. .airStatus {
  47. color: rgba(196, 196, 196, 1);
  48. font-weight: 400;
  49. font-size: 14px;
  50. font-family: PingFang SC;
  51. line-height: 20px;
  52. .airStatusText {
  53. display: inline-block;
  54. padding-top: 10px;
  55. }
  56. .airStatusbox {
  57. display: flex;
  58. align-items: center;
  59. padding-top: 28px;
  60. .airStatusImg {
  61. width: 12px;
  62. height: 12px;
  63. margin-right: 3px;
  64. }
  65. .statusText {
  66. display: inline-block;
  67. width: 120px;
  68. overflow: hidden;
  69. font-size: 11px;
  70. line-height: 18px;
  71. white-space: nowrap;
  72. text-overflow: ellipsis;
  73. }
  74. }
  75. }
  76. .airBtn {
  77. position: absolute;
  78. top: 103px;
  79. right: 15px;
  80. }
  81. }
  82. .expend {
  83. .item {
  84. display: flex;
  85. align-items: center;
  86. justify-content: space-between;
  87. height: 60px;
  88. padding-right: 14px;
  89. padding-left: 27px;
  90. color: rgba(196, 196, 196, 1);
  91. font-weight: 400;
  92. font-size: 14px;
  93. line-height: 20px;
  94. border-top: 1px solid rgba(196, 196, 196, 0.4);
  95. .itemRight {
  96. display: flex;
  97. }
  98. .itemBg {
  99. display: flex;
  100. align-items: center;
  101. justify-content: center;
  102. width: 42px;
  103. height: 42px;
  104. background: rgba(196, 196, 196, 0.2);
  105. border-radius: 50%;
  106. }
  107. .itemBg:nth-child(1) {
  108. margin-right: 20px;
  109. }
  110. .itemImg {
  111. width: 20px;
  112. height: 20px;
  113. }
  114. }
  115. }
  116. }