businessData-detail-modal.component.less 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  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. .drugsBag{
  11. display: flex;
  12. align-items: center;
  13. font-size: 16px;
  14. gap: 40px;
  15. padding: 16px 24px 0;
  16. border-top: 1px solid #E8EBEF;
  17. }
  18. .hospitalTable {
  19. width: 100%;
  20. td {
  21. text-align: center !important;
  22. position: relative;
  23. word-break: break-all;
  24. }
  25. .thead {
  26. background-image: linear-gradient(to right, @bg-start, @bg-end);
  27. th {
  28. text-align: center !important;
  29. color: #fff;
  30. background: transparent;
  31. }
  32. }
  33. }
  34. .ji {
  35. position: absolute;
  36. right: 0px;
  37. top: -3px;
  38. width: 30px;
  39. }
  40. .list-template__top{
  41. div{
  42. text-align: left!important;
  43. }
  44. }
  45. .tab {
  46. width: 100%;
  47. height: 60px;
  48. border-bottom: 1px solid #e5e9ed;
  49. background-color: #fff;
  50. .item {
  51. text-align: center;
  52. line-height: 60px;
  53. height: 100%;
  54. border-right: 1px solid #e5e9ed;
  55. &:nth-last-child(1) {
  56. border: none;
  57. }
  58. &.checked {
  59. background: #f0f6ed;
  60. }
  61. }
  62. }
  63. .modalBody {
  64. width: 700px;
  65. background: #fff;
  66. border-radius: 5px;
  67. color: #333;
  68. &.modalBody-search {
  69. width: 480px;
  70. min-height: 250px;
  71. }
  72. .title {
  73. width: 100%;
  74. height: 53px;
  75. line-height: 53px;
  76. border-bottom: 1px solid #E8EBEF;
  77. padding: 0 28px;
  78. text-align: center;
  79. font-size: 18px;
  80. position: relative;
  81. i {
  82. position: absolute;
  83. right: 28px;
  84. top: 0;
  85. font-size: 20px;
  86. color: #666;
  87. cursor: pointer;
  88. padding: 0 5px;
  89. }
  90. }
  91. .content {
  92. background: #f9fafb;
  93. border: 1px solid #e5e9ed;
  94. border-radius: 5px;
  95. overflow: hidden;
  96. margin: 16px 24px 0;
  97. display: flex;
  98. flex-direction: column;
  99. justify-content: center;
  100. align-items: center;
  101. &.content-search {
  102. min-height: 147px;
  103. justify-content: start;
  104. .defeat-search {
  105. width: 100%;
  106. height: 52px;
  107. display: flex;
  108. justify-content: center;
  109. align-items: center;
  110. border-bottom: solid 1px #e5e9ed;
  111. em {
  112. color: #666;
  113. font-style: normal;
  114. }
  115. }
  116. .form {
  117. width: 100%;
  118. padding: 0 16px;
  119. .ant-form-item-label,
  120. .ant-form-explain {
  121. text-align: left !important;
  122. }
  123. }
  124. }
  125. div {
  126. text-align: center;
  127. margin: 0;
  128. &.defeat {
  129. color: #333;
  130. font-size: 28px;
  131. }
  132. &.countDown {
  133. font-size: 14px;
  134. color: 666;
  135. em {
  136. font-style: normal;
  137. color: @primary-color;
  138. }
  139. }
  140. &.pagination {
  141. font-size: 14px;
  142. color: #666;
  143. padding-top: 16px;
  144. padding-bottom: 16px;
  145. }
  146. }
  147. }
  148. button {
  149. margin-top: 10px;
  150. margin-bottom: 10px;
  151. &.btn {
  152. margin-left: 8px;
  153. }
  154. }
  155. }
  156. // 新增
  157. &.add {
  158. .modalBody {
  159. width: 480px;
  160. height: auto;
  161. .content {
  162. width: 100%;
  163. height: auto;
  164. padding: 18px 14px 0 14px;
  165. .addForm {
  166. .ant-form-item {
  167. margin-bottom: 15px;
  168. .ant-form-item-label {
  169. line-height: 0;
  170. }
  171. }
  172. }
  173. .editForm {
  174. .ant-form-item {
  175. margin-bottom: 15px;
  176. .ant-form-item-label {
  177. line-height: 0;
  178. }
  179. }
  180. }
  181. }
  182. button {
  183. &:nth-child(1) {
  184. margin-right: 20px;
  185. }
  186. }
  187. }
  188. }
  189. }