configuration-priority.component.less 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  1. @import "../../../../../src/theme.less";
  2. :host {
  3. height: 100%;
  4. display: flex;
  5. flex-direction: column;
  6. justify-content: space-between;
  7. background-color: #F0F2F5;
  8. .list-template__nzTable,
  9. .list-template__bottom{
  10. padding: 0!important;
  11. border: none!important;
  12. background: #fff!important;
  13. }
  14. .list-template{
  15. width: 100%!important;
  16. height: 100%!important;
  17. }
  18. .content{
  19. flex: 1;
  20. min-height: 0;
  21. display: flex;
  22. flex-direction: column;
  23. justify-content: space-between;
  24. border: 1px solid #EEF3F9;
  25. &.priority{
  26. margin: 24px 118px 0;
  27. background-color: #fff;
  28. .contentInner{
  29. padding: 48px 206px;
  30. border: 1px solid #E8EBEF;
  31. }
  32. }
  33. .contentItem{
  34. padding: 4px 16px;
  35. cursor: pointer;
  36. overflow: hidden;
  37. text-overflow: ellipsis;
  38. white-space: nowrap;
  39. &.active{
  40. color: @primary-color;
  41. background-color: #F0F6ED;
  42. border-radius: 4px;
  43. }
  44. }
  45. .contentInner{
  46. flex: 1;
  47. display: flex;
  48. justify-content: space-between;
  49. align-items: center;
  50. padding: 0 16px;
  51. gap: 16px;
  52. .contentHead{
  53. height: 45px;
  54. display: flex;
  55. justify-content: space-between;
  56. align-items: center;
  57. gap: 16px;
  58. padding: 0 16px;
  59. font-size: 16px;
  60. font-weight: bold;
  61. border-bottom: 1px solid #D9D9D9;
  62. .title{
  63. overflow: hidden;
  64. text-overflow: ellipsis;
  65. white-space: nowrap;
  66. }
  67. .btns{
  68. flex-shrink: 0;
  69. }
  70. }
  71. .contentBody{
  72. padding: 0 8px;
  73. margin: 4px 0;
  74. flex: 1;
  75. }
  76. .address{
  77. flex: 1;
  78. height: 100%;
  79. background: #FFFFFF;
  80. border: 1px solid #E8EBEF;
  81. display: flex;
  82. flex-direction: column;
  83. width: 0;
  84. }
  85. .addressAssign{
  86. flex: 3;
  87. height: 100%;
  88. background: #FFFFFF;
  89. border: 1px solid #E8EBEF;
  90. display: flex;
  91. flex-direction: column;
  92. width: 0;
  93. }
  94. .list-template__searchItem {
  95. margin-bottom: 16px;
  96. .label {
  97. color: #333;
  98. display: inline-block;
  99. width: 70px;
  100. text-align-last: justify;
  101. text-align: justify;
  102. &.label--big {
  103. width: 100px;
  104. }
  105. }
  106. .formItem {
  107. width: 135px;
  108. }
  109. }
  110. }
  111. .contentBtns{
  112. margin-bottom: 16px;
  113. display: flex;
  114. justify-content: center;
  115. align-items: center;
  116. }
  117. }
  118. .save {
  119. position: fixed;
  120. left: 0;
  121. top: 0;
  122. width: 100%;
  123. height: 100%;
  124. background: rgba(0, 0, 0, 0.4);
  125. z-index: 99;
  126. .tips{
  127. margin-bottom: 16px!important;
  128. }
  129. .modalBody {
  130. width: 350px;
  131. background: #fff;
  132. border-radius: 5px;
  133. padding: 10px 20px;
  134. color: #333;
  135. .title {
  136. width: 100%;
  137. text-align: center;
  138. font-size: 18px;
  139. position: relative;
  140. i {
  141. position: absolute;
  142. right: 0;
  143. top: 0;
  144. font-size: 20px;
  145. color: #666;
  146. cursor: pointer;
  147. padding: 0 5px;
  148. }
  149. }
  150. .content {
  151. width: 310px;
  152. background: #f9fafb;
  153. border: 1px solid #e5e9ed;
  154. border-radius: 5px;
  155. overflow: hidden;
  156. margin-top: 12px;
  157. padding: 16px 0;
  158. .busyList{
  159. display: flex;
  160. margin-bottom: 8px;
  161. .busyContent{
  162. margin-right: 8px;
  163. flex: 1;
  164. }
  165. }
  166. & > div {
  167. text-align: center;
  168. margin: 0;
  169. &.icon {
  170. // margin-top: 17px;
  171. i {
  172. color: #34b349;
  173. font-size: 30px !important;
  174. &.transport-wenhao {
  175. color: #f5a523;
  176. }
  177. &.transport-shibai {
  178. color: #ff3a52;
  179. }
  180. }
  181. }
  182. &.defeat {
  183. color: #333;
  184. font-size: 14px;
  185. }
  186. &:nth-child(3) {
  187. font-size: 14px;
  188. color: #666;
  189. }
  190. }
  191. .workAssignmentTips {
  192. font-size: 12px;
  193. }
  194. }
  195. button {
  196. margin-top: 10px;
  197. &.btn {
  198. margin-left: 8px;
  199. }
  200. }
  201. }
  202. // 新增
  203. &.add {
  204. .modalBody {
  205. width: 480px;
  206. height: auto;
  207. .content {
  208. width: 100%;
  209. height: auto;
  210. padding: 16px;
  211. max-height: 497px;
  212. overflow-y: auto;
  213. .addForm {
  214. .ant-form-item {
  215. margin-bottom: 0;
  216. .ant-form-item-label {
  217. text-align: left;
  218. }
  219. .desc {
  220. margin-top: 5px;
  221. }
  222. }
  223. .datesControl {
  224. margin-top: -16px;
  225. .ant-form-item-label {
  226. line-height: 40px;
  227. }
  228. }
  229. .timer {
  230. .ant-form-item-label {
  231. width: 100%;
  232. text-align: left;
  233. }
  234. .numInp {
  235. margin-right: 5px;
  236. }
  237. .line {
  238. margin-right: 5px;
  239. }
  240. }
  241. .timer2 {
  242. .ant-form-item-label {
  243. line-height: 20px;
  244. }
  245. }
  246. }
  247. .editForm {
  248. .ant-form-item {
  249. margin-bottom: 15px;
  250. .ant-form-item-label {
  251. line-height: 14px;
  252. text-align: left;
  253. }
  254. }
  255. }
  256. }
  257. }
  258. }
  259. }
  260. }