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

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