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

102 lines
2.8 KiB

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">请添是否将 <span class="red">username1 用户删除</span></p>
  22. <div class="btns">
  23. <div class="ok">确定</div>
  24. <div class="cancel">取消</div>
  25. </div>
  26. </div>
  27. </div>
  28. </template>
  29. <script setup></script>
  30. <style lang="scss" scoped>
  31. .user_modal_container {
  32. position: fixed;
  33. top: 0;
  34. left: 0;
  35. right: 0;
  36. bottom: 0;
  37. background: rgba(0, 0, 0, 0.5);
  38. z-index: 2;
  39. display: flex;
  40. align-items: center;
  41. justify-content: center;
  42. .modal_content {
  43. width: 476px;
  44. height: 350px;
  45. border-radius: 16px;
  46. background: #ffffff;
  47. padding: 52px 57px 55px 57px;
  48. box-sizing: border-box;
  49. display: flex;
  50. flex-direction: column;
  51. align-items: center;
  52. .tips {
  53. margin-top: 33px;
  54. margin-bottom: 50px;
  55. font-family: Source Han Sans CN;
  56. font-size: 22px;
  57. font-weight: normal;
  58. letter-spacing: 0.04em;
  59. color: #000000;
  60. .red {
  61. color: #fa1c1c;
  62. }
  63. }
  64. .btns {
  65. display: flex;
  66. align-items: center;
  67. justify-content: space-between;
  68. width: 362px;
  69. .cancel {
  70. width: 173px;
  71. height: 68px;
  72. border-radius: 34px;
  73. background: #06518b;
  74. font-family: Source Han Sans CN;
  75. font-size: 23px;
  76. font-weight: 350;
  77. letter-spacing: 0em;
  78. color: #ffffff;
  79. display: flex;
  80. align-items: center;
  81. justify-content: center;
  82. }
  83. .ok {
  84. width: 173px;
  85. height: 68px;
  86. border-radius: 34px;
  87. background: #d8d8d8;
  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. }
  98. }
  99. }
  100. </style>