businessData-detail-modal.component.less 4.5 KB

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