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

179 lines
4.1 KiB

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="operator_main_content">
  3. <div class="left_contaienr">
  4. <div class="info_cards">
  5. <div class="card"></div>
  6. <div class="card"></div>
  7. <div class="card"></div>
  8. <div class="card"></div>
  9. </div>
  10. <div class="warn_wrap">
  11. <p class="warn_text">警报信息</p>
  12. <div class="detail_btn">详情</div>
  13. </div>
  14. </div>
  15. <div class="right_container">
  16. <div class="setting_title">
  17. <p>消毒设置</p>
  18. <p>SET</p>
  19. </div>
  20. <div class="set_form"></div>
  21. <div class="start">开始消毒</div>
  22. <div class="progress">
  23. <p class="title">消毒进度</p>
  24. <div class="tube"></div>
  25. <div class="num">000/100</div>
  26. </div>
  27. </div>
  28. </div>
  29. </template>
  30. <script setup></script>
  31. <style lang="scss" scoped>
  32. .operator_main_content {
  33. margin-bottom: 30px;
  34. height: 580px;
  35. box-sizing: border-box;
  36. display: flex;
  37. align-items: center;
  38. .left_contaienr {
  39. margin-right: 30px;
  40. width: 766px;
  41. height: 580px;
  42. box-sizing: border-box;
  43. border-radius: 16px;
  44. background: #ffffff;
  45. padding: 20px;
  46. .info_cards {
  47. width: 726px;
  48. height: 470px;
  49. box-sizing: border-box;
  50. display: grid;
  51. grid-template-columns: repeat(2, 1fr);
  52. grid-template-rows: repeat(2, 1fr);
  53. column-gap: 20px;
  54. row-gap: 20px;
  55. margin-bottom: 20px;
  56. .card {
  57. width: 353px;
  58. height: 225px;
  59. border-radius: 17.5px;
  60. background: #06518b;
  61. }
  62. }
  63. .warn_wrap {
  64. display: flex;
  65. align-items: center;
  66. justify-content: space-between;
  67. box-sizing: border-box;
  68. padding: 0 20px;
  69. width: 726px;
  70. height: 50px;
  71. border-radius: 6px;
  72. background: #f6f6f6;
  73. .warn_text {
  74. font-family: Source Han Sans CN;
  75. font-size: 12px;
  76. font-weight: 500;
  77. letter-spacing: 0.1em;
  78. color: #fa1c1c;
  79. }
  80. .detail_btn {
  81. width: 105px;
  82. height: 31px;
  83. border-radius: 16px;
  84. background: #06518b;
  85. display: flex;
  86. align-items: center;
  87. justify-content: center;
  88. font-family: Source Han Sans CN;
  89. font-size: 12px;
  90. font-weight: normal;
  91. letter-spacing: 0.1em;
  92. color: #ffffff;
  93. }
  94. }
  95. }
  96. .right_container {
  97. height: 580px;
  98. box-sizing: border-box;
  99. border-radius: 16px;
  100. background: #ffffff;
  101. flex: 1;
  102. padding: 42px;
  103. padding-top: 32px;
  104. .setting_title {
  105. width: 340px;
  106. height: 45px;
  107. border-radius: 23px;
  108. background: #06518b;
  109. padding: 0 24px;
  110. box-sizing: border-box;
  111. display: flex;
  112. align-items: center;
  113. justify-content: space-between;
  114. font-family: Source Han Sans CN;
  115. font-size: 14px;
  116. font-weight: normal;
  117. letter-spacing: 0.1em;
  118. color: #ffffff;
  119. margin-bottom: 41px;
  120. }
  121. .set_form {
  122. width: 340px;
  123. height: 190px;
  124. box-sizing: border-box;
  125. margin-bottom: 41px;
  126. }
  127. .start {
  128. margin-bottom: 30px;
  129. width: 340px;
  130. height: 45px;
  131. border-radius: 23px;
  132. background: #06518b;
  133. display: flex;
  134. align-items: center;
  135. justify-content: center;
  136. font-family: Source Han Sans CN;
  137. font-size: 14px;
  138. font-weight: normal;
  139. letter-spacing: 0.1em;
  140. color: #ffffff;
  141. }
  142. .progress {
  143. width: 340px;
  144. height: 114px;
  145. border-radius: 16px;
  146. opacity: 1;
  147. background: #f6f6f6;
  148. box-sizing: border-box;
  149. padding: 27px 24px 18px 27px;
  150. .title {
  151. font-family: Source Han Sans CN;
  152. font-size: 12px;
  153. font-weight: 350;
  154. letter-spacing: 0.06em;
  155. color: #9e9e9e;
  156. margin-bottom: 13px;
  157. }
  158. .tube {
  159. width: 292px;
  160. height: 14px;
  161. border-radius: 7px;
  162. background: #ffffff;
  163. margin-bottom: 11px;
  164. }
  165. .num {
  166. display: flex;
  167. justify-content: flex-end;
  168. font-family: Source Han Sans CN;
  169. font-size: 10px;
  170. font-weight: normal;
  171. letter-spacing: 0.06em;
  172. color: #9e9e9e;
  173. }
  174. }
  175. }
  176. }
  177. </style>