spe-prompt-modal.component.less 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. @import "../../../../src/theme.less";
  2. .modal {
  3. position: fixed;
  4. left: 0;
  5. top: 0;
  6. width: 100%;
  7. height: 100%;
  8. background: rgba(0, 0, 0, 0.4);
  9. z-index: 999;
  10. .ji {
  11. position: absolute;
  12. right: 0px;
  13. top: -3px;
  14. width: 30px;
  15. }
  16. .hospitalTable {
  17. width: 100%;
  18. td {
  19. text-align: center !important;
  20. position: relative;
  21. }
  22. .thead {
  23. background-image: linear-gradient(to right, @bg-start, @bg-end);
  24. th {
  25. text-align: center !important;
  26. color: #fff;
  27. background: transparent;
  28. }
  29. }
  30. }
  31. .modalBody {
  32. width: 1094px;
  33. min-height: 220px;
  34. background: #fff;
  35. border-radius: 5px;
  36. padding: 10px 20px;
  37. color: #333;
  38. &.modalBody-search {
  39. width: 480px;
  40. min-height: 250px;
  41. }
  42. .title {
  43. width: 100%;
  44. text-align: center;
  45. font-size: 18px;
  46. position: relative;
  47. i {
  48. position: absolute;
  49. right: 0;
  50. top: 0;
  51. font-size: 20px;
  52. color: #666;
  53. cursor: pointer;
  54. padding: 0 5px;
  55. }
  56. }
  57. .content {
  58. min-height: 117px;
  59. background: #f9fafb;
  60. border: 1px solid #e5e9ed;
  61. border-radius: 5px;
  62. overflow: hidden;
  63. margin-top: 12px;
  64. display: flex;
  65. flex-direction: column;
  66. justify-content: center;
  67. align-items: center;
  68. &.content-search {
  69. min-height: 147px;
  70. justify-content: start;
  71. .defeat-search {
  72. width: 100%;
  73. height: 52px;
  74. display: flex;
  75. justify-content: center;
  76. align-items: center;
  77. border-bottom: solid 1px #e5e9ed;
  78. em {
  79. color: #666;
  80. font-style: normal;
  81. }
  82. }
  83. .form {
  84. width: 100%;
  85. padding: 0 16px;
  86. .ant-form-item-label,
  87. .ant-form-explain {
  88. text-align: left !important;
  89. }
  90. }
  91. }
  92. div {
  93. text-align: center;
  94. margin: 0;
  95. &.defeat {
  96. color: #333;
  97. font-size: 28px;
  98. }
  99. &.countDown {
  100. font-size: 14px;
  101. color: 666;
  102. em {
  103. font-style: normal;
  104. color: @primary-color;
  105. }
  106. }
  107. &:nth-child(3) {
  108. font-size: 14px;
  109. color: #666;
  110. padding-bottom: 10px;
  111. }
  112. }
  113. }
  114. button {
  115. margin-top: 10px;
  116. &.btn {
  117. margin-left: 8px;
  118. }
  119. }
  120. }
  121. // 新增
  122. &.add {
  123. .modalBody {
  124. width: 480px;
  125. height: auto;
  126. .content {
  127. width: 100%;
  128. height: auto;
  129. padding: 18px 14px 0 14px;
  130. .addForm {
  131. .ant-form-item {
  132. margin-bottom: 15px;
  133. .ant-form-item-label {
  134. line-height: 0;
  135. }
  136. }
  137. }
  138. .editForm {
  139. .ant-form-item {
  140. margin-bottom: 15px;
  141. .ant-form-item-label {
  142. line-height: 0;
  143. }
  144. }
  145. }
  146. }
  147. button {
  148. &:nth-child(1) {
  149. margin-right: 20px;
  150. }
  151. }
  152. }
  153. }
  154. }