dialog-delete.component.less 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. .dialog-delete {
  2. display: flex;
  3. justify-content: center;
  4. align-items: center;
  5. position: fixed;
  6. left: 0;
  7. top: 0;
  8. width: 100%;
  9. height: 100%;
  10. background: rgba(0, 0, 0, 0.4);
  11. z-index: 9999999;
  12. .modalBody {
  13. width: 350px;
  14. min-height: 220px;
  15. background: #fff;
  16. border-radius: 8px;
  17. padding: 8px 16px;
  18. color: #333;
  19. display: flex;
  20. flex-direction: column;
  21. .title {
  22. text-align: center;
  23. font-size: 18px;
  24. position: relative;
  25. i {
  26. position: absolute;
  27. right: 0;
  28. top: 0;
  29. font-size: 20px;
  30. color: #666;
  31. cursor: pointer;
  32. padding: 0 5px;
  33. }
  34. }
  35. .content {
  36. flex: 1;
  37. background: #f9fafb;
  38. border: 1px solid #e5e9ed;
  39. border-radius: 8px;
  40. margin-top: 8px;
  41. display: flex;
  42. flex-direction: column;
  43. align-items: center;
  44. justify-content: center;
  45. padding: 0 16px;
  46. .defeat{
  47. width: 100%;
  48. }
  49. & > div {
  50. text-align: center;
  51. margin: 0;
  52. &.icon {
  53. i {
  54. color: #34b349;
  55. font-size: 30px !important;
  56. &.transport-wenhao {
  57. color: #f5a523;
  58. }
  59. &.transport-shibai {
  60. color: #ff3a52;
  61. }
  62. }
  63. }
  64. &.defeat {
  65. color: #333;
  66. font-size: 16px;
  67. span {
  68. color: red;
  69. }
  70. }
  71. &.tips {
  72. font-size: 14px;
  73. }
  74. &:nth-child(3) {
  75. font-size: 14px;
  76. color: #666;
  77. }
  78. }
  79. }
  80. .operate {
  81. display: flex;
  82. justify-content: center;
  83. align-items: center;
  84. margin-top: 8px;
  85. }
  86. }
  87. // 新增
  88. &.add {
  89. .modalBody {
  90. width: 480px;
  91. height: auto;
  92. .content {
  93. width: 100%;
  94. height: auto;
  95. padding: 18px 14px 0 14px;
  96. max-height: 497px;
  97. overflow-y: auto;
  98. .addForm {
  99. .ant-form-item {
  100. margin-bottom: 15px;
  101. .ant-form-item-label {
  102. line-height: 14px;
  103. text-align: left;
  104. }
  105. .desc {
  106. margin-top: 5px;
  107. }
  108. }
  109. .datesControl {
  110. margin-top: -16px;
  111. .ant-form-item-label {
  112. line-height: 40px;
  113. }
  114. .datesGroup {
  115. margin-left: 125px;
  116. }
  117. }
  118. .timer {
  119. // display: inline-block;
  120. // width: 50%;
  121. .ant-form-item-label {
  122. width: 100%;
  123. text-align: left;
  124. }
  125. .numInp {
  126. margin-right: 5px;
  127. }
  128. .line {
  129. margin-right: 5px;
  130. }
  131. }
  132. .timer2 {
  133. .ant-form-item-label {
  134. line-height: 20px;
  135. }
  136. }
  137. }
  138. .editForm {
  139. .ant-form-item {
  140. margin-bottom: 15px;
  141. .ant-form-item-label {
  142. line-height: 14px;
  143. text-align: left;
  144. }
  145. }
  146. }
  147. }
  148. button {
  149. &:nth-child(1) {
  150. margin-right: 20px;
  151. }
  152. }
  153. }
  154. }
  155. }