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

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