大空间消毒机
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.

113 lines
3.0 KiB

2 years ago
  1. <template>
  2. <div class="warn_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">
  22. <span class="red">电机故障</span>请检查设备电机状态
  23. </p>
  24. <p class="warn_code">203</p>
  25. <div class="btns">
  26. <div class="ok">确定</div>
  27. <div class="cancel">忽略</div>
  28. </div>
  29. </div>
  30. </div>
  31. </template>
  32. <script setup></script>
  33. <style lang="scss" scoped>
  34. .warn_modal_container {
  35. position: fixed;
  36. top: 0;
  37. left: 0;
  38. right: 0;
  39. bottom: 0;
  40. background: rgba(0, 0, 0, 0.5);
  41. z-index: 2;
  42. display: flex;
  43. align-items: center;
  44. justify-content: center;
  45. .modal_content {
  46. width: 476px;
  47. height: 389px;
  48. border-radius: 16px;
  49. background: #ffffff;
  50. box-sizing: border-box;
  51. padding: 52px 0;
  52. display: flex;
  53. flex-direction: column;
  54. align-items: center;
  55. .warn_info {
  56. font-family: Source Han Sans CN;
  57. font-size: 22px;
  58. font-weight: normal;
  59. letter-spacing: 0.04em;
  60. color: #000000;
  61. margin-top: 33px;
  62. margin-bottom: 26px;
  63. .red {
  64. color: #fa1c1c;
  65. }
  66. }
  67. .warn_code {
  68. font-family: Source Han Sans CN;
  69. font-size: 14px;
  70. font-weight: normal;
  71. letter-spacing: 0.06em;
  72. color: #fa1c1c;
  73. margin-bottom: 48px;
  74. }
  75. .btns {
  76. display: flex;
  77. align-items: center;
  78. justify-content: space-between;
  79. width: 362px;
  80. .ok {
  81. width: 173px;
  82. height: 68px;
  83. border-radius: 34px;
  84. background: #06518b;
  85. font-family: Source Han Sans CN;
  86. font-size: 23px;
  87. font-weight: 350;
  88. letter-spacing: 0em;
  89. color: #ffffff;
  90. display: flex;
  91. align-items: center;
  92. justify-content: center;
  93. }
  94. .cancel {
  95. width: 173px;
  96. height: 68px;
  97. border-radius: 34px;
  98. background: #d8d8d8;
  99. font-family: Source Han Sans CN;
  100. font-size: 23px;
  101. font-weight: 350;
  102. letter-spacing: 0em;
  103. color: #ffffff;
  104. display: flex;
  105. align-items: center;
  106. justify-content: center;
  107. }
  108. }
  109. }
  110. }
  111. </style>