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

125 lines
3.1 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
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. <template>
  2. <div class="user_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="tips">
  22. 请确认是否将 <span class="red">{{ userWarnInfo }}</span>
  23. </p>
  24. <div class="btns">
  25. <div class="ok style-btn" @click="ok">确定</div>
  26. <div class="cancel style-btn" @click="handleCancel">取消</div>
  27. </div>
  28. </div>
  29. </div>
  30. </template>
  31. <script setup>
  32. const props = defineProps({
  33. userWarnInfo: {
  34. type: String,
  35. },
  36. hideUserModal: {
  37. type: Function,
  38. },
  39. handleOk: {
  40. type: Function,
  41. },
  42. })
  43. const ok = () => {
  44. props.handleOk()
  45. props.hideUserModal()
  46. }
  47. const handleCancel = () => {
  48. props.hideUserModal()
  49. }
  50. </script>
  51. <style lang="scss" scoped>
  52. .user_modal_container {
  53. position: fixed;
  54. top: 0;
  55. left: 0;
  56. right: 0;
  57. bottom: 0;
  58. background: rgba(0, 0, 0, 0.5);
  59. z-index: 2;
  60. display: flex;
  61. align-items: center;
  62. justify-content: center;
  63. .modal_content {
  64. width: 476px;
  65. height: 350px;
  66. border-radius: 16px;
  67. background: #ffffff;
  68. padding: 52px 37px 55px 37px;
  69. box-sizing: border-box;
  70. display: flex;
  71. flex-direction: column;
  72. align-items: center;
  73. .tips {
  74. margin-top: 33px;
  75. margin-bottom: 50px;
  76. font-family: Source Han Sans CN;
  77. font-size: 21px;
  78. font-weight: normal;
  79. letter-spacing: 0.04em;
  80. color: #000000;
  81. .red {
  82. color: #fa1c1c;
  83. }
  84. }
  85. .btns {
  86. display: flex;
  87. align-items: center;
  88. justify-content: space-between;
  89. width: 362px;
  90. .cancel {
  91. width: 173px;
  92. height: 68px;
  93. border-radius: 34px;
  94. background: #06518b;
  95. font-family: Source Han Sans CN;
  96. font-size: 23px;
  97. font-weight: 350;
  98. letter-spacing: 0em;
  99. color: #ffffff;
  100. display: flex;
  101. align-items: center;
  102. justify-content: center;
  103. }
  104. .ok {
  105. width: 173px;
  106. height: 68px;
  107. border-radius: 34px;
  108. background: #d8d8d8;
  109. font-family: Source Han Sans CN;
  110. font-size: 23px;
  111. font-weight: 350;
  112. letter-spacing: 0em;
  113. color: #ffffff;
  114. display: flex;
  115. align-items: center;
  116. justify-content: center;
  117. }
  118. }
  119. }
  120. }
  121. </style>