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

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