新型管道消毒机前端代码
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.

165 lines
3.8 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. <template>
  2. <div class="progress_container">
  3. <div class="header_wrap">
  4. <div class="left_progress">
  5. <div class="left_time_tag">剩余时间</div>
  6. <p class="time">1000:00:00</p>
  7. <div class="progress_bg"></div>
  8. </div>
  9. <div class="right_btns">
  10. <div class="btn active">暂停消毒</div>
  11. <div class="btn ml">继续消毒</div>
  12. </div>
  13. </div>
  14. <div class="echarts_wrap">
  15. <div class="single_wrap">
  16. <p class="title">设备温度/湿度/过氧化氢浓度</p>
  17. <div class="echarts_box"></div>
  18. </div>
  19. <div class="single_wrap">
  20. <p class="title">环境1/湿度/过氧化氢浓度</p>
  21. <div class="echarts_box"></div>
  22. </div>
  23. <div class="single_wrap">
  24. <p class="title">环境2/湿度/过氧化氢浓度</p>
  25. <div class="echarts_box"></div>
  26. </div>
  27. </div>
  28. <div class="detail_wrap">
  29. <div class="detail">详情</div>
  30. </div>
  31. </div>
  32. </template>
  33. <script setup></script>
  34. <style lang="scss" scoped>
  35. .progress_container {
  36. margin-bottom: 30px;
  37. height: 580px;
  38. box-sizing: border-box;
  39. background: #ffffff;
  40. border-radius: 16px;
  41. padding: 20px;
  42. padding-bottom: 30px;
  43. .header_wrap {
  44. display: flex;
  45. align-items: center;
  46. margin-bottom: 49px;
  47. .left_progress {
  48. width: 860px;
  49. height: 80px;
  50. border-radius: 14px;
  51. background: #f6f6f6;
  52. box-sizing: border-box;
  53. padding: 0 23px;
  54. display: flex;
  55. align-items: center;
  56. .left_time_tag {
  57. width: 158.66px;
  58. height: 45px;
  59. border-radius: 23px;
  60. opacity: 1;
  61. background: #06518b;
  62. display: flex;
  63. align-items: center;
  64. justify-content: center;
  65. font-family: Source Han Sans CN;
  66. font-size: 14px;
  67. font-weight: normal;
  68. letter-spacing: 0.1em;
  69. color: #ffffff;
  70. margin-right: 73px;
  71. }
  72. .time {
  73. width: 90px;
  74. height: 20px;
  75. font-family: Source Han Sans CN;
  76. font-size: 14px;
  77. font-weight: 500;
  78. letter-spacing: 0.1em;
  79. color: #000000;
  80. margin-right: 85px;
  81. display: flex;
  82. align-items: center;
  83. }
  84. .progress_bg {
  85. width: 396px;
  86. height: 14px;
  87. border-radius: 7px;
  88. background: #ffffff;
  89. }
  90. }
  91. .right_btns {
  92. display: flex;
  93. align-items: center;
  94. box-sizing: border-box;
  95. margin-left: 20px;
  96. .btn {
  97. width: 140px;
  98. height: 45px;
  99. border-radius: 23px;
  100. background: #f6f6f6;
  101. display: flex;
  102. align-items: center;
  103. justify-content: center;
  104. font-family: Source Han Sans CN;
  105. font-size: 14px;
  106. font-weight: normal;
  107. letter-spacing: 0.1em;
  108. color: #d8d8d8;
  109. }
  110. .active {
  111. color: #ffffff;
  112. background: #06518b;
  113. }
  114. .ml {
  115. margin-left: 20px;
  116. }
  117. }
  118. }
  119. .echarts_wrap {
  120. height: 351px;
  121. display: flex;
  122. align-items: center;
  123. margin-bottom: 19px;
  124. .single_wrap {
  125. flex: 1;
  126. height: 351px;
  127. .title {
  128. font-family: Source Han Sans CN;
  129. font-size: 14px;
  130. font-weight: 500;
  131. letter-spacing: 0.1em;
  132. color: #000000;
  133. margin-bottom: 24px;
  134. padding-left: 11px;
  135. }
  136. .echarts_box {
  137. width: 380px;
  138. height: 308px;
  139. }
  140. }
  141. }
  142. .detail_wrap {
  143. display: flex;
  144. align-items: center;
  145. justify-content: flex-end;
  146. padding-right: 16px;
  147. .detail {
  148. width: 105px;
  149. height: 31px;
  150. border-radius: 16px;
  151. background: #06518b;
  152. display: flex;
  153. align-items: center;
  154. justify-content: center;
  155. font-family: Source Han Sans CN;
  156. font-size: 12px;
  157. font-weight: normal;
  158. letter-spacing: 0.1em;
  159. color: #ffffff;
  160. }
  161. }
  162. }
  163. </style>