管道式消毒机
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.

224 lines
5.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
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">
  21. <input type="number" v-model="roomSize" class="room_size" />
  22. <div class="log">12</div>
  23. </div>
  24. <div class="start" @click="startDisinfect">开始消毒</div>
  25. <div class="progress">
  26. <p class="title">消毒进度</p>
  27. <div class="tube"></div>
  28. <div class="num">000/100</div>
  29. </div>
  30. </div>
  31. <!-- <WarnModal /> -->
  32. <!-- <LogPicker /> -->
  33. </div>
  34. </template>
  35. <script setup>
  36. import LogPicker from 'cpns/dialogs/LogPicker'
  37. import WarnModal from 'cpns/dialogs/WarnModal'
  38. import { ref } from 'vue'
  39. const roomSize = ref(0)
  40. const startDisinfect = () => {
  41. console.log('开始消毒')
  42. }
  43. </script>
  44. <style lang="scss" scoped>
  45. .operator_main_content {
  46. margin-bottom: 30px;
  47. height: 580px;
  48. box-sizing: border-box;
  49. display: flex;
  50. align-items: center;
  51. .left_contaienr {
  52. margin-right: 30px;
  53. width: 766px;
  54. height: 580px;
  55. box-sizing: border-box;
  56. border-radius: 16px;
  57. background: #ffffff;
  58. padding: 20px;
  59. .info_cards {
  60. width: 726px;
  61. height: 470px;
  62. box-sizing: border-box;
  63. display: grid;
  64. grid-template-columns: repeat(2, 1fr);
  65. grid-template-rows: repeat(2, 1fr);
  66. column-gap: 20px;
  67. row-gap: 20px;
  68. margin-bottom: 20px;
  69. .card {
  70. width: 353px;
  71. height: 225px;
  72. border-radius: 17.5px;
  73. background: #06518b;
  74. }
  75. }
  76. .warn_wrap {
  77. display: flex;
  78. align-items: center;
  79. justify-content: space-between;
  80. box-sizing: border-box;
  81. padding: 0 20px;
  82. width: 726px;
  83. height: 50px;
  84. border-radius: 6px;
  85. background: #f6f6f6;
  86. .warn_text {
  87. font-family: Source Han Sans CN;
  88. font-size: 12px;
  89. font-weight: 500;
  90. letter-spacing: 0.1em;
  91. color: #fa1c1c;
  92. }
  93. .detail_btn {
  94. width: 105px;
  95. height: 31px;
  96. border-radius: 16px;
  97. background: #06518b;
  98. display: flex;
  99. align-items: center;
  100. justify-content: center;
  101. font-family: Source Han Sans CN;
  102. font-size: 12px;
  103. font-weight: normal;
  104. letter-spacing: 0.1em;
  105. color: #ffffff;
  106. }
  107. }
  108. }
  109. .right_container {
  110. height: 580px;
  111. box-sizing: border-box;
  112. border-radius: 16px;
  113. background: #ffffff;
  114. flex: 1;
  115. padding: 42px;
  116. padding-top: 32px;
  117. .setting_title {
  118. width: 340px;
  119. height: 45px;
  120. border-radius: 23px;
  121. background: #06518b;
  122. padding: 0 24px;
  123. box-sizing: border-box;
  124. display: flex;
  125. align-items: center;
  126. justify-content: space-between;
  127. font-family: Source Han Sans CN;
  128. font-size: 14px;
  129. font-weight: normal;
  130. letter-spacing: 0.1em;
  131. color: #ffffff;
  132. margin-bottom: 41px;
  133. }
  134. .set_form {
  135. width: 340px;
  136. height: 190px;
  137. box-sizing: border-box;
  138. margin-bottom: 41px;
  139. overflow: hidden;
  140. background: url(../assets/img/operator/form.png) no-repeat;
  141. background-size: 100% 100%;
  142. position: relative;
  143. .room_size {
  144. position: absolute;
  145. top: 45px;
  146. left: 23px;
  147. width: 189px;
  148. height: 20px;
  149. text-align: center;
  150. border: none;
  151. outline: none;
  152. }
  153. .log {
  154. position: absolute;
  155. top: 145px;
  156. left: 0px;
  157. width: 240px;
  158. height: 42px;
  159. text-align: center;
  160. display: flex;
  161. align-items: center;
  162. justify-content: center;
  163. font-family: Source Han Sans CN;
  164. font-size: 14px;
  165. font-weight: 500;
  166. letter-spacing: 0.06em;
  167. color: #0e0e0e;
  168. }
  169. }
  170. .start {
  171. margin-bottom: 30px;
  172. width: 340px;
  173. height: 45px;
  174. border-radius: 23px;
  175. background: #06518b;
  176. display: flex;
  177. align-items: center;
  178. justify-content: center;
  179. font-family: Source Han Sans CN;
  180. font-size: 14px;
  181. font-weight: normal;
  182. letter-spacing: 0.1em;
  183. color: #ffffff;
  184. }
  185. .progress {
  186. width: 340px;
  187. height: 114px;
  188. border-radius: 16px;
  189. opacity: 1;
  190. background: #f6f6f6;
  191. box-sizing: border-box;
  192. padding: 27px 24px 18px 27px;
  193. .title {
  194. font-family: Source Han Sans CN;
  195. font-size: 12px;
  196. font-weight: 350;
  197. letter-spacing: 0.06em;
  198. color: #9e9e9e;
  199. margin-bottom: 13px;
  200. }
  201. .tube {
  202. width: 292px;
  203. height: 14px;
  204. border-radius: 7px;
  205. background: #ffffff;
  206. margin-bottom: 11px;
  207. }
  208. .num {
  209. display: flex;
  210. justify-content: flex-end;
  211. font-family: Source Han Sans CN;
  212. font-size: 10px;
  213. font-weight: normal;
  214. letter-spacing: 0.06em;
  215. color: #9e9e9e;
  216. }
  217. }
  218. }
  219. }
  220. </style>