app.scss 53 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058
  1. // 全局样式
  2. html,
  3. body,
  4. #app {
  5. min-height: 100%;
  6. }
  7. body {
  8. font-family:
  9. Inter,
  10. -apple-system,
  11. BlinkMacSystemFont,
  12. 'Segoe UI',
  13. Roboto,
  14. sans-serif;
  15. font-size: 14px;
  16. line-height: 1.5;
  17. color: var(--mint-text);
  18. background: var(--mint-bg-page);
  19. }
  20. :root {
  21. --theme-color: var(--mint-primary);
  22. --default-bg-color: var(--mint-bg-page);
  23. --default-box-color: var(--mint-surface);
  24. --art-card-border: var(--mint-border);
  25. --custom-radius: 16px;
  26. --section-bar-title-color: var(--primary-dark, #059669);
  27. --section-bar-border-color: var(--primary, #10b981);
  28. }
  29. /* 区块标题(左绿条):全局文字色与竖条色 */
  30. :is(
  31. .pl-plan-form-section-title,
  32. .pl-arrange-view-title,
  33. .dialog-section-title,
  34. .dlg-view-section-title,
  35. .vehicle-view-section-title,
  36. .personnel-view-card-title,
  37. .cert-view-card-title,
  38. .party-panel__title,
  39. .db-related-table-title,
  40. .db-chart-title,
  41. .pl-plan-feedback-region__title,
  42. .panel-section-title,
  43. .approval-section-title,
  44. .execute-section-title,
  45. .invalid-section-title,
  46. .data-scope-col-title,
  47. .data-scope-summary-heading
  48. ) {
  49. color: var(--section-bar-title-color);
  50. border-left-color: var(--section-bar-border-color);
  51. }
  52. .contract-info-section h3,
  53. .dict-view-data-section h3,
  54. .clue-view-follow-section h3,
  55. .system-view-dialog .view-section h3 {
  56. color: var(--section-bar-title-color);
  57. border-left-color: var(--section-bar-border-color);
  58. }
  59. /* 价格/单价/金额 — 全局(含 append-to-body 弹窗,见 ui-conventions「金额与单价千分位输入与展示」) */
  60. .money-display {
  61. color: #dc2626;
  62. font-weight: 600;
  63. }
  64. .money-field-input .el-input__inner,
  65. .money-field-input .el-input__wrapper input {
  66. color: #dc2626 !important;
  67. -webkit-text-fill-color: #dc2626 !important;
  68. font-weight: 600;
  69. }
  70. // 顶部进度条颜色
  71. #nprogress .bar {
  72. z-index: 2400;
  73. background-color: var(--mint-primary);
  74. }
  75. #nprogress .peg {
  76. box-shadow:
  77. 0 0 10px var(--theme-color),
  78. 0 0 5px var(--theme-color) !important;
  79. }
  80. #nprogress .spinner-icon {
  81. border-top-color: var(--theme-color) !important;
  82. border-left-color: var(--theme-color) !important;
  83. }
  84. // 处理移动端组件兼容性
  85. @media screen and (max-width: 640px) {
  86. * {
  87. cursor: default !important;
  88. }
  89. }
  90. // 背景滤镜
  91. *,
  92. ::before,
  93. ::after {
  94. --tw-backdrop-blur: ;
  95. --tw-backdrop-brightness: ;
  96. --tw-backdrop-contrast: ;
  97. --tw-backdrop-grayscale: ;
  98. --tw-backdrop-hue-rotate: ;
  99. --tw-backdrop-invert: ;
  100. --tw-backdrop-opacity: ;
  101. --tw-backdrop-saturate: ;
  102. --tw-backdrop-sepia: ;
  103. }
  104. // 色弱模式
  105. .color-weak {
  106. filter: invert(80%);
  107. -webkit-filter: invert(80%);
  108. }
  109. #noop {
  110. display: none;
  111. }
  112. // 语言切换选中样式
  113. .langDropDownStyle {
  114. // 选中项背景颜色
  115. .is-selected {
  116. background-color: var(--art-el-active-color) !important;
  117. }
  118. // 语言切换按钮菜单样式优化
  119. .lang-btn-item {
  120. .el-dropdown-menu__item {
  121. padding-left: 13px !important;
  122. padding-right: 6px !important;
  123. margin-bottom: 3px !important;
  124. }
  125. &:last-child {
  126. .el-dropdown-menu__item {
  127. margin-bottom: 0 !important;
  128. }
  129. }
  130. .menu-txt {
  131. min-width: 60px;
  132. display: block;
  133. }
  134. i {
  135. font-size: 10px;
  136. margin-left: 10px;
  137. }
  138. }
  139. }
  140. // 盒子默认边框
  141. .page-content {
  142. border: 1px solid var(--mint-border) !important;
  143. border-radius: 0 !important;
  144. box-shadow: var(--mint-shadow) !important;
  145. }
  146. @mixin art-card-base($border-color, $shadow: none, $radius-diff: 4px) {
  147. background: var(--default-box-color);
  148. border: 1px solid #{$border-color} !important;
  149. border-radius: calc(var(--custom-radius) + #{$radius-diff}) !important;
  150. box-shadow: #{$shadow} !important;
  151. --el-card-border-color: var(--default-border) !important;
  152. }
  153. .art-card,
  154. .art-card-sm,
  155. .art-card-xs {
  156. border: 1px solid var(--art-card-border);
  157. }
  158. // 盒子边框
  159. [data-box-mode='border-mode'] {
  160. .page-content,
  161. .art-table-card {
  162. border: 1px solid var(--art-card-border) !important;
  163. }
  164. .art-card {
  165. @include art-card-base(var(--art-card-border), none, 4px);
  166. }
  167. .art-card-sm {
  168. @include art-card-base(var(--art-card-border), none, 0px);
  169. }
  170. .art-card-xs {
  171. @include art-card-base(var(--art-card-border), none, -4px);
  172. }
  173. }
  174. // 盒子阴影
  175. [data-box-mode='shadow-mode'] {
  176. .page-content,
  177. .art-table-card {
  178. box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.04) !important;
  179. border: 1px solid var(--art-gray-200) !important;
  180. }
  181. .layout-sidebar {
  182. border-right: 1px solid var(--art-card-border) !important;
  183. }
  184. .art-card {
  185. @include art-card-base(
  186. var(--art-gray-200),
  187. (0 1px 3px 0 rgba(0, 0, 0, 0.03), 0 1px 2px -1px rgba(0, 0, 0, 0.08)),
  188. 4px
  189. );
  190. }
  191. .art-card-sm {
  192. @include art-card-base(
  193. var(--art-gray-200),
  194. (0 1px 3px 0 rgba(0, 0, 0, 0.03), 0 1px 2px -1px rgba(0, 0, 0, 0.08)),
  195. 2px
  196. );
  197. }
  198. .art-card-xs {
  199. @include art-card-base(
  200. var(--art-gray-200),
  201. (0 1px 2px 0 rgba(0, 0, 0, 0.03), 0 1px 1px -1px rgba(0, 0, 0, 0.08)),
  202. -4px
  203. );
  204. }
  205. }
  206. // 元素全屏
  207. .el-full-screen {
  208. position: fixed;
  209. top: 0;
  210. left: 0;
  211. right: 0;
  212. width: 100vw !important;
  213. height: 100% !important;
  214. z-index: 2300;
  215. margin-top: 0;
  216. padding: 15px;
  217. box-sizing: border-box;
  218. background-color: var(--default-box-color);
  219. display: flex;
  220. flex-direction: column;
  221. }
  222. // 表格卡片
  223. .art-table-card {
  224. flex: 1;
  225. display: flex;
  226. flex-direction: column;
  227. margin-top: 12px;
  228. border-radius: var(--mint-radius) !important;
  229. border: 1px solid var(--mint-border) !important;
  230. box-shadow: var(--mint-shadow) !important;
  231. .el-card__body {
  232. height: 100%;
  233. overflow: hidden;
  234. }
  235. }
  236. // 容器全高
  237. .art-full-height {
  238. height: var(--art-full-height);
  239. display: flex;
  240. flex-direction: column;
  241. @media (max-width: 640px) {
  242. height: auto;
  243. }
  244. }
  245. // 徽章样式
  246. .art-badge {
  247. position: absolute;
  248. top: 0;
  249. right: 20px;
  250. bottom: 0;
  251. width: 6px;
  252. height: 6px;
  253. margin: auto;
  254. background: #ff3860;
  255. border-radius: 50%;
  256. animation: breathe 1.5s ease-in-out infinite;
  257. &.art-badge-horizontal {
  258. right: 0;
  259. }
  260. &.art-badge-mixed {
  261. right: 0;
  262. }
  263. &.art-badge-dual {
  264. right: 5px;
  265. top: 5px;
  266. bottom: auto;
  267. }
  268. }
  269. // 文字徽章样式
  270. .art-text-badge {
  271. position: absolute;
  272. top: 0;
  273. right: 12px;
  274. bottom: 0;
  275. min-width: 20px;
  276. height: 18px;
  277. line-height: 17px;
  278. padding: 0 5px;
  279. margin: auto;
  280. font-size: 10px;
  281. color: #fff;
  282. text-align: center;
  283. background: #dc2626;
  284. border-radius: 4px;
  285. &--circle {
  286. right: 8px;
  287. min-width: 18px;
  288. height: 18px;
  289. padding: 0 4px;
  290. line-height: 18px;
  291. border-radius: 999px;
  292. font-size: 10px;
  293. font-weight: 600;
  294. box-sizing: border-box;
  295. }
  296. }
  297. @keyframes breathe {
  298. 0% {
  299. opacity: 0.7;
  300. transform: scale(1);
  301. }
  302. 50% {
  303. opacity: 1;
  304. transform: scale(1.1);
  305. }
  306. 100% {
  307. opacity: 0.7;
  308. transform: scale(1);
  309. }
  310. }
  311. // 修复老机型 loading 定位问题
  312. .art-loading-fix {
  313. position: fixed !important;
  314. top: 0 !important;
  315. left: 0 !important;
  316. right: 0 !important;
  317. bottom: 0 !important;
  318. width: 100vw !important;
  319. height: 100vh !important;
  320. display: flex !important;
  321. align-items: center !important;
  322. justify-content: center !important;
  323. }
  324. .art-loading-fix .el-loading-spinner {
  325. position: static !important;
  326. top: auto !important;
  327. left: auto !important;
  328. transform: none !important;
  329. }
  330. // 去除移动端点击背景色
  331. @media screen and (max-width: 1180px) {
  332. * {
  333. -webkit-tap-highlight-color: transparent;
  334. }
  335. }
  336. .page-head {
  337. margin-bottom: 16px;
  338. h1 {
  339. margin: 0 0 4px;
  340. font-size: 20px;
  341. font-weight: 700;
  342. letter-spacing: -0.02em;
  343. color: var(--mint-text);
  344. }
  345. .page-desc,
  346. .desc {
  347. margin: 0;
  348. color: var(--mint-text-muted);
  349. font-size: 13px;
  350. line-height: 1.45;
  351. max-width: 720px;
  352. }
  353. }
  354. .panel {
  355. background: var(--mint-surface);
  356. border: none;
  357. border-radius: var(--mint-radius);
  358. box-shadow: var(--mint-shadow);
  359. /* 不要用 overflow:hidden:会导致 el-table 右侧固定列(fixed="right")无法正确粘贴/层级错乱 */
  360. overflow: visible;
  361. }
  362. .panel-top {
  363. display: flex;
  364. align-items: center;
  365. justify-content: space-between;
  366. flex-wrap: wrap;
  367. gap: 8px;
  368. padding: 10px 16px;
  369. h2,
  370. h3 {
  371. display: inline-flex;
  372. align-items: center;
  373. gap: 2px;
  374. margin: 0;
  375. font-size: 14px;
  376. font-weight: 600;
  377. color: var(--mint-text);
  378. }
  379. h2 .title-ic,
  380. h3 .title-ic {
  381. width: 22px;
  382. height: 22px;
  383. border-radius: 8px;
  384. display: inline-flex;
  385. align-items: center;
  386. justify-content: center;
  387. background: var(--mint-primary-bg);
  388. color: var(--mint-primary-dark);
  389. border: 1px solid rgba(28, 168, 81, 0.16);
  390. margin-right: 4px;
  391. flex-shrink: 0;
  392. }
  393. h2 .title-ic::before,
  394. h3 .title-ic::before {
  395. content: '';
  396. width: 14px;
  397. height: 14px;
  398. background-color: currentColor;
  399. opacity: 0.95;
  400. mask: var(--panel-title-icon-mask) center / contain no-repeat;
  401. -webkit-mask: var(--panel-title-icon-mask) center / contain no-repeat;
  402. }
  403. h2.title-bar-heading {
  404. gap: 8px;
  405. }
  406. h2.title-bar-heading .title-ic {
  407. display: none !important;
  408. }
  409. h2.title-bar-heading::before {
  410. content: '';
  411. width: 4px;
  412. height: 14px;
  413. border-radius: 999px;
  414. background: var(--mint-primary, #1ca851);
  415. flex-shrink: 0;
  416. }
  417. }
  418. // 面板级胶囊分段 Tab(薄荷绿渐变轨道 + 主色选中,对齐 zkxw 生产工单等页)
  419. .panel-pill-tabs {
  420. // 自定义按钮结构(生产工单 TabBar 等)
  421. &:not(.el-tabs) {
  422. display: flex;
  423. justify-content: center;
  424. margin: 12px 24px 4px;
  425. }
  426. &--start:not(.el-tabs) {
  427. justify-content: flex-start;
  428. }
  429. &--lg:not(.el-tabs) {
  430. margin: 16px 24px 8px;
  431. .panel-pill-tabs__track {
  432. gap: 6px;
  433. padding: 5px;
  434. border-radius: 10px;
  435. }
  436. .panel-pill-tabs__btn {
  437. min-width: 140px;
  438. padding: 10px 28px;
  439. border-radius: 8px;
  440. font-size: 14px;
  441. }
  442. }
  443. &__track {
  444. display: inline-flex;
  445. gap: 4px;
  446. padding: 4px;
  447. background: linear-gradient(180deg, var(--primary-bg, #e6f8ed) 0%, #fff 100%);
  448. border: 1px solid #d4f0de;
  449. border-radius: 8px;
  450. }
  451. &__btn {
  452. position: relative;
  453. display: inline-flex;
  454. align-items: center;
  455. justify-content: center;
  456. min-width: 108px;
  457. padding: 8px 20px;
  458. border: none;
  459. border-radius: 6px;
  460. background: transparent;
  461. font-size: 13px;
  462. font-weight: 500;
  463. line-height: 1.4;
  464. text-align: center;
  465. color: var(--mint-text-muted, #64748b);
  466. cursor: pointer;
  467. white-space: nowrap;
  468. transition:
  469. background 0.15s,
  470. color 0.15s,
  471. box-shadow 0.15s;
  472. &:hover:not(.is-active) {
  473. color: #125a30;
  474. }
  475. &.is-active {
  476. background: var(--primary, #1ca851);
  477. color: #fff;
  478. box-shadow: 0 1px 3px rgba(28, 168, 81, 0.28);
  479. font-weight: 500;
  480. &:hover {
  481. color: #fff;
  482. background: var(--primary, #1ca851);
  483. }
  484. }
  485. }
  486. &__badge {
  487. position: absolute;
  488. top: -5px;
  489. right: -4px;
  490. display: inline-flex;
  491. align-items: center;
  492. justify-content: center;
  493. min-width: 18px;
  494. height: 18px;
  495. padding: 0 5px;
  496. border-radius: 999px;
  497. background: #d97706;
  498. color: #fff;
  499. font-size: 11px;
  500. font-weight: 600;
  501. line-height: 1;
  502. border: 2px solid #d4f0de;
  503. pointer-events: none;
  504. box-sizing: border-box;
  505. }
  506. &__btn.is-active &__badge {
  507. border-color: var(--primary, #1ca851);
  508. }
  509. &__badge--zero {
  510. background: #94a3b8;
  511. }
  512. &__badge--dual {
  513. min-width: 34px;
  514. padding: 0 6px;
  515. font-size: 10px;
  516. letter-spacing: -0.02em;
  517. }
  518. &__btn.is-active &__badge--zero {
  519. background: rgba(255, 255, 255, 0.92);
  520. color: var(--primary-dark, #168f45);
  521. border-color: var(--primary, #1ca851);
  522. }
  523. // el-tabs 结构
  524. &.el-tabs {
  525. > .el-tabs__header {
  526. display: flex;
  527. justify-content: center;
  528. margin: 12px 24px 4px;
  529. padding: 0;
  530. border: none;
  531. }
  532. .el-tabs__nav-wrap {
  533. flex: 0 1 auto;
  534. &::after {
  535. display: none;
  536. }
  537. }
  538. .el-tabs__nav-scroll {
  539. display: flex;
  540. justify-content: center;
  541. }
  542. .el-tabs__nav {
  543. display: inline-flex;
  544. gap: 4px;
  545. float: none;
  546. padding: 4px;
  547. background: linear-gradient(180deg, var(--primary-bg, #e6f8ed) 0%, #fff 100%);
  548. border: 1px solid #d4f0de;
  549. border-radius: 8px;
  550. }
  551. .el-tabs__active-bar {
  552. display: none;
  553. }
  554. .el-tabs__item {
  555. display: inline-flex !important;
  556. align-items: center !important;
  557. justify-content: center !important;
  558. box-sizing: border-box;
  559. min-width: 108px;
  560. height: auto !important;
  561. margin: 0 !important;
  562. padding: 8px 20px !important;
  563. border: none !important;
  564. border-radius: 6px;
  565. font-size: 13px;
  566. font-weight: 500;
  567. line-height: 1.4;
  568. text-align: center !important;
  569. color: var(--mint-text-muted, #64748b);
  570. transition:
  571. background 0.15s,
  572. color 0.15s,
  573. box-shadow 0.15s;
  574. &:hover:not(.is-active) {
  575. color: #125a30;
  576. }
  577. &.is-active {
  578. background: var(--primary, #1ca851);
  579. color: #fff;
  580. box-shadow: 0 1px 3px rgba(28, 168, 81, 0.28);
  581. font-weight: 500;
  582. &:hover {
  583. color: #fff;
  584. background: var(--primary, #1ca851);
  585. }
  586. }
  587. }
  588. }
  589. &--start.el-tabs {
  590. > .el-tabs__header {
  591. justify-content: flex-start;
  592. }
  593. .el-tabs__nav-scroll {
  594. justify-content: flex-start;
  595. }
  596. }
  597. &--lg.el-tabs {
  598. > .el-tabs__header {
  599. margin: 16px 24px 8px;
  600. }
  601. .el-tabs__nav {
  602. gap: 6px;
  603. padding: 5px;
  604. border-radius: 10px;
  605. }
  606. .el-tabs__item {
  607. min-width: 140px;
  608. padding: 10px 28px !important;
  609. border-radius: 8px;
  610. font-size: 14px;
  611. }
  612. }
  613. }
  614. .page-container .panel-tabs {
  615. /* 底部分隔线跟 Tab 项同宽,不要拉满整块面板 */
  616. border-bottom: none;
  617. .el-tabs__header {
  618. width: max-content;
  619. max-width: 100%;
  620. margin: 0;
  621. padding: 0 16px;
  622. }
  623. .el-tabs__nav-wrap {
  624. padding: 0;
  625. &::after {
  626. height: 1px;
  627. background-color: var(--mint-border);
  628. }
  629. }
  630. .el-tabs__nav-scroll {
  631. padding: 0;
  632. }
  633. .el-tabs__nav {
  634. float: none;
  635. }
  636. .el-tabs__item {
  637. height: 40px;
  638. padding: 0 16px;
  639. &:first-child {
  640. padding-left: 0;
  641. }
  642. }
  643. }
  644. .page-container
  645. :is(
  646. .panel-top h2,
  647. .panel-top h3,
  648. .storage-content-header h3,
  649. .storage-aside__head h2,
  650. .user-dept-aside__head h2
  651. ).auto-title-tenant,
  652. .console-container .panel-top h2.auto-title-tenant {
  653. --panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z'/%3E%3Cpath d='M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2'/%3E%3Cpath d='M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2'/%3E%3Cpath d='M10 6h4'/%3E%3Cpath d='M10 10h4'/%3E%3Cpath d='M10 14h4'/%3E%3Cpath d='M10 18h4'/%3E%3C/svg%3E");
  654. }
  655. .page-container
  656. :is(
  657. .panel-top h2,
  658. .panel-top h3,
  659. .storage-content-header h3,
  660. .storage-aside__head h2,
  661. .user-dept-aside__head h2
  662. ).auto-title-dict,
  663. .console-container .panel-top h2.auto-title-dict {
  664. --panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E");
  665. }
  666. .page-container
  667. :is(
  668. .panel-top h2,
  669. .panel-top h3,
  670. .storage-content-header h3,
  671. .storage-aside__head h2,
  672. .user-dept-aside__head h2
  673. ).auto-title-role,
  674. .console-container .panel-top h2.auto-title-role {
  675. --panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");
  676. }
  677. .page-container
  678. :is(
  679. .panel-top h2,
  680. .panel-top h3,
  681. .storage-content-header h3,
  682. .storage-aside__head h2,
  683. .user-dept-aside__head h2
  684. ).auto-title-menu,
  685. .console-container .panel-top h2.auto-title-menu {
  686. --panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3C/svg%3E");
  687. }
  688. .page-container
  689. :is(
  690. .panel-top h2,
  691. .panel-top h3,
  692. .storage-content-header h3,
  693. .storage-aside__head h2,
  694. .user-dept-aside__head h2
  695. ).auto-title-post,
  696. .console-container .panel-top h2.auto-title-post {
  697. --panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 7V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2'/%3E%3C/svg%3E");
  698. }
  699. .page-container
  700. :is(
  701. .panel-top h2,
  702. .panel-top h3,
  703. .storage-content-header h3,
  704. .storage-aside__head h2,
  705. .user-dept-aside__head h2
  706. ).auto-title-unit,
  707. .console-container .panel-top h2.auto-title-unit {
  708. --panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 16V8a2 2 0 0 0-1-1.7l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.7l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z'/%3E%3Cpath d='M3.3 7L12 12l8.7-5'/%3E%3Cpath d='M12 22V12'/%3E%3C/svg%3E");
  709. }
  710. .page-container
  711. :is(
  712. .panel-top h2,
  713. .panel-top h3,
  714. .storage-content-header h3,
  715. .storage-aside__head h2,
  716. .user-dept-aside__head h2
  717. ).auto-title-express,
  718. .console-container .panel-top h2.auto-title-express {
  719. --panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2'/%3E%3Cpath d='M15 18H9'/%3E%3Cpath d='M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3C/svg%3E");
  720. }
  721. .page-container
  722. :is(
  723. .panel-top h2,
  724. .panel-top h3,
  725. .storage-content-header h3,
  726. .storage-aside__head h2,
  727. .user-dept-aside__head h2
  728. ).auto-title-dept,
  729. .console-container .panel-top h2.auto-title-dept {
  730. --panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='5' r='2'/%3E%3Ccircle cx='6' cy='19' r='2'/%3E%3Ccircle cx='18' cy='19' r='2'/%3E%3Cpath d='M12 7v4'/%3E%3Cpath d='m7 15 5-4 5 4'/%3E%3C/svg%3E");
  731. }
  732. .page-container
  733. :is(
  734. .panel-top h2,
  735. .panel-top h3,
  736. .storage-content-header h3,
  737. .storage-aside__head h2,
  738. .user-dept-aside__head h2
  739. ).auto-title-list,
  740. .console-container .panel-top h2.auto-title-list {
  741. --panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6h13'/%3E%3Cpath d='M8 12h13'/%3E%3Cpath d='M8 18h13'/%3E%3Cpath d='M3 6h.01'/%3E%3Cpath d='M3 12h.01'/%3E%3Cpath d='M3 18h.01'/%3E%3C/svg%3E");
  742. }
  743. .page-container .storage-content-header h3 {
  744. display: inline-flex;
  745. align-items: center;
  746. gap: 2px;
  747. margin: 0;
  748. font-size: 14px;
  749. font-weight: 600;
  750. color: var(--mint-text);
  751. .title-ic {
  752. width: 22px;
  753. height: 22px;
  754. border-radius: 8px;
  755. display: inline-flex;
  756. align-items: center;
  757. justify-content: center;
  758. background: var(--mint-primary-bg);
  759. color: var(--mint-primary-dark);
  760. border: 1px solid rgba(28, 168, 81, 0.16);
  761. margin-right: 4px;
  762. flex-shrink: 0;
  763. }
  764. .title-ic::before {
  765. content: '';
  766. width: 14px;
  767. height: 14px;
  768. background-color: currentColor;
  769. opacity: 0.95;
  770. mask: var(--panel-title-icon-mask) center / contain no-repeat;
  771. -webkit-mask: var(--panel-title-icon-mask) center / contain no-repeat;
  772. }
  773. }
  774. .page-container
  775. :is(
  776. .panel-top h2,
  777. .panel-top h3,
  778. .storage-content-header h3,
  779. .storage-aside__head h2,
  780. .user-dept-aside__head h2
  781. ).auto-title-operation,
  782. .console-container .panel-top h2.auto-title-operation {
  783. --panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z'/%3E%3C/svg%3E");
  784. }
  785. .page-container
  786. :is(
  787. .panel-top h2,
  788. .panel-top h3,
  789. .storage-content-header h3,
  790. .storage-aside__head h2,
  791. .user-dept-aside__head h2
  792. ).auto-title-location,
  793. .console-container .panel-top h2.auto-title-location {
  794. --panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-4.5-7-11a7 7 0 1 1 14 0c0 6.5-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
  795. }
  796. .page-container
  797. :is(
  798. .panel-top h2,
  799. .panel-top h3,
  800. .storage-content-header h3,
  801. .storage-aside__head h2,
  802. .user-dept-aside__head h2
  803. ).auto-title-user,
  804. .console-container .panel-top h2.auto-title-user {
  805. --panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
  806. }
  807. .page-container
  808. :is(
  809. .panel-top h2,
  810. .panel-top h3,
  811. .storage-content-header h3,
  812. .storage-aside__head h2,
  813. .user-dept-aside__head h2
  814. ).auto-title-route,
  815. .console-container .panel-top h2.auto-title-route {
  816. --panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='19' r='3'/%3E%3Cpath d='M9 19h8.5a3.5 3.5 0 0 0 0-7h-11a3.5 3.5 0 0 1 0-7H15'/%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3C/svg%3E");
  817. }
  818. .page-container
  819. :is(
  820. .panel-top h2,
  821. .panel-top h3,
  822. .storage-content-header h3,
  823. .storage-aside__head h2,
  824. .user-dept-aside__head h2
  825. ).auto-title-settings,
  826. .console-container .panel-top h2.auto-title-settings {
  827. --panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15.5a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7z'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 0 0 .3 1.9l.1.1-1.5 2.6-0.2-.1a2 2 0 0 0-2.1.4 1.8 1.8 0 0 0-.6 2v.2H9.6v-.2a1.8 1.8 0 0 0-.6-2 2 2 0 0 0-2.1-.4l-.2.1-1.5-2.6.1-.1A1.7 1.7 0 0 0 4.6 15a1.7 1.7 0 0 0-1.6-1.1H3v-3h.0a1.7 1.7 0 0 0 1.6-1.1 1.7 1.7 0 0 0-.3-1.9l-.1-.1 1.5-2.6.2.1a2 2 0 0 0 2.1-.4 1.8 1.8 0 0 0 .6-2V2h4.8v.2a1.8 1.8 0 0 0 .6 2 2 2 0 0 0 2.1.4l.2-.1 1.5 2.6-.1.1a1.7 1.7 0 0 0-.3 1.9A1.7 1.7 0 0 0 21 10.9h.0v3H21a1.7 1.7 0 0 0-1.6 1.1z'/%3E%3C/svg%3E");
  828. }
  829. .page-container
  830. :is(
  831. .panel-top h2,
  832. .panel-top h3,
  833. .storage-content-header h3,
  834. .storage-aside__head h2,
  835. .user-dept-aside__head h2
  836. ).auto-title-category,
  837. .console-container .panel-top h2.auto-title-category {
  838. --panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16'/%3E%3Cpath d='M4 12h16'/%3E%3Cpath d='M4 18h16'/%3E%3C/svg%3E");
  839. }
  840. .page-container
  841. :is(
  842. .panel-top h2,
  843. .panel-top h3,
  844. .storage-content-header h3,
  845. .storage-aside__head h2,
  846. .user-dept-aside__head h2
  847. ).auto-title-box,
  848. .console-container .panel-top h2.auto-title-box {
  849. --panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 16V8a2 2 0 0 0-1-1.7l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.7l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z'/%3E%3Cpath d='M3.3 7L12 12l8.7-5'/%3E%3Cpath d='M12 22V12'/%3E%3C/svg%3E");
  850. }
  851. .page-container
  852. :is(
  853. .panel-top h2,
  854. .panel-top h3,
  855. .storage-content-header h3,
  856. .storage-aside__head h2,
  857. .user-dept-aside__head h2
  858. ).auto-title-receipt,
  859. .console-container .panel-top h2.auto-title-receipt {
  860. --panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2h12v20l-2-1-2 1-2-1-2 1-2-1-2 1V2z'/%3E%3Cpath d='M8 6h8'/%3E%3Cpath d='M8 10h8'/%3E%3Cpath d='M8 14h6'/%3E%3C/svg%3E");
  861. }
  862. .page-container
  863. :is(
  864. .panel-top h2,
  865. .panel-top h3,
  866. .storage-content-header h3,
  867. .storage-aside__head h2,
  868. .user-dept-aside__head h2
  869. ).auto-title-file,
  870. .console-container .panel-top h2.auto-title-file {
  871. --panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3C/svg%3E");
  872. }
  873. .page-container
  874. :is(
  875. .panel-top h2,
  876. .panel-top h3,
  877. .storage-content-header h3,
  878. .storage-aside__head h2,
  879. .user-dept-aside__head h2
  880. ).auto-title-quote,
  881. .console-container .panel-top h2.auto-title-quote {
  882. --panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H7l-4 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z'/%3E%3C/svg%3E");
  883. }
  884. .page-container
  885. :is(
  886. .panel-top h2,
  887. .panel-top h3,
  888. .storage-content-header h3,
  889. .storage-aside__head h2,
  890. .user-dept-aside__head h2
  891. ).auto-title-calc,
  892. .console-container .panel-top h2.auto-title-calc {
  893. --panel-title-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='2' width='14' height='20' rx='2'/%3E%3Cpath d='M9 6h6'/%3E%3Cpath d='M8 10h2'/%3E%3Cpath d='M14 10h2'/%3E%3Cpath d='M8 14h2'/%3E%3Cpath d='M14 14h2'/%3E%3Cpath d='M8 18h8'/%3E%3C/svg%3E");
  894. }
  895. .page-container,
  896. .console-container {
  897. .filter-block {
  898. padding: 12px 16px 10px;
  899. background: transparent;
  900. border-bottom: none;
  901. &.is-filter-collapsed {
  902. display: none !important;
  903. }
  904. }
  905. .filter-hint {
  906. margin: 0 0 8px;
  907. font-size: 11px;
  908. color: var(--mint-text-muted);
  909. line-height: 1.35;
  910. }
  911. .filter-grid {
  912. display: grid;
  913. grid-template-columns: repeat(4, minmax(0, 1fr));
  914. gap: 10px 14px;
  915. margin-bottom: 0;
  916. }
  917. .filter-actions-row {
  918. margin-top: 10px;
  919. padding-top: 10px;
  920. display: flex;
  921. align-items: center;
  922. justify-content: space-between;
  923. gap: 10px;
  924. }
  925. .filter-extra {
  926. padding-top: 10px;
  927. margin-top: 8px;
  928. }
  929. .filter-actions {
  930. margin-top: 10px;
  931. padding-top: 10px;
  932. display: flex;
  933. flex-wrap: wrap;
  934. align-items: center;
  935. justify-content: space-between;
  936. gap: 10px;
  937. }
  938. .btn-link,
  939. .btn-filter-toggle {
  940. display: inline-flex;
  941. align-items: center;
  942. gap: 4px;
  943. border: none;
  944. background: transparent;
  945. color: var(--mint-primary-dark);
  946. font-size: 14px;
  947. font-weight: 600;
  948. padding: 0 8px;
  949. height: 36px;
  950. cursor: pointer;
  951. border-radius: 8px;
  952. transition:
  953. background-color 0.2s ease,
  954. color 0.2s ease;
  955. &:hover {
  956. background: var(--mint-primary-bg);
  957. }
  958. &:focus-visible {
  959. outline: 2px solid var(--mint-primary);
  960. outline-offset: 1px;
  961. }
  962. .el-icon {
  963. font-size: 14px;
  964. }
  965. }
  966. .filter-actions-end,
  967. .toolbar-actions,
  968. .list-toolbar-end {
  969. display: flex;
  970. align-items: center;
  971. gap: 8px;
  972. flex-wrap: wrap;
  973. margin-left: auto;
  974. }
  975. .list-toolbar-end {
  976. flex-shrink: 0;
  977. padding-left: 8px;
  978. }
  979. .list-toolbar-end-btn.el-button,
  980. .list-toolbar-end-btn.btn-ghost.el-button {
  981. --el-button-border-color: transparent;
  982. --el-button-hover-border-color: transparent;
  983. --el-button-active-border-color: transparent;
  984. width: 36px;
  985. min-width: 36px;
  986. height: 36px;
  987. padding: 0;
  988. border-radius: 8px;
  989. color: var(--mint-text-muted);
  990. border: none !important;
  991. box-shadow: none;
  992. background: transparent;
  993. .el-icon {
  994. font-size: 16px;
  995. }
  996. &:hover,
  997. &:focus-visible {
  998. color: var(--mint-primary-dark);
  999. border: none !important;
  1000. box-shadow: none;
  1001. background: var(--mint-primary-bg);
  1002. }
  1003. &:active {
  1004. border: none !important;
  1005. box-shadow: none;
  1006. }
  1007. }
  1008. .list-toolbar,
  1009. .toolbar {
  1010. padding: 0;
  1011. background: transparent;
  1012. border-bottom: none;
  1013. }
  1014. .list-toolbar-row,
  1015. .toolbar {
  1016. padding: 8px 16px;
  1017. gap: 8px;
  1018. display: flex;
  1019. align-items: center;
  1020. flex-wrap: wrap;
  1021. justify-content: flex-start;
  1022. background: transparent;
  1023. }
  1024. /* 接入「更多」收纳后:禁止换行,让 Overflow 吃剩余宽度 */
  1025. .list-toolbar-row:has(.list-toolbar-overflow) {
  1026. flex-wrap: nowrap;
  1027. overflow: hidden;
  1028. min-width: 0;
  1029. > .list-toolbar-date-shortcuts,
  1030. > .quick-search-input,
  1031. > .quick-search-group,
  1032. > .el-button,
  1033. > .list-toolbar-end {
  1034. flex-shrink: 0;
  1035. }
  1036. }
  1037. /* 列表工具栏按钮间距统一由 gap 控制,清除 Element 默认相邻按钮 margin */
  1038. .list-toolbar-row .el-button + .el-button,
  1039. .toolbar .el-button + .el-button,
  1040. .toolbar-right .el-button + .el-button,
  1041. .toolbar-actions .el-button + .el-button,
  1042. .list-toolbar-end .el-button + .el-button,
  1043. .filter-actions-end .el-button + .el-button {
  1044. margin-left: 0 !important;
  1045. }
  1046. .list-toolbar-selected,
  1047. .toolbar-left {
  1048. display: inline-flex;
  1049. align-items: center;
  1050. gap: 0;
  1051. min-height: 36px;
  1052. padding: 0 10px 0 0;
  1053. margin-right: 4px;
  1054. border-right: none;
  1055. font-size: 12px;
  1056. color: var(--mint-text-muted);
  1057. font-weight: 600;
  1058. }
  1059. .btn-list-filter-toggle {
  1060. display: inline-flex;
  1061. align-items: center;
  1062. justify-content: center;
  1063. width: 28px;
  1064. height: 28px;
  1065. margin-right: 8px;
  1066. padding: 0;
  1067. border: none;
  1068. border-radius: 6px;
  1069. background: transparent;
  1070. color: var(--mint-text-muted);
  1071. cursor: pointer;
  1072. flex-shrink: 0;
  1073. transition:
  1074. background-color 0.2s ease,
  1075. color 0.2s ease;
  1076. &::before {
  1077. content: '';
  1078. width: 16px;
  1079. height: 16px;
  1080. background-color: currentColor;
  1081. opacity: 0.95;
  1082. mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3'/%3E%3C/svg%3E")
  1083. center / contain no-repeat;
  1084. -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3'/%3E%3C/svg%3E")
  1085. center / contain no-repeat;
  1086. }
  1087. &:hover {
  1088. color: var(--mint-primary-dark);
  1089. background: var(--mint-primary-bg);
  1090. }
  1091. &[aria-expanded='true'] {
  1092. color: var(--mint-primary-dark);
  1093. background: var(--mint-primary-bg);
  1094. }
  1095. &:focus-visible {
  1096. outline: 2px solid var(--mint-primary);
  1097. outline-offset: 1px;
  1098. }
  1099. }
  1100. .quick-search-group {
  1101. display: inline-flex;
  1102. align-items: center;
  1103. flex-shrink: 0;
  1104. margin-right: 8px;
  1105. gap: 6px;
  1106. .quick-search-input {
  1107. width: 280px;
  1108. margin-right: 0;
  1109. }
  1110. .btn-list-filter-toggle {
  1111. margin-right: 0;
  1112. }
  1113. }
  1114. .quick-search-input:not(.quick-search-group .quick-search-input) {
  1115. width: 280px;
  1116. }
  1117. .quick-search-input .quick-search-icon {
  1118. cursor: pointer;
  1119. color: var(--mint-text-muted);
  1120. transition: color 0.2s ease;
  1121. &:hover {
  1122. color: var(--mint-primary-dark);
  1123. }
  1124. }
  1125. .sel-num {
  1126. color: var(--mint-primary-dark);
  1127. font-weight: 700;
  1128. margin: 0 2px;
  1129. }
  1130. .list-body {
  1131. border-top: 1px solid var(--mint-border);
  1132. /* 用 margin 而非 padding:顶部分割线与表格左右同宽,对齐筛选区 16px */
  1133. margin-left: 16px;
  1134. margin-right: 16px;
  1135. }
  1136. /* 分页已在 list-body 内时去掉水平 padding,避免与 list-body 左右间距叠加 */
  1137. .list-body > .pagination.list-pager-bar,
  1138. .list-body > .list-footer,
  1139. .list-body > .pagination {
  1140. padding-left: 0;
  1141. padding-right: 0;
  1142. }
  1143. /*
  1144. * 列表体四角圆角:整框描边 + overflow:hidden 裁剪表头/单元格直角。
  1145. * 勿把 overflow:hidden 上提到 .panel(会破坏 fixed="right" 操作列)。
  1146. */
  1147. .list-body.list-wrap {
  1148. border: 1px solid var(--mint-border);
  1149. border-radius: var(--mint-radius);
  1150. overflow: hidden;
  1151. margin-bottom: 16px;
  1152. background: var(--mint-surface);
  1153. }
  1154. .pagination.list-pager-bar,
  1155. .list-footer {
  1156. display: flex;
  1157. flex-wrap: wrap;
  1158. align-items: center;
  1159. justify-content: flex-end;
  1160. gap: 8px 12px;
  1161. margin-top: 0;
  1162. padding: 10px 16px 12px;
  1163. border-top: none;
  1164. background: var(--mint-surface);
  1165. border-radius: 0;
  1166. }
  1167. /* 分页条左侧说明文案(BX range / 分类 total-count / 已选计数等)与右侧控件区分 */
  1168. .pagination.list-pager-bar .list-range,
  1169. .pagination.list-pager-bar .total-count {
  1170. margin-right: auto;
  1171. }
  1172. .pagination.list-pager-bar .list-pager-selected {
  1173. display: inline-flex;
  1174. align-items: center;
  1175. flex-shrink: 0;
  1176. min-height: 32px;
  1177. margin-right: 12px;
  1178. font-size: 12px;
  1179. font-weight: 600;
  1180. color: var(--mint-text-muted);
  1181. .sel-num {
  1182. margin: 0 2px;
  1183. color: var(--mint-primary-dark);
  1184. font-weight: 700;
  1185. }
  1186. }
  1187. /* 无 range/total 时,已选单独顶左 */
  1188. .pagination.list-pager-bar:not(:has(.list-range)):not(:has(.total-count)) .list-pager-selected {
  1189. margin-right: auto;
  1190. }
  1191. .list-pager {
  1192. display: flex;
  1193. flex-wrap: wrap;
  1194. align-items: center;
  1195. justify-content: flex-end;
  1196. gap: 8px 12px;
  1197. }
  1198. .list-pager .list-pager-selected {
  1199. display: inline-flex;
  1200. align-items: center;
  1201. flex-shrink: 0;
  1202. min-height: 32px;
  1203. margin-right: 12px;
  1204. font-size: 12px;
  1205. font-weight: 600;
  1206. color: var(--mint-text-muted);
  1207. .sel-num {
  1208. margin: 0 2px;
  1209. color: var(--mint-primary-dark);
  1210. font-weight: 700;
  1211. }
  1212. }
  1213. .list-pager .list-range {
  1214. margin-right: auto;
  1215. }
  1216. .pagination {
  1217. display: flex;
  1218. justify-content: flex-end;
  1219. margin-top: 0;
  1220. padding: 10px 16px 12px;
  1221. border-top: none;
  1222. background: var(--mint-surface);
  1223. }
  1224. .search-bar {
  1225. background: var(--mint-surface);
  1226. border: 1px solid var(--mint-border);
  1227. border-radius: 0;
  1228. box-shadow: var(--mint-shadow);
  1229. }
  1230. .detail-hero {
  1231. margin-bottom: 14px;
  1232. padding: 14px 16px;
  1233. border: 1px solid var(--mint-border);
  1234. border-radius: 0;
  1235. background: var(--mint-primary-bg);
  1236. }
  1237. .detail-hero-title {
  1238. font-size: 16px;
  1239. font-weight: 700;
  1240. color: var(--mint-text);
  1241. }
  1242. .detail-hero-meta {
  1243. margin-top: 6px;
  1244. color: var(--mint-text-muted);
  1245. font-size: 13px;
  1246. }
  1247. .detail-section {
  1248. border-radius: 0;
  1249. overflow: hidden;
  1250. margin-bottom: 14px;
  1251. }
  1252. }
  1253. @media (max-width: 1100px) {
  1254. .page-container,
  1255. .console-container {
  1256. .filter-grid {
  1257. grid-template-columns: repeat(2, minmax(0, 1fr));
  1258. }
  1259. }
  1260. }
  1261. @media (max-width: 560px) {
  1262. .page-container,
  1263. .console-container {
  1264. .filter-grid {
  1265. grid-template-columns: 1fr;
  1266. }
  1267. .filter-actions-row {
  1268. align-items: stretch;
  1269. flex-direction: column;
  1270. }
  1271. }
  1272. }
  1273. /* 弹窗表单栅格(与 docs/web-admin-ui-spec-fresh-mint.md §9.3.1 / §10.3 一致) */
  1274. .form-grid-2 {
  1275. display: grid;
  1276. grid-template-columns: repeat(2, minmax(0, 1fr));
  1277. gap: 12px 20px;
  1278. }
  1279. .form-grid-3 {
  1280. display: grid;
  1281. grid-template-columns: repeat(3, minmax(0, 1fr));
  1282. gap: 12px 16px;
  1283. }
  1284. .form-grid-4 {
  1285. display: grid;
  1286. grid-template-columns: repeat(4, minmax(0, 1fr));
  1287. gap: 12px 14px;
  1288. }
  1289. .form-grid-5 {
  1290. display: grid;
  1291. grid-template-columns: repeat(5, minmax(0, 1fr));
  1292. gap: 12px 12px;
  1293. }
  1294. .form-grid-6 {
  1295. display: grid;
  1296. grid-template-columns: repeat(6, minmax(0, 1fr));
  1297. gap: 12px 10px;
  1298. }
  1299. .form-col-span-2 {
  1300. grid-column: 1 / -1;
  1301. }
  1302. /* 弹窗表单:栅格块与后续表单项/栅格块之间保留行间距(与模块弹窗 form-grid row-gap 一致) */
  1303. .el-dialog.dialog-form-layout .el-form {
  1304. [class*='form-grid-'] + .el-form-item,
  1305. [class*='form-grid-'] + [class*='form-grid-'] {
  1306. margin-top: 16px;
  1307. }
  1308. }
  1309. /* 表单栅格内 el-input-number 默认约 150px,须拉满与 el-input / el-select 同宽 */
  1310. .el-dialog.dialog-form-layout .el-form-item .el-input-number,
  1311. .page-container .el-form-item .el-input-number,
  1312. .console-container .el-form-item .el-input-number {
  1313. width: 100%;
  1314. }
  1315. .sort-field {
  1316. display: flex;
  1317. align-items: center;
  1318. }
  1319. .form-tip {
  1320. margin-left: 8px;
  1321. color: var(--mint-text-muted);
  1322. font-size: 12px;
  1323. }
  1324. .form-label-tip {
  1325. margin-left: 4px;
  1326. color: var(--mint-text-muted);
  1327. font-size: 12px;
  1328. font-weight: 400;
  1329. }
  1330. @media (max-width: 900px) {
  1331. .form-grid-3 {
  1332. grid-template-columns: repeat(2, minmax(0, 1fr));
  1333. }
  1334. .form-grid-4,
  1335. .form-grid-5 {
  1336. grid-template-columns: repeat(2, minmax(0, 1fr));
  1337. }
  1338. }
  1339. @media (max-width: 560px) {
  1340. .form-grid-2,
  1341. .form-grid-3,
  1342. .form-grid-4,
  1343. .form-grid-5 {
  1344. grid-template-columns: 1fr;
  1345. }
  1346. }
  1347. /* 标准 CRUD 弹窗:相对视口上下各 20px 留白,正文区纵向滚动 */
  1348. .el-dialog.dialog-form-layout {
  1349. display: flex;
  1350. flex-direction: column;
  1351. max-height: var(--dialog-max-height, calc(100vh - 40px));
  1352. overflow: hidden;
  1353. }
  1354. .el-dialog.dialog-form-layout .el-dialog__header {
  1355. flex-shrink: 0;
  1356. }
  1357. /* 合同/报价打印弹窗:顶栏更紧凑 */
  1358. .el-dialog.generate-print-dialog .el-dialog__header {
  1359. padding-top: 10px !important;
  1360. padding-bottom: 10px !important;
  1361. }
  1362. .el-dialog.dialog-form-layout .el-dialog__headerbtn {
  1363. display: flex;
  1364. align-items: center;
  1365. justify-content: center;
  1366. top: 4px;
  1367. right: 4px;
  1368. }
  1369. /*
  1370. * headerbtn 相对整个 .el-dialog 绝对定位(非 header)。
  1371. * 禁止 top:50% / translateY(-50%):会落到弹窗中部被正文挡住,或半截被 overflow 裁掉。
  1372. */
  1373. .el-dialog.generate-print-dialog .el-dialog__headerbtn {
  1374. top: 8px;
  1375. right: 4px;
  1376. transform: none;
  1377. z-index: 2;
  1378. }
  1379. .el-dialog.dialog-form-layout .el-dialog__body {
  1380. flex: 1;
  1381. min-height: 0;
  1382. overflow-y: auto;
  1383. padding: 18px 22px;
  1384. }
  1385. .el-dialog.dialog-form-layout .el-dialog__footer {
  1386. flex-shrink: 0;
  1387. }
  1388. /* 标准 CRUD / 大表单弹窗遮罩:顶对齐留白,避免 align-center 高弹窗与顶栏贴齐(protocol-dialog-mask 同构,全局兜底) */
  1389. .protocol-dialog-mask,
  1390. .lab-test-item-dialog-mask,
  1391. .el-overlay:has(.el-dialog.dialog-form-layout),
  1392. .el-overlay:has(.el-dialog.system-view-dialog),
  1393. .el-overlay:has(.el-dialog.order-module-dialog) {
  1394. align-items: flex-start !important;
  1395. backdrop-filter: none !important;
  1396. .el-overlay-dialog {
  1397. margin-top: 0;
  1398. margin-bottom: auto;
  1399. padding-top: var(--dialog-viewport-inset, 20px);
  1400. box-sizing: border-box;
  1401. }
  1402. .el-dialog.dialog-form-layout,
  1403. .el-dialog.order-module-dialog {
  1404. max-width: calc(100vw - 48px);
  1405. max-height: calc(
  1406. 100vh - var(--dialog-viewport-inset, 20px) * 2
  1407. );
  1408. }
  1409. }
  1410. /* 弹窗异步加载:骨架占位,减轻先小后大 */
  1411. .dialog-scroll.is-view-loading,
  1412. .dialog-form-body.is-dialog-loading,
  1413. .protocol-view-body.is-detail-loading,
  1414. .donation-view-body.is-detail-loading,
  1415. .product-form-container.is-view-loading {
  1416. min-height: min(360px, calc(100vh - 220px));
  1417. }
  1418. #app-header > div {
  1419. background: var(--mint-surface) !important;
  1420. }
  1421. #app-header .relative.box-border.flex-b {
  1422. height: 56px !important;
  1423. line-height: 56px !important;
  1424. padding: 0 var(--mint-content-padding);
  1425. }
  1426. #app-header .flex-c.gap-2\.5 {
  1427. gap: 10px !important;
  1428. }
  1429. #app-header .flex-b.w-full,
  1430. #app-header .worktab-strip.w-full {
  1431. margin-bottom: 0 !important;
  1432. padding: 0 24px 10px !important;
  1433. }
  1434. #app-sidebar .layout-sidebar {
  1435. /* 竖线由 #app-sidebar 绘制,避免与内侧 .layout-sidebar 叠成双线 */
  1436. border-right: none !important;
  1437. background: var(--mint-surface);
  1438. }
  1439. .app-layout-portal #app-sidebar {
  1440. border-right: 1px solid var(--mint-border, #d9e8e2) !important;
  1441. }
  1442. .app-layout-portal #app-sidebar .layout-sidebar {
  1443. height: 100%;
  1444. /* 避免与 #app-sidebar 双边框;竖线由 aside 绘制,不会被 .menu-left 盖住 */
  1445. border-right: none !important;
  1446. background: var(--mint-surface);
  1447. }
  1448. #app-sidebar .menu-left .header {
  1449. height: 56px;
  1450. line-height: 56px;
  1451. border-bottom: none;
  1452. }
  1453. /* Portal 一体化顶栏(对齐 zkxw TOP_LEFT 顶栏 56px + Fresh Mint) */
  1454. #app-portal-header .portal-header {
  1455. background: var(--mint-primary) !important;
  1456. }
  1457. .app-layout-portal #app-worktab .worktab-strip {
  1458. margin-bottom: 0 !important;
  1459. padding: 0 10px !important;
  1460. }
  1461. /* 弹窗 / 抽屉内键值展示:上下布局、深色正文(对齐 zkxw Token 链) */
  1462. :is(.el-dialog, .system-view-dialog, .el-drawer) {
  1463. .el-form-item__label {
  1464. font-size: 13px !important;
  1465. }
  1466. .view-kv-table th {
  1467. font-size: 13px !important;
  1468. }
  1469. :is(.view-kv, [class*='-view-kv']:not([class*='-grid']), .pl-plan-kv) {
  1470. display: flex !important;
  1471. flex-direction: column !important;
  1472. gap: 4px;
  1473. min-width: 0;
  1474. font-size: 14px;
  1475. align-items: stretch;
  1476. dt {
  1477. margin: 0;
  1478. font-size: 13px !important;
  1479. font-weight: 400 !important;
  1480. color: var(--mint-text-muted) !important;
  1481. line-height: 1.4;
  1482. }
  1483. dd {
  1484. margin: 0;
  1485. font-weight: 400;
  1486. color: var(--mint-text) !important;
  1487. word-break: break-word;
  1488. line-height: 1.5;
  1489. }
  1490. }
  1491. .view-field-label {
  1492. font-size: 13px !important;
  1493. font-weight: 400 !important;
  1494. color: var(--mint-text-muted) !important;
  1495. line-height: 1.4;
  1496. }
  1497. /* 查看类弹窗 / 抽屉:value 加粗 */
  1498. &:is(.system-view-dialog, [class*='view-dialog'], .workflow-module-dialog),
  1499. &.system-view-dialog,
  1500. &[class*='view-dialog'],
  1501. &.workflow-module-dialog {
  1502. :is(.view-kv, [class*='-view-kv']:not([class*='-grid']), .pl-plan-kv) dd,
  1503. .pl-plan-view-remark {
  1504. font-weight: 600 !important;
  1505. }
  1506. }
  1507. }
  1508. /* CRM 弹窗表单:默认 label 左、控件右;label-position="top" 时上下布局 */
  1509. .crm-dialog-form {
  1510. .el-form-item {
  1511. align-items: center;
  1512. }
  1513. /* 栅格内纵向间距由 gap 承担,避免与 margin 叠加 */
  1514. [class*='form-grid-'] > .el-form-item {
  1515. margin-bottom: 0;
  1516. }
  1517. /* 左右布局单行更矮,适当加大栅格行间距 */
  1518. [class*='form-grid-'] {
  1519. row-gap: 16px;
  1520. }
  1521. .el-form-item__label {
  1522. white-space: normal;
  1523. word-break: break-word;
  1524. line-height: 1.45;
  1525. height: auto !important;
  1526. padding-right: 12px;
  1527. align-self: center;
  1528. }
  1529. .el-form-item__content {
  1530. min-width: 0;
  1531. }
  1532. /* 上下布局:覆盖左右布局的对齐与内边距 */
  1533. &.el-form--label-top {
  1534. .el-form-item {
  1535. display: block;
  1536. align-items: stretch;
  1537. }
  1538. .el-form-item__label {
  1539. display: block;
  1540. width: 100%;
  1541. padding-right: 0;
  1542. margin-bottom: 4px;
  1543. align-self: auto;
  1544. line-height: 1.45 !important;
  1545. }
  1546. }
  1547. }
  1548. .el-dialog.dialog-form-layout {
  1549. .el-form-item__label {
  1550. font-size: 13px !important;
  1551. color: var(--mint-text) !important;
  1552. font-weight: 400 !important;
  1553. }
  1554. .el-input__inner,
  1555. .el-textarea__inner,
  1556. .el-select__selected-item {
  1557. color: var(--mint-text) !important;
  1558. font-weight: 400 !important;
  1559. }
  1560. .el-input.is-disabled .el-input__inner,
  1561. .el-input.is-disabled .el-input__wrapper,
  1562. .el-textarea.is-disabled .el-textarea__inner {
  1563. color: var(--mint-text) !important;
  1564. -webkit-text-fill-color: var(--mint-text) !important;
  1565. font-weight: 400 !important;
  1566. }
  1567. }
  1568. /* 弹窗 / 查看态内嵌列表面板(CRM 详情 Tab、表单弹窗、选择器等) */
  1569. :is(.el-dialog, .system-view-dialog) {
  1570. .list-body.list-wrap {
  1571. border: 1px solid var(--mint-border);
  1572. border-radius: var(--mint-radius);
  1573. overflow: hidden;
  1574. margin-left: 16px;
  1575. margin-right: 16px;
  1576. margin-bottom: 16px;
  1577. background: var(--mint-surface);
  1578. }
  1579. .list-body > .pagination.list-pager-bar,
  1580. .list-body > .list-footer,
  1581. .list-body > .pagination {
  1582. padding-left: 0;
  1583. padding-right: 0;
  1584. }
  1585. .dialog-list-panel,
  1586. .customer-tab-list-panel {
  1587. > .list-toolbar:first-child {
  1588. border-radius: 0;
  1589. overflow: hidden;
  1590. }
  1591. .list-toolbar {
  1592. padding: 0;
  1593. background: transparent;
  1594. border-bottom: none;
  1595. }
  1596. .list-toolbar-row {
  1597. padding: 8px 16px;
  1598. gap: 8px;
  1599. display: flex;
  1600. align-items: center;
  1601. flex-wrap: wrap;
  1602. justify-content: flex-start;
  1603. }
  1604. .list-toolbar-row .el-button + .el-button {
  1605. margin-left: 0 !important;
  1606. }
  1607. .list-toolbar-selected {
  1608. display: inline-flex;
  1609. align-items: center;
  1610. min-height: 36px;
  1611. padding: 0;
  1612. margin: 0;
  1613. border-right: none;
  1614. gap: 8px;
  1615. flex-wrap: wrap;
  1616. }
  1617. > .list-body.list-wrap {
  1618. overflow: hidden;
  1619. border-radius: var(--mint-radius);
  1620. }
  1621. > .list-body.list-wrap.dialog-list-body-only,
  1622. > .list-body.list-wrap.customer-tab-list-body-only {
  1623. border-radius: var(--mint-radius);
  1624. }
  1625. .pagination.list-pager-bar {
  1626. margin-top: 0;
  1627. padding: 10px 16px 12px;
  1628. border-top: none;
  1629. background: var(--mint-surface);
  1630. border-radius: 0;
  1631. display: flex;
  1632. justify-content: flex-end;
  1633. }
  1634. .el-table.list-table {
  1635. --el-table-header-bg-color: var(--mint-table-head);
  1636. --el-table-border-color: var(--mint-border);
  1637. --el-table-row-hover-bg-color: var(--mint-row-hover);
  1638. --el-table-text-color: var(--mint-text);
  1639. --el-table-header-text-color: var(--mint-text-muted);
  1640. font-size: 14px;
  1641. width: 100%;
  1642. th.el-table__cell {
  1643. color: var(--mint-text-muted);
  1644. font-size: 13px;
  1645. font-weight: 600;
  1646. }
  1647. td.el-table__cell {
  1648. color: var(--mint-text);
  1649. font-size: 14px;
  1650. font-weight: 500;
  1651. .money-display {
  1652. color: #dc2626;
  1653. font-weight: 600;
  1654. }
  1655. }
  1656. }
  1657. .col-actions .cell {
  1658. white-space: nowrap;
  1659. }
  1660. }
  1661. /* 区块标题 / 筛选行后紧跟、未包 list-body 的裸 list-table:表头顶部分隔线 */
  1662. :is(.dialog-section-title, .dlg-view-section-title) + .list-table.el-table thead th.el-table__cell,
  1663. :is(.dialog-section-title, .dlg-view-section-title) + .inline-row + .list-table.el-table thead th.el-table__cell {
  1664. border-top: 1px solid var(--mint-border) !important;
  1665. }
  1666. }
  1667. .list-table.is-excel-copy {
  1668. th.is-excel-col,
  1669. td.is-excel-rowhead {
  1670. background: var(--mint-primary-bg) !important;
  1671. color: var(--mint-primary-dark);
  1672. }
  1673. td.is-excel-cell {
  1674. background: rgba(16, 185, 129, 0.16) !important;
  1675. box-shadow: inset 0 0 0 1px var(--mint-primary-dark);
  1676. }
  1677. }
  1678. /* 筛选区 label:13px 次要色(对齐 zkxw filter-form 实践;filter-hint 仍为 11px) */
  1679. .page-container .filter-block .el-form-item__label,
  1680. .console-container .filter-block .el-form-item__label,
  1681. .page-container .filter-form .el-form-item__label,
  1682. .console-container .filter-form .el-form-item__label,
  1683. .el-dialog .filter-block .el-form-item__label,
  1684. .el-dialog .filter-form .el-form-item__label {
  1685. font-size: 13px !important;
  1686. font-weight: 500;
  1687. color: var(--mint-text-muted) !important;
  1688. }
  1689. /* label 在上(如 order 筛选) */
  1690. .page-container .filter-form.el-form--label-top .el-form-item__label,
  1691. .console-container .filter-form.el-form--label-top .el-form-item__label,
  1692. .el-dialog .filter-form.el-form--label-top .el-form-item__label {
  1693. padding: 0 0 4px !important;
  1694. line-height: 1.2 !important;
  1695. height: auto !important;
  1696. }
  1697. /* 筛选区左右布局:label 等宽且右对齐(默认约 4 个汉字;更长文案页用 --filter-label-width 覆盖) */
  1698. .page-container .filter-form:not(.el-form--label-top),
  1699. .console-container .filter-form:not(.el-form--label-top),
  1700. .el-dialog .filter-form:not(.el-form--label-top) {
  1701. --filter-label-width: 70px;
  1702. }
  1703. /* label 与输入左右布局:固定宽度、右对齐、右侧留间距 */
  1704. .page-container .filter-form:not(.el-form--label-top) .el-form-item__label,
  1705. .console-container .filter-form:not(.el-form--label-top) .el-form-item__label,
  1706. .el-dialog .filter-form:not(.el-form--label-top) .el-form-item__label,
  1707. .page-container .filter-block:not(:has(.el-form--label-top)) .el-form-item__label,
  1708. .console-container .filter-block:not(:has(.el-form--label-top)) .el-form-item__label,
  1709. .el-dialog .filter-block:not(:has(.el-form--label-top)) .el-form-item__label {
  1710. width: var(--filter-label-width, 70px) !important;
  1711. flex: 0 0 var(--filter-label-width, 70px) !important;
  1712. justify-content: flex-end !important;
  1713. text-align: right !important;
  1714. white-space: nowrap;
  1715. padding: 0 8px 0 0 !important;
  1716. line-height: 36px !important;
  1717. height: 36px !important;
  1718. box-sizing: border-box;
  1719. }
  1720. /* 筛选栅格:表单项撑满列宽,控件全宽 */
  1721. .page-container .filter-form,
  1722. .console-container .filter-form,
  1723. .el-dialog .filter-form {
  1724. margin: 0;
  1725. }
  1726. .page-container .filter-grid .el-form-item,
  1727. .console-container .filter-grid .el-form-item,
  1728. .el-dialog .filter-grid .el-form-item {
  1729. margin-bottom: 0;
  1730. min-width: 0;
  1731. width: 100%;
  1732. }
  1733. .page-container .filter-form:not(.el-form--label-top) .el-form-item,
  1734. .console-container .filter-form:not(.el-form--label-top) .el-form-item,
  1735. .el-dialog .filter-form:not(.el-form--label-top) .el-form-item {
  1736. align-items: center;
  1737. }
  1738. .page-container .filter-form .el-form-item__content,
  1739. .console-container .filter-form .el-form-item__content,
  1740. .el-dialog .filter-form .el-form-item__content {
  1741. flex: 1;
  1742. min-width: 0;
  1743. }
  1744. .page-container .filter-form .el-form-item__content > .el-input,
  1745. .page-container .filter-form .el-form-item__content > .el-select,
  1746. .page-container .filter-form .el-form-item__content > .el-date-editor,
  1747. .page-container .filter-form .el-form-item__content > .el-tree-select,
  1748. .page-container .filter-form .el-form-item__content > .el-cascader,
  1749. .page-container .filter-form .el-form-item__content > .el-input-number,
  1750. .console-container .filter-form .el-form-item__content > .el-input,
  1751. .console-container .filter-form .el-form-item__content > .el-select,
  1752. .console-container .filter-form .el-form-item__content > .el-date-editor,
  1753. .console-container .filter-form .el-form-item__content > .el-tree-select,
  1754. .console-container .filter-form .el-form-item__content > .el-cascader,
  1755. .console-container .filter-form .el-form-item__content > .el-input-number,
  1756. .el-dialog .filter-form .el-form-item__content > .el-input,
  1757. .el-dialog .filter-form .el-form-item__content > .el-select,
  1758. .el-dialog .filter-form .el-form-item__content > .el-date-editor,
  1759. .el-dialog .filter-form .el-form-item__content > .el-tree-select,
  1760. .el-dialog .filter-form .el-form-item__content > .el-cascader,
  1761. .el-dialog .filter-form .el-form-item__content > .el-input-number {
  1762. width: 100%;
  1763. }
  1764. .page-container .filter-form .el-select .el-select__wrapper,
  1765. .page-container .filter-form .el-tree-select .el-select__wrapper,
  1766. .console-container .filter-form .el-select .el-select__wrapper,
  1767. .console-container .filter-form .el-tree-select .el-select__wrapper,
  1768. .el-dialog .filter-form .el-select .el-select__wrapper,
  1769. .el-dialog .filter-form .el-tree-select .el-select__wrapper {
  1770. width: 100%;
  1771. }
  1772. .page-container .filter-block .filter-hint,
  1773. .console-container .filter-block .filter-hint {
  1774. color: var(--mint-text-muted);
  1775. }
  1776. .list-column-setting-popover.el-popper {
  1777. padding: 12px 14px 10px;
  1778. }
  1779. .list-column-setting {
  1780. display: flex;
  1781. flex-direction: column;
  1782. gap: 10px;
  1783. }
  1784. .list-column-setting-head {
  1785. display: flex;
  1786. align-items: center;
  1787. justify-content: space-between;
  1788. gap: 8px;
  1789. }
  1790. .list-column-setting-title {
  1791. font-size: 13px;
  1792. font-weight: 600;
  1793. color: var(--mint-text);
  1794. }
  1795. .list-column-setting-reset {
  1796. font-size: 12px;
  1797. padding: 0 4px;
  1798. }
  1799. .list-column-setting-check-all {
  1800. padding-bottom: 8px;
  1801. border-bottom: 1px solid var(--mint-border);
  1802. }
  1803. .list-column-setting-list {
  1804. display: flex;
  1805. flex-direction: column;
  1806. gap: 6px;
  1807. padding-top: 2px;
  1808. }
  1809. .list-column-setting-item {
  1810. display: flex;
  1811. margin-right: 0;
  1812. width: 100%;
  1813. }