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

124 lines
3.1 KiB

2 years ago
  1. <template>
  2. <div class="liquid_modal_container">
  3. <div class="modal_content">
  4. <svg
  5. xmlns="http://www.w3.org/2000/svg"
  6. xmlns:xlink="http://www.w3.org/1999/xlink"
  7. fill="none"
  8. version="1.1"
  9. width="69"
  10. height="69"
  11. viewBox="0 0 69 69"
  12. >
  13. <g>
  14. <path
  15. d="M34.5,0C15.456,0,0,15.456,0,34.5C0,53.544,15.456,69,34.5,69C53.544,69,69,53.544,69,34.5C69,15.456,53.544,0,34.5,0ZM34.5,55.2C32.5335,55.2,30.981,53.613,30.981,51.681C30.981,49.7145,32.568,48.162,34.5,48.162C36.4665,48.162,38.019,49.749,38.019,51.681C38.019,53.613,36.4665,55.2,34.5,55.2ZM38.3295,15.8355L37.605,40.9515C37.5705,42.2625,36.225,43.2975,34.638,43.2975L34.086,43.2975C32.499,43.2975,31.1535,42.2625,31.119,40.9515L30.36,15.8355C30.291,13.8345,31.9125,12.144,33.9825,12.144L34.707,12.144C36.777,12.144,38.3985,13.8345,38.3295,15.8355Z"
  16. fill="#FA1C1C"
  17. fill-opacity="1"
  18. />
  19. </g>
  20. </svg>
  21. <p class="warn_info mg">
  22. <span class="red">检查</span>是否接入排出容器
  23. </p>
  24. <p class="warn_info">
  25. 并确认<span class="red">容器是否大于</span>排出液体容积
  26. </p>
  27. <div class="btns">
  28. <div class="ok" @click="tapLiquid">确定</div>
  29. <div class="cancel" @click="cancelTap">取消</div>
  30. </div>
  31. </div>
  32. </div>
  33. </template>
  34. <script setup>
  35. const props = defineProps({
  36. hideTabLiquid: {
  37. type: Function,
  38. },
  39. })
  40. const tapLiquid = () => {
  41. console.log('排液体')
  42. }
  43. const cancelTap = () => {
  44. props?.hideTabLiquid()
  45. }
  46. </script>
  47. <style lang="scss" scoped>
  48. .liquid_modal_container {
  49. position: fixed;
  50. top: 0;
  51. left: 0;
  52. right: 0;
  53. bottom: 0;
  54. background: rgba(0, 0, 0, 0.5);
  55. z-index: 2;
  56. display: flex;
  57. align-items: center;
  58. justify-content: center;
  59. .modal_content {
  60. width: 476px;
  61. height: 389px;
  62. border-radius: 16px;
  63. background: #ffffff;
  64. box-sizing: border-box;
  65. padding: 52px 0;
  66. display: flex;
  67. flex-direction: column;
  68. align-items: center;
  69. .warn_info {
  70. font-family: Source Han Sans CN;
  71. font-size: 22px;
  72. font-weight: normal;
  73. letter-spacing: 0.04em;
  74. color: #000000;
  75. .red {
  76. color: #fa1c1c;
  77. }
  78. }
  79. .mg {
  80. margin-top: 34px;
  81. margin-bottom: 16px;
  82. }
  83. .btns {
  84. display: flex;
  85. align-items: center;
  86. justify-content: space-between;
  87. width: 362px;
  88. margin-top: 45px;
  89. .ok {
  90. width: 173px;
  91. height: 68px;
  92. border-radius: 34px;
  93. background: #06518b;
  94. font-family: Source Han Sans CN;
  95. font-size: 23px;
  96. font-weight: 350;
  97. letter-spacing: 0em;
  98. color: #ffffff;
  99. display: flex;
  100. align-items: center;
  101. justify-content: center;
  102. }
  103. .cancel {
  104. width: 173px;
  105. height: 68px;
  106. border-radius: 34px;
  107. background: #d8d8d8;
  108. font-family: Source Han Sans CN;
  109. font-size: 23px;
  110. font-weight: 350;
  111. letter-spacing: 0em;
  112. color: #ffffff;
  113. display: flex;
  114. align-items: center;
  115. justify-content: center;
  116. }
  117. }
  118. }
  119. }
  120. </style>