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

182 lines
4.6 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. <template>
  2. <div class="test_container">
  3. <div class="common_set switch_wrap">
  4. <p class="title">加液蠕动泵</p>
  5. <p class="num">000/000</p>
  6. <div class="btn_wrap">
  7. <div class="open">打开</div>
  8. <div class="close">关闭</div>
  9. </div>
  10. </div>
  11. <div class="common_set switch_wrap">
  12. <p class="title">喷液蠕动泵</p>
  13. <p class="num">000/000</p>
  14. <div class="btn_wrap">
  15. <div class="open">打开</div>
  16. <div class="close">关闭</div>
  17. </div>
  18. </div>
  19. <div class="common_set switch_wrap">
  20. <p class="title">空压机</p>
  21. <p class="num">000/000</p>
  22. <div class="btn_wrap">
  23. <div class="open">打开</div>
  24. <div class="close">关闭</div>
  25. </div>
  26. </div>
  27. <div class="common_set switch_wrap">
  28. <p class="title">风机</p>
  29. <p class="num">000/000</p>
  30. <div class="btn_wrap">
  31. <div class="open">打开</div>
  32. <div class="close">关闭</div>
  33. </div>
  34. </div>
  35. <div class="common_set update_wrap">
  36. <p class="title">水浸</p>
  37. <p class="num">000/000</p>
  38. <div class="btn_wrap">更新读取水浸状态</div>
  39. </div>
  40. <div class="common_set update_wrap">
  41. <p class="title">液位</p>
  42. <p class="num">000/000</p>
  43. <div class="btn_wrap">更新读取液位状态</div>
  44. </div>
  45. <div class="common_set info_wrap">
  46. <p class="title">仓内</p>
  47. <p class="info">温度 100 </p>
  48. <p class="info">湿度 100 </p>
  49. <p class="info">过氧化氢浓度 100 PPM</p>
  50. </div>
  51. <div class="common_set info_wrap">
  52. <p class="title">环境1</p>
  53. <p class="info">温度 100 </p>
  54. <p class="info">湿度 100 </p>
  55. <p class="info">过氧化氢浓度 100 PPM</p>
  56. </div>
  57. <div class="common_set info_wrap">
  58. <p class="title">环境2</p>
  59. <p class="info">温度 100 </p>
  60. <p class="info">湿度 100 </p>
  61. <p class="info">过氧化氢浓度 100 PPM</p>
  62. </div>
  63. </div>
  64. </template>
  65. <script setup></script>
  66. <style lang="scss" scoped>
  67. .test_container {
  68. margin-bottom: 30px;
  69. height: 580px;
  70. box-sizing: border-box;
  71. background: #ffffff;
  72. border-radius: 16px;
  73. padding: 20px;
  74. padding-bottom: 80px;
  75. display: grid;
  76. row-gap: 20px;
  77. column-gap: 20px;
  78. grid-template-columns: repeat(2, 1fr);
  79. grid-template-rows: repeat(5, 1fr);
  80. .common_set {
  81. width: 580px;
  82. height: 80px;
  83. box-sizing: border-box;
  84. border-radius: 14px;
  85. background: #f6f6f6;
  86. display: flex;
  87. align-items: center;
  88. .title {
  89. font-family: Source Han Sans CN;
  90. font-size: 20px;
  91. font-weight: 500;
  92. letter-spacing: 0.06em;
  93. color: #000000;
  94. width: 106px;
  95. }
  96. .num {
  97. font-family: Source Han Sans CN;
  98. font-size: 14px;
  99. font-weight: 500;
  100. letter-spacing: 0.1em;
  101. color: #000000;
  102. }
  103. }
  104. .switch_wrap {
  105. padding: 0 17px 0 40px;
  106. justify-content: space-between;
  107. .btn_wrap {
  108. display: flex;
  109. align-items: center;
  110. .open {
  111. margin-right: 10px;
  112. width: 87px;
  113. height: 45px;
  114. border-radius: 23px;
  115. background: #06518b;
  116. display: flex;
  117. align-items: center;
  118. justify-content: center;
  119. font-family: Source Han Sans CN;
  120. font-size: 14px;
  121. font-weight: 500;
  122. letter-spacing: 0.1em;
  123. color: #ffffff;
  124. }
  125. .close {
  126. width: 87px;
  127. height: 45px;
  128. border-radius: 23px;
  129. background: #ffffff;
  130. display: flex;
  131. align-items: center;
  132. justify-content: center;
  133. font-family: Source Han Sans CN;
  134. font-size: 14px;
  135. font-weight: 500;
  136. letter-spacing: 0.1em;
  137. color: #d8d8d8;
  138. }
  139. }
  140. }
  141. .update_wrap {
  142. padding: 0 17px 0 40px;
  143. justify-content: space-between;
  144. .btn_wrap {
  145. width: 184px;
  146. height: 45px;
  147. border-radius: 23px;
  148. background: #06518b;
  149. display: flex;
  150. align-items: center;
  151. justify-content: center;
  152. font-family: Source Han Sans CN;
  153. font-size: 14px;
  154. font-weight: 500;
  155. letter-spacing: 0.1em;
  156. color: #ffffff;
  157. }
  158. }
  159. .info_wrap {
  160. padding: 0 32px 0 40px;
  161. justify-content: space-between;
  162. .title {
  163. font-family: Source Han Sans CN;
  164. font-size: 20px;
  165. font-weight: 500;
  166. letter-spacing: 0.06em;
  167. color: #000000;
  168. width: 57px;
  169. white-space: nowrap;
  170. }
  171. .info {
  172. font-family: Source Han Sans CN;
  173. font-size: 14px;
  174. font-weight: 500;
  175. letter-spacing: 0.1em;
  176. color: #06518b;
  177. }
  178. }
  179. }
  180. </style>