bx-theme.scss 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025
  1. /* BX Fresh Mint — 备用金 list/apply/detail 所需样式(对齐 bx-mobile)
  2. * 在页面根节点加 class="bx-page",避免污染全局 .btn / .status-tag
  3. */
  4. .bx-page {
  5. --primary: #00c98d;
  6. --primary-dark: #00a874;
  7. --primary-darker: #008f62;
  8. --primary-bg: #eafff6;
  9. --primary-light: #f0fdf9;
  10. --success: #10b981;
  11. --success-bg: #ecfdf5;
  12. --success-border: #a7f3d0;
  13. --warning: #f59e0b;
  14. --warning-bg: #fffbeb;
  15. --warning-border: #fcd34d;
  16. --danger: #ef4444;
  17. --danger-bg: #fef2f2;
  18. --danger-border: #fecaca;
  19. --info: #3b82f6;
  20. --info-bg: #eff6ff;
  21. --info-border: #93c5fd;
  22. --processing: #6366f1;
  23. --processing-bg: #eef2ff;
  24. --processing-border: #a5b4fc;
  25. --text: #1a1a2e;
  26. --text-sec: #64748b;
  27. --text-muted: #94a3b8;
  28. --bg: #f8fafc;
  29. --surface: #fff;
  30. --border: #e2e8f0;
  31. --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  32. --r: 12px;
  33. --rs: 8px;
  34. --rl: 16px;
  35. --font: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  36. --empty-fill-chrome: 230px;
  37. min-height: 100vh;
  38. padding-bottom: 80px;
  39. box-sizing: border-box;
  40. font-family: var(--font);
  41. font-size: 14px;
  42. color: var(--text);
  43. background: var(--bg);
  44. line-height: 1.5;
  45. }
  46. .bx-page.bx-page--form {
  47. padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  48. }
  49. .bx-page .page-padded {
  50. padding: 0 16px;
  51. }
  52. .bx-page > .topbar + .page-padded {
  53. padding-top: 5px;
  54. }
  55. .bx-page .search-wrap + .page-padded {
  56. padding-top: 5px;
  57. }
  58. /* Topbar — 对齐仪表盘白底顶栏 */
  59. .bx-page .topbar {
  60. position: sticky;
  61. top: 0;
  62. z-index: 50;
  63. display: grid;
  64. grid-template-columns: minmax(0, 1fr) var(--sq-capsule-right-safe, 96px);
  65. align-items: center;
  66. height: var(--sq-header-height, calc(44px + 44px));
  67. padding: var(--sq-safe-top, 44px) 12px 0 8px;
  68. box-sizing: border-box;
  69. /* 对齐首页 mp-header:绿渐变 + 下缘左右圆角;高度保持业务顶栏原值 */
  70. background: var(--mp-header-gradient, linear-gradient(145deg, #087f57 0%, #0a9f6d 72%, #d6a343 165%));
  71. border-bottom-left-radius: var(--mp-radius-xl, 44rpx);
  72. border-bottom-right-radius: var(--mp-radius-xl, 44rpx);
  73. box-shadow: 0 16rpx 40rpx rgba(10, 159, 109, 0.12);
  74. color: #fff;
  75. }
  76. .bx-page .topbar-left {
  77. display: flex;
  78. align-items: center;
  79. justify-content: flex-start;
  80. gap: 8px;
  81. min-width: 0;
  82. }
  83. .bx-page .topbar-back {
  84. font-size: 20px;
  85. color: #fff;
  86. padding: 4px 8px;
  87. flex-shrink: 0;
  88. line-height: 1;
  89. }
  90. .bx-page .topbar-back:active {
  91. opacity: 0.75;
  92. }
  93. .bx-page .topbar-title {
  94. text-align: left;
  95. font-size: 17px;
  96. font-weight: 700;
  97. color: #fff;
  98. max-width: 100%;
  99. overflow: hidden;
  100. text-overflow: ellipsis;
  101. white-space: nowrap;
  102. }
  103. .bx-page .topbar-right {
  104. min-width: 0;
  105. min-height: 1px;
  106. }
  107. /* Search */
  108. .bx-page .search-wrap {
  109. padding: 12px 16px;
  110. background: var(--surface);
  111. }
  112. .bx-page .search-box {
  113. display: flex;
  114. align-items: center;
  115. gap: 8px;
  116. background: var(--bg);
  117. border: 1.5px solid var(--border);
  118. border-radius: 20px;
  119. padding: 0 14px;
  120. height: 40px;
  121. }
  122. .bx-page .search-box input,
  123. .bx-page .search-box .search-input {
  124. flex: 1;
  125. border: none;
  126. outline: none;
  127. background: transparent;
  128. font-size: 14px;
  129. color: var(--text);
  130. height: 38px;
  131. }
  132. .bx-page .search-box__clear {
  133. flex-shrink: 0;
  134. width: 28px;
  135. height: 28px;
  136. display: flex;
  137. align-items: center;
  138. justify-content: center;
  139. color: var(--text-muted);
  140. font-size: 16px;
  141. }
  142. /* 横向筛选 tag:flex 写在内层 view 上(scroll-view 自身不支持可靠 flex/gap,对齐地磅 db-filter-bar) */
  143. .bx-page .search-filter-scroll {
  144. width: 100%;
  145. white-space: nowrap;
  146. }
  147. .bx-page .search-filter {
  148. display: inline-flex;
  149. flex-direction: row;
  150. align-items: center;
  151. flex-wrap: nowrap;
  152. padding: 8px 0 4px;
  153. }
  154. .bx-page .filter-tag {
  155. display: inline-flex;
  156. align-items: center;
  157. justify-content: center;
  158. box-sizing: border-box;
  159. padding: 4px 12px;
  160. margin-right: 8px;
  161. border-radius: 14px;
  162. font-size: 12px;
  163. font-weight: 500;
  164. border: 1px solid var(--border);
  165. color: var(--text-sec);
  166. background: var(--surface);
  167. white-space: nowrap;
  168. flex-shrink: 0;
  169. }
  170. .bx-page .search-filter .filter-tag:last-child {
  171. margin-right: 0;
  172. }
  173. .bx-page .filter-tag.active {
  174. background: var(--primary-bg);
  175. border-color: var(--primary);
  176. color: var(--primary-dark);
  177. }
  178. /* Expense card */
  179. .bx-page .expense-card {
  180. background: var(--surface);
  181. border-radius: var(--r);
  182. padding: 16px;
  183. margin-bottom: 10px;
  184. border: 1px solid var(--border);
  185. box-shadow: var(--shadow);
  186. }
  187. .bx-page .expense-card:active {
  188. opacity: 0.96;
  189. }
  190. .bx-page .ec-top {
  191. display: flex;
  192. justify-content: space-between;
  193. align-items: center;
  194. gap: 10px;
  195. margin-bottom: 8px;
  196. }
  197. .bx-page .ec-type {
  198. flex: 1;
  199. min-width: 0;
  200. font-size: 15px;
  201. font-weight: 600;
  202. line-height: 1.3;
  203. }
  204. .bx-page .advance-list-card__title,
  205. .bx-page .reimburse-list-card__title {
  206. display: block;
  207. overflow: hidden;
  208. text-overflow: ellipsis;
  209. white-space: nowrap;
  210. }
  211. .bx-page .status-tag {
  212. display: inline-flex;
  213. align-items: center;
  214. justify-content: center;
  215. padding: 2px 10px;
  216. border-radius: 10px;
  217. font-size: 11px;
  218. font-weight: 600;
  219. border: 1px solid var(--border);
  220. white-space: nowrap;
  221. line-height: 1.25;
  222. background: var(--bg);
  223. color: var(--text-sec);
  224. flex-shrink: 0;
  225. }
  226. .bx-page .status-tag.s-draft {
  227. background: #f1f5f9;
  228. color: #64748b;
  229. border-color: rgba(100, 116, 139, 0.15);
  230. }
  231. .bx-page .status-tag.s-pending {
  232. background: var(--warning-bg);
  233. color: var(--warning);
  234. border-color: var(--warning-border);
  235. }
  236. .bx-page .status-tag.s-approved {
  237. background: var(--primary-bg);
  238. color: var(--primary-dark);
  239. border-color: rgba(0, 201, 141, 0.2);
  240. }
  241. .bx-page .status-tag.s-rejected {
  242. background: #fef2f2;
  243. color: #ef4444;
  244. border-color: rgba(239, 68, 68, 0.2);
  245. }
  246. .bx-page .status-tag.s-withdrawn {
  247. background: #fffbeb;
  248. color: #d97706;
  249. border-color: rgba(245, 158, 11, 0.25);
  250. }
  251. .bx-page .status-tag.s-issued {
  252. background: #eef2ff;
  253. color: #6366f1;
  254. border-color: rgba(99, 102, 241, 0.25);
  255. }
  256. .bx-page .status-tag.s-paid,
  257. .bx-page .status-tag.s-processed {
  258. background: var(--primary-bg);
  259. color: var(--primary-dark);
  260. border-color: rgba(0, 201, 141, 0.2);
  261. }
  262. .bx-page .status-tag.s-offset {
  263. background: #fffbeb;
  264. color: #d97706;
  265. border-color: rgba(245, 158, 11, 0.25);
  266. }
  267. .bx-page .ec-amount-label {
  268. font-size: 11px;
  269. color: var(--text-muted);
  270. margin-bottom: 2px;
  271. }
  272. .bx-page .ec-amount {
  273. font-size: 24px;
  274. font-weight: 800;
  275. color: var(--primary-dark) !important;
  276. margin-bottom: 6px;
  277. font-variant-numeric: tabular-nums;
  278. }
  279. .bx-page .ec-amount::before {
  280. content: '¥';
  281. font-size: 14px;
  282. margin-right: 2px;
  283. }
  284. .bx-page .advance-card-subs,
  285. .bx-page .reimburse-card-subs {
  286. display: flex;
  287. flex-direction: column;
  288. gap: 6px;
  289. margin-bottom: 8px;
  290. padding: 8px 0 2px;
  291. border-top: 1px solid var(--border);
  292. }
  293. .bx-page .advance-card-sub-row,
  294. .bx-page .reimburse-card-sub-row {
  295. display: flex;
  296. justify-content: space-between;
  297. align-items: center;
  298. font-size: 13px;
  299. line-height: 1.35;
  300. }
  301. .bx-page .advance-card-sub-row .k,
  302. .bx-page .reimburse-card-sub-row .k {
  303. color: var(--text-sec);
  304. flex-shrink: 0;
  305. margin-right: 8px;
  306. }
  307. .bx-page .advance-card-sub-row .v,
  308. .bx-page .reimburse-card-sub-row .v {
  309. font-weight: 600;
  310. color: var(--text);
  311. font-variant-numeric: tabular-nums;
  312. text-align: right;
  313. }
  314. .bx-page .list-card-kv {
  315. margin-top: 10px;
  316. padding: 10px 12px;
  317. border-radius: var(--rs);
  318. background: var(--bg);
  319. border: 1px solid var(--border);
  320. display: flex;
  321. flex-direction: column;
  322. gap: 6px;
  323. font-size: 12px;
  324. }
  325. .bx-page .list-card-kv__row {
  326. display: flex;
  327. justify-content: space-between;
  328. align-items: flex-start;
  329. gap: 10px;
  330. line-height: 1.45;
  331. }
  332. .bx-page .list-card-kv__k {
  333. flex-shrink: 0;
  334. color: var(--text-muted);
  335. font-size: 11px;
  336. max-width: 42%;
  337. }
  338. .bx-page .list-card-kv__v {
  339. flex: 1;
  340. min-width: 0;
  341. text-align: right;
  342. color: var(--text);
  343. font-weight: 500;
  344. word-break: break-word;
  345. }
  346. .bx-page .ec-meta {
  347. display: flex;
  348. gap: 12px;
  349. font-size: 12px;
  350. color: var(--text-muted);
  351. margin-top: 8px;
  352. }
  353. .bx-page .ec-bottom {
  354. display: flex;
  355. justify-content: flex-end;
  356. align-items: center;
  357. gap: 10px;
  358. margin-top: 10px;
  359. padding-top: 10px;
  360. border-top: 1px dashed var(--border);
  361. }
  362. .bx-page .op-actions {
  363. display: flex;
  364. gap: 8px;
  365. flex-wrap: wrap;
  366. justify-content: flex-end;
  367. }
  368. /* Buttons(覆盖全局 .btn) */
  369. .bx-page .btn {
  370. display: inline-flex;
  371. align-items: center;
  372. justify-content: center;
  373. gap: 6px;
  374. height: 40px;
  375. padding: 0 20px;
  376. border-radius: var(--rs);
  377. font-size: 14px;
  378. font-weight: 600;
  379. font-family: var(--font);
  380. border: 1px solid transparent;
  381. line-height: 1;
  382. box-sizing: border-box;
  383. }
  384. .bx-page .btn::after {
  385. border: none;
  386. }
  387. .bx-page .btn-primary {
  388. background: var(--primary) !important;
  389. color: #fff !important;
  390. border-color: var(--primary);
  391. }
  392. .bx-page .btn-danger {
  393. background: var(--danger) !important;
  394. color: #fff !important;
  395. border-color: var(--danger);
  396. }
  397. .bx-page .btn-secondary {
  398. background: var(--text-sec) !important;
  399. color: #fff !important;
  400. border-color: var(--text-sec);
  401. }
  402. .bx-page .btn-ghost {
  403. background: #fff !important;
  404. color: var(--text) !important;
  405. border-color: var(--border, #e2e8f0);
  406. }
  407. /* 全局 button.btn[disabled] 会强制白字;ghost 白底需保持深色文字 */
  408. .bx-page .btn-ghost[disabled],
  409. .bx-page .btn-ghost.btn-loading {
  410. color: var(--text) !important;
  411. background: #fff !important;
  412. opacity: 0.65;
  413. }
  414. .bx-page .btn-ghost[disabled] text,
  415. .bx-page .btn-ghost.btn-loading text {
  416. color: var(--text) !important;
  417. }
  418. .bx-page .btn-block {
  419. width: 100%;
  420. }
  421. .bx-page .btn-sm,
  422. .bx-page .op-actions .btn {
  423. height: 32px;
  424. padding: 0 12px;
  425. font-size: 12px;
  426. border-radius: 8px;
  427. }
  428. .bx-page .btn[disabled],
  429. .bx-page .btn-loading {
  430. opacity: 0.65;
  431. }
  432. /* Form */
  433. .bx-page .form-card {
  434. background: var(--surface);
  435. border-radius: var(--r);
  436. padding: 16px;
  437. border: 1px solid var(--border);
  438. }
  439. .bx-page .form-card + .form-card {
  440. margin-top: 12px;
  441. }
  442. .bx-page .form-header {
  443. display: flex;
  444. align-items: center;
  445. gap: 8px;
  446. margin-bottom: 16px;
  447. }
  448. .bx-page .form-header h3,
  449. .bx-page .form-header .form-header-title {
  450. font-size: 16px;
  451. font-weight: 700;
  452. margin: 0;
  453. }
  454. .bx-page .form-badge {
  455. font-size: 11px;
  456. font-weight: 600;
  457. padding: 2px 8px;
  458. border-radius: 4px;
  459. background: var(--primary-bg);
  460. color: var(--primary-dark);
  461. }
  462. .bx-page .field {
  463. margin-bottom: 14px;
  464. }
  465. .bx-page .field-label {
  466. display: block;
  467. font-size: 13px;
  468. font-weight: 600;
  469. color: var(--text);
  470. margin-bottom: 6px;
  471. }
  472. .bx-page .field-label .req {
  473. color: var(--danger);
  474. margin-left: 2px;
  475. }
  476. .bx-page .form-input,
  477. .bx-page .form-textarea {
  478. width: 100%;
  479. padding: 0 12px;
  480. border: 1.5px solid var(--border);
  481. border-radius: var(--rs);
  482. font-size: 14px;
  483. font-family: var(--font);
  484. color: var(--text);
  485. background: var(--surface);
  486. box-sizing: border-box;
  487. }
  488. .bx-page .form-input {
  489. height: 42px;
  490. }
  491. .bx-page .form-textarea {
  492. min-height: 80px;
  493. padding: 10px 12px;
  494. }
  495. .bx-page .form-input.error,
  496. .bx-page .form-textarea.error,
  497. .bx-page .picker-trigger.error {
  498. border-color: var(--danger);
  499. }
  500. .bx-page .form-input-prefix {
  501. position: relative;
  502. }
  503. .bx-page .form-input-prefix .form-input {
  504. padding-left: 28px;
  505. }
  506. .bx-page .form-input-prefix::before {
  507. content: '¥';
  508. position: absolute;
  509. left: 12px;
  510. top: 50%;
  511. transform: translateY(-50%);
  512. color: var(--text-sec);
  513. font-weight: 600;
  514. z-index: 1;
  515. }
  516. /* Attachments grid (images) */
  517. .bx-page .att-grid {
  518. display: flex;
  519. flex-wrap: wrap;
  520. gap: 8px;
  521. margin-top: 8px;
  522. }
  523. .bx-page .att-img {
  524. position: relative;
  525. width: 72px;
  526. height: 72px;
  527. border-radius: 8px;
  528. overflow: hidden;
  529. background: var(--bg);
  530. border: 1px solid var(--border);
  531. }
  532. .bx-page .att-img image {
  533. width: 100%;
  534. height: 100%;
  535. }
  536. .bx-page .att-img--with-name {
  537. height: auto;
  538. overflow: visible;
  539. background: transparent;
  540. border: none;
  541. }
  542. .bx-page .att-img--with-name image,
  543. .bx-page .att-img--with-name > .detail-section-empty {
  544. display: block;
  545. width: 72px;
  546. height: 72px;
  547. border-radius: 8px;
  548. overflow: hidden;
  549. background: var(--bg);
  550. border: 1px solid var(--border);
  551. box-sizing: border-box;
  552. }
  553. .bx-page .att-img__name {
  554. display: block;
  555. width: 72px;
  556. margin-top: 4px;
  557. font-size: 11px;
  558. line-height: 1.3;
  559. color: var(--text-muted, #64748b);
  560. overflow: hidden;
  561. text-overflow: ellipsis;
  562. white-space: nowrap;
  563. text-align: center;
  564. }
  565. .bx-page .att-img .del {
  566. position: absolute;
  567. top: 2px;
  568. right: 2px;
  569. width: 20px;
  570. height: 20px;
  571. border-radius: 50%;
  572. background: rgba(0, 0, 0, 0.55);
  573. color: #fff;
  574. font-size: 14px;
  575. line-height: 20px;
  576. text-align: center;
  577. }
  578. /* Empty / loading */
  579. .bx-page .empty-state {
  580. text-align: center;
  581. padding: 40px 20px;
  582. color: var(--text-muted);
  583. font-size: 15px;
  584. }
  585. .bx-page .empty-state--fill {
  586. min-height: 40vh;
  587. display: flex;
  588. align-items: center;
  589. justify-content: center;
  590. }
  591. .bx-page .page-body-loading {
  592. display: flex;
  593. align-items: center;
  594. justify-content: center;
  595. min-height: 40vh;
  596. color: var(--text-muted);
  597. font-size: 14px;
  598. }
  599. .bx-page .list-footer-tip {
  600. text-align: center;
  601. padding: 12px 0 24px;
  602. font-size: 12px;
  603. color: var(--text-muted);
  604. }
  605. /* FAB:用真实子节点画加号(微信端 view 伪元素不可靠) */
  606. .bx-page .fab-add {
  607. position: fixed;
  608. right: 16px;
  609. bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  610. z-index: 120;
  611. width: 48px;
  612. height: 48px;
  613. padding: 0;
  614. border: none;
  615. border-radius: 50%;
  616. background: var(--primary) !important;
  617. box-shadow: 0 3px 12px rgba(0, 201, 141, 0.38);
  618. }
  619. .bx-page .fab-add__bar {
  620. position: absolute;
  621. background: #fff;
  622. border-radius: 1px;
  623. }
  624. .bx-page .fab-add__bar--h {
  625. width: 18px;
  626. height: 2px;
  627. left: 15px;
  628. top: 23px;
  629. }
  630. .bx-page .fab-add__bar--v {
  631. width: 2px;
  632. height: 18px;
  633. left: 23px;
  634. top: 15px;
  635. }
  636. /* Bottom bar */
  637. .bx-page .bottom-action-bar {
  638. position: fixed;
  639. bottom: 0;
  640. left: 0;
  641. right: 0;
  642. padding: 12px 16px;
  643. padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  644. background: var(--surface);
  645. box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
  646. z-index: 100;
  647. display: flex;
  648. gap: 10px;
  649. }
  650. /* Ticket header */
  651. .bx-page .advance-ticket-shell {
  652. --ticket-bg: var(--primary);
  653. --ticket-skin: var(--primary-light);
  654. --ticket-dash: rgba(0, 201, 141, 0.45);
  655. width: 100%;
  656. box-sizing: border-box;
  657. padding: 10px 16px 14px;
  658. background: var(--ticket-bg);
  659. }
  660. .bx-page .advance-ticket-stack {
  661. width: 100%;
  662. filter: drop-shadow(0 10px 24px rgba(0, 168, 116, 0.3));
  663. }
  664. .bx-page .advance-ticket-top {
  665. display: flex;
  666. align-items: center;
  667. justify-content: space-between;
  668. gap: 10px;
  669. min-height: 48px;
  670. padding: 14px 16px 12px;
  671. background: var(--ticket-skin);
  672. border-radius: 14px 14px 0 0;
  673. }
  674. .bx-page .advance-ticket-code {
  675. flex: 1;
  676. min-width: 0;
  677. font-size: 13px;
  678. font-weight: 600;
  679. color: #475569;
  680. overflow: hidden;
  681. text-overflow: ellipsis;
  682. white-space: nowrap;
  683. }
  684. .bx-page .advance-ticket-status {
  685. flex-shrink: 0;
  686. padding: 4px 11px;
  687. border-radius: 8px;
  688. font-size: 12px;
  689. font-weight: 700;
  690. line-height: 1.25;
  691. white-space: nowrap;
  692. color: #fff;
  693. }
  694. .bx-page .advance-ticket-status--warn {
  695. background: #ea580c;
  696. }
  697. .bx-page .advance-ticket-status--done {
  698. background: #059669;
  699. }
  700. .bx-page .advance-ticket-status--err {
  701. background: #dc2626;
  702. }
  703. .bx-page .advance-ticket-status--info {
  704. background: #64748b;
  705. }
  706. .bx-page .advance-ticket-status--processing {
  707. background: #6366f1;
  708. }
  709. .bx-page .advance-ticket-tear {
  710. position: relative;
  711. height: 14px;
  712. background: var(--ticket-skin);
  713. }
  714. .bx-page .advance-ticket-tear::before,
  715. .bx-page .advance-ticket-tear::after {
  716. content: '';
  717. position: absolute;
  718. top: 50%;
  719. width: 14px;
  720. height: 14px;
  721. margin-top: -7px;
  722. border-radius: 50%;
  723. background: var(--ticket-bg);
  724. z-index: 1;
  725. }
  726. .bx-page .advance-ticket-tear::before {
  727. left: -7px;
  728. }
  729. .bx-page .advance-ticket-tear::after {
  730. right: -7px;
  731. }
  732. .bx-page .advance-ticket-tear__line {
  733. position: absolute;
  734. left: 14px;
  735. right: 14px;
  736. top: 50%;
  737. margin-top: -0.5px;
  738. border-top: 1px dashed var(--ticket-dash);
  739. }
  740. .bx-page .advance-ticket-bottom {
  741. padding: 10px 16px 20px;
  742. background: var(--ticket-skin);
  743. border-radius: 0 0 14px 14px;
  744. }
  745. .bx-page .advance-ticket-reason {
  746. margin: 0 0 10px;
  747. font-size: 13px;
  748. font-weight: 500;
  749. line-height: 1.45;
  750. color: #64748b;
  751. display: -webkit-box;
  752. -webkit-line-clamp: 2;
  753. -webkit-box-orient: vertical;
  754. overflow: hidden;
  755. word-break: break-word;
  756. }
  757. .bx-page .advance-ticket-amount {
  758. font-size: 36px;
  759. font-weight: 800;
  760. line-height: 1.05;
  761. color: #0f172a !important;
  762. font-variant-numeric: tabular-nums;
  763. }
  764. /* Detail cards / tabs */
  765. .bx-page .detail-tabs {
  766. display: flex;
  767. background: var(--surface);
  768. border-bottom: 1px solid var(--border);
  769. }
  770. .bx-page .detail-tab {
  771. flex: 1;
  772. text-align: center;
  773. padding: 12px 8px;
  774. font-size: 14px;
  775. font-weight: 600;
  776. color: var(--text-sec);
  777. position: relative;
  778. }
  779. .bx-page .detail-tab.active {
  780. color: var(--primary-dark);
  781. }
  782. .bx-page .detail-tab.active::after {
  783. content: '';
  784. position: absolute;
  785. left: 20%;
  786. right: 20%;
  787. bottom: 0;
  788. height: 2px;
  789. background: var(--primary);
  790. border-radius: 2px;
  791. }
  792. .bx-page .advance-detail-stack {
  793. display: flex;
  794. flex-direction: column;
  795. gap: 12px;
  796. padding-top: 12px;
  797. padding-bottom: 16px;
  798. }
  799. .bx-page .detail-info-card {
  800. background: var(--surface);
  801. border-radius: var(--r);
  802. border: 1px solid var(--border);
  803. box-shadow: var(--shadow);
  804. padding: 6px 16px 10px;
  805. }
  806. .bx-page .detail-info-card__title {
  807. margin: 6px 0 14px;
  808. padding-bottom: 12px;
  809. border-bottom: 1px solid var(--border);
  810. font-size: 13px;
  811. font-weight: 600;
  812. color: var(--text);
  813. }
  814. .bx-page .adv-field {
  815. display: flex;
  816. flex-direction: column;
  817. gap: 6px;
  818. padding: 12px 0;
  819. }
  820. .bx-page .adv-field + .adv-field {
  821. border-top: 1px solid var(--border);
  822. }
  823. .bx-page .adv-field__label {
  824. font-size: 12px;
  825. font-weight: 500;
  826. color: var(--text-muted);
  827. }
  828. .bx-page .adv-field__value {
  829. font-size: 15px;
  830. font-weight: 500;
  831. color: var(--text);
  832. word-break: break-word;
  833. }
  834. .bx-page .adv-field__value--multiline {
  835. font-size: 14px;
  836. font-weight: 400;
  837. white-space: pre-wrap;
  838. color: var(--text-sec);
  839. }
  840. .bx-page .adv-field__value--accent {
  841. color: var(--primary-dark) !important;
  842. font-weight: 700;
  843. font-size: 16px;
  844. }
  845. .bx-page .detail-section-empty {
  846. margin: 0;
  847. padding: 12px;
  848. font-size: 13px;
  849. color: var(--text-muted);
  850. text-align: center;
  851. background: var(--bg);
  852. border-radius: var(--rs);
  853. border: 1px dashed var(--border);
  854. }
  855. /* Approval flow */
  856. .bx-page .flow-step {
  857. display: flex;
  858. align-items: flex-start;
  859. gap: 12px;
  860. padding-bottom: 16px;
  861. position: relative;
  862. }
  863. .bx-page .flow-step:last-child {
  864. padding-bottom: 0;
  865. }
  866. .bx-page .flow-step:not(:last-child)::after {
  867. content: '';
  868. position: absolute;
  869. left: 15px;
  870. top: 32px;
  871. bottom: 0;
  872. width: 2px;
  873. background: var(--border);
  874. }
  875. .bx-page .flow-avatar {
  876. width: 32px;
  877. height: 32px;
  878. border-radius: 50%;
  879. display: flex;
  880. align-items: center;
  881. justify-content: center;
  882. font-size: 12px;
  883. font-weight: 700;
  884. color: #fff;
  885. flex-shrink: 0;
  886. }
  887. .bx-page .flow-avatar.av-done {
  888. background: var(--primary);
  889. }
  890. .bx-page .flow-avatar.av-current {
  891. background: var(--warning);
  892. }
  893. .bx-page .flow-avatar.av-reject {
  894. background: var(--danger);
  895. }
  896. .bx-page .flow-avatar.av-pending {
  897. background: var(--border);
  898. color: var(--text-muted);
  899. }
  900. .bx-page .flow-info {
  901. flex: 1;
  902. }
  903. .bx-page .flow-name {
  904. font-size: 13px;
  905. font-weight: 600;
  906. }
  907. .bx-page .flow-role,
  908. .bx-page .flow-time {
  909. font-size: 11px;
  910. color: var(--text-muted);
  911. }
  912. .bx-page .adv-flow-opinion {
  913. font-size: 12px;
  914. color: var(--text-sec);
  915. margin-top: 6px;
  916. line-height: 1.45;
  917. word-break: break-word;
  918. }
  919. /* Reimburse apply: detail lines + pickers */
  920. .bx-page .detail-line-no {
  921. font-weight: 500;
  922. color: var(--text-muted);
  923. font-size: 12px;
  924. }
  925. .bx-page .detail-line .detail-divider {
  926. height: 1px;
  927. background: var(--border);
  928. margin: 12px 0;
  929. }
  930. .bx-page .detail-line-actions {
  931. text-align: right;
  932. margin-top: 4px;
  933. }
  934. .bx-page .detail-actions {
  935. display: flex;
  936. justify-content: space-between;
  937. align-items: center;
  938. margin-top: 12px;
  939. padding-top: 12px;
  940. border-top: 1px dashed var(--border);
  941. gap: 8px;
  942. }
  943. .bx-page .total-amount {
  944. font-size: 14px;
  945. color: var(--text-sec);
  946. flex-shrink: 0;
  947. }
  948. .bx-page .total-amount b {
  949. color: var(--primary-dark);
  950. font-size: 16px;
  951. }
  952. .bx-page .picker-trigger {
  953. display: flex;
  954. align-items: center;
  955. justify-content: space-between;
  956. min-height: 42px;
  957. padding: 8px 12px;
  958. border: 1.5px solid var(--border);
  959. border-radius: var(--rs);
  960. background: var(--surface);
  961. box-sizing: border-box;
  962. }
  963. .bx-page .picker-trigger:active {
  964. background: var(--bg);
  965. }
  966. .bx-page .picker-trigger .value {
  967. font-size: 14px;
  968. font-weight: 600;
  969. color: var(--text);
  970. overflow: hidden;
  971. text-overflow: ellipsis;
  972. white-space: nowrap;
  973. }
  974. .bx-page .picker-trigger .ph {
  975. color: var(--text-muted);
  976. font-weight: 600;
  977. }
  978. .bx-page .picker-trigger .arrow {
  979. color: var(--text-muted);
  980. flex-shrink: 0;
  981. margin-left: 8px;
  982. font-size: 16px;
  983. }
  984. .bx-page .form-tip {
  985. font-size: 12px;
  986. color: var(--text-muted);
  987. margin: 8px 0 0;
  988. line-height: 1.45;
  989. }
  990. .bx-page .invoice-balance-tip {
  991. font-size: 13px;
  992. color: var(--text-sec);
  993. margin: 0 0 10px;
  994. line-height: 1.5;
  995. }
  996. .bx-page .invoice-balance-tip--warn {
  997. color: #dc2626;
  998. margin-left: 4px;
  999. }
  1000. .bx-page .invoice-picked-row {
  1001. margin-top: 12px;
  1002. display: flex;
  1003. flex-direction: column;
  1004. gap: 8px;
  1005. }
  1006. .bx-page .invoice-picked-item {
  1007. display: flex;
  1008. align-items: center;
  1009. justify-content: space-between;
  1010. gap: 8px;
  1011. padding: 10px 12px;
  1012. border: 1px solid var(--border);
  1013. border-radius: var(--rs);
  1014. background: var(--bg);
  1015. }
  1016. .bx-page .invoice-picked-item__meta {
  1017. flex: 1;
  1018. min-width: 0;
  1019. }
  1020. .bx-page .invoice-picked-item__name {
  1021. display: block;
  1022. font-size: 13px;
  1023. font-weight: 600;
  1024. overflow: hidden;
  1025. text-overflow: ellipsis;
  1026. white-space: nowrap;
  1027. }
  1028. .bx-page .invoice-picked-item__amt {
  1029. font-size: 12px;
  1030. color: var(--text-sec);
  1031. margin-top: 2px;
  1032. }
  1033. .bx-page .invoice-picked-item__remove {
  1034. flex-shrink: 0;
  1035. width: 28px;
  1036. height: 28px;
  1037. line-height: 28px;
  1038. text-align: center;
  1039. border-radius: 50%;
  1040. background: rgba(15, 23, 42, 0.45);
  1041. color: #fff;
  1042. font-size: 16px;
  1043. }
  1044. /* 关联发票缩略图(申请已选 / 详情 / 选择弹层) */
  1045. .bx-page .invoice-thumb-grid {
  1046. display: flex;
  1047. flex-wrap: wrap;
  1048. gap: 8px;
  1049. margin-top: 12px;
  1050. }
  1051. .bx-page .invoice-thumb {
  1052. position: relative;
  1053. width: 72px;
  1054. }
  1055. .bx-page .invoice-thumb__media {
  1056. width: 72px;
  1057. height: 72px;
  1058. border-radius: 8px;
  1059. overflow: hidden;
  1060. border: 1px solid var(--border);
  1061. background: #f1f5f9;
  1062. }
  1063. .bx-page .invoice-thumb__media image {
  1064. width: 100%;
  1065. height: 100%;
  1066. }
  1067. .bx-page .invoice-thumb__doc {
  1068. width: 100%;
  1069. height: 100%;
  1070. display: flex;
  1071. flex-direction: column;
  1072. align-items: center;
  1073. justify-content: center;
  1074. gap: 2px;
  1075. padding: 6px;
  1076. font-size: 10px;
  1077. color: var(--text-muted);
  1078. text-align: center;
  1079. }
  1080. .bx-page .invoice-thumb__doc-ext {
  1081. font-weight: 700;
  1082. font-size: 12px;
  1083. color: var(--text-sec);
  1084. }
  1085. .bx-page .invoice-thumb__meta {
  1086. width: 72px;
  1087. margin-top: 4px;
  1088. text-align: center;
  1089. }
  1090. .bx-page .invoice-thumb__amt {
  1091. display: block;
  1092. font-size: 11px;
  1093. font-weight: 600;
  1094. color: var(--primary-dark);
  1095. white-space: nowrap;
  1096. overflow: hidden;
  1097. text-overflow: ellipsis;
  1098. }
  1099. .bx-page .invoice-thumb__date {
  1100. display: block;
  1101. font-size: 10px;
  1102. color: var(--text-muted);
  1103. margin-top: 1px;
  1104. }
  1105. .bx-page .invoice-thumb__del {
  1106. position: absolute;
  1107. top: 2px;
  1108. right: 2px;
  1109. z-index: 2;
  1110. width: 20px;
  1111. height: 20px;
  1112. line-height: 20px;
  1113. text-align: center;
  1114. border-radius: 50%;
  1115. background: rgba(15, 23, 42, 0.55);
  1116. color: #fff;
  1117. font-size: 13px;
  1118. }
  1119. .bx-page .bx-sheet__body--invoice-thumbs {
  1120. padding: 12px;
  1121. max-height: 50vh;
  1122. }
  1123. .bx-page .invoice-pick-grid {
  1124. display: grid;
  1125. grid-template-columns: repeat(3, 1fr);
  1126. gap: 10px;
  1127. }
  1128. .bx-page .invoice-pick-card {
  1129. position: relative;
  1130. border: 1.5px solid var(--border);
  1131. border-radius: 8px;
  1132. overflow: hidden;
  1133. background: var(--surface);
  1134. padding: 0;
  1135. text-align: left;
  1136. }
  1137. .bx-page .invoice-pick-card.is-selected {
  1138. border-color: var(--primary);
  1139. box-shadow: 0 0 0 1px var(--primary);
  1140. }
  1141. .bx-page .invoice-pick-card__check {
  1142. position: absolute;
  1143. top: 6px;
  1144. right: 6px;
  1145. z-index: 2;
  1146. width: 22px;
  1147. height: 22px;
  1148. border-radius: 50%;
  1149. border: 1.5px solid #fff;
  1150. background: rgba(15, 23, 42, 0.25);
  1151. color: #fff;
  1152. font-size: 12px;
  1153. display: flex;
  1154. align-items: center;
  1155. justify-content: center;
  1156. }
  1157. .bx-page .invoice-pick-card.is-selected .invoice-pick-card__check {
  1158. background: var(--primary);
  1159. }
  1160. .bx-page .invoice-pick-card__preview {
  1161. width: 100%;
  1162. aspect-ratio: 1 / 1;
  1163. background: #f1f5f9;
  1164. overflow: hidden;
  1165. }
  1166. .bx-page .invoice-pick-card__preview image {
  1167. width: 100%;
  1168. height: 100%;
  1169. }
  1170. .bx-page .invoice-pick-card__doc {
  1171. width: 100%;
  1172. height: 100%;
  1173. min-height: 96px;
  1174. display: flex;
  1175. flex-direction: column;
  1176. align-items: center;
  1177. justify-content: center;
  1178. gap: 4px;
  1179. padding: 8px;
  1180. font-size: 11px;
  1181. color: var(--text-muted);
  1182. text-align: center;
  1183. }
  1184. .bx-page .invoice-pick-card__meta {
  1185. padding: 6px 8px 8px;
  1186. border-top: 1px solid var(--border);
  1187. }
  1188. .bx-page .invoice-pick-card__amt {
  1189. font-size: 12px;
  1190. font-weight: 700;
  1191. color: var(--primary-dark);
  1192. }
  1193. .bx-page .invoice-pick-card__date {
  1194. margin-top: 2px;
  1195. font-size: 10px;
  1196. color: var(--text-muted);
  1197. }
  1198. .bx-page .invoice-pick-footer-tip {
  1199. margin-top: 10px;
  1200. text-align: center;
  1201. font-size: 12px;
  1202. color: var(--text-muted);
  1203. padding: 4px 0 8px;
  1204. }
  1205. .bx-page .bx-sheet-mask {
  1206. position: fixed;
  1207. inset: 0;
  1208. z-index: 1000;
  1209. background: rgba(15, 23, 42, 0.45);
  1210. display: flex;
  1211. align-items: flex-end;
  1212. }
  1213. .bx-page .bx-sheet {
  1214. width: 100%;
  1215. max-height: 70vh;
  1216. background: var(--surface);
  1217. border-radius: 16px 16px 0 0;
  1218. display: flex;
  1219. flex-direction: column;
  1220. overflow: hidden;
  1221. }
  1222. .bx-page .bx-sheet__title {
  1223. padding: 14px 16px;
  1224. font-size: 16px;
  1225. font-weight: 700;
  1226. border-bottom: 1px solid var(--border);
  1227. text-align: center;
  1228. }
  1229. .bx-page .bx-sheet__search {
  1230. position: relative;
  1231. padding: 10px 16px 8px;
  1232. border-bottom: 1px solid var(--border);
  1233. }
  1234. .bx-page .bx-sheet__search-input {
  1235. width: 100%;
  1236. height: 40px;
  1237. padding: 0 36px 0 12px;
  1238. border: 1.5px solid var(--border);
  1239. border-radius: var(--rs);
  1240. font-size: 14px;
  1241. color: var(--text);
  1242. background: var(--bg);
  1243. box-sizing: border-box;
  1244. }
  1245. .bx-page .bx-sheet__search-clear {
  1246. position: absolute;
  1247. right: 24px;
  1248. top: 50%;
  1249. transform: translateY(-50%);
  1250. width: 28px;
  1251. height: 28px;
  1252. line-height: 28px;
  1253. text-align: center;
  1254. color: var(--text-muted);
  1255. font-size: 18px;
  1256. }
  1257. .bx-page .bx-sheet__body {
  1258. flex: 1;
  1259. overflow-y: auto;
  1260. padding: 8px 0;
  1261. max-height: 50vh;
  1262. }
  1263. .bx-page .bx-sheet__item {
  1264. padding: 12px 16px;
  1265. font-size: 14px;
  1266. border-bottom: 1px solid var(--border);
  1267. display: flex;
  1268. align-items: center;
  1269. justify-content: space-between;
  1270. gap: 8px;
  1271. }
  1272. .bx-page .bx-sheet__item.is-selected {
  1273. background: var(--primary-bg);
  1274. color: var(--primary-dark);
  1275. font-weight: 600;
  1276. }
  1277. .bx-page .bx-sheet__item-sub {
  1278. font-size: 12px;
  1279. color: var(--text-muted);
  1280. margin-top: 2px;
  1281. }
  1282. .bx-page .bx-sheet__footer {
  1283. padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  1284. border-top: 1px solid var(--border);
  1285. }
  1286. .bx-page .bx-sheet__empty {
  1287. padding: 28px 16px;
  1288. text-align: center;
  1289. color: var(--text-muted);
  1290. font-size: 13px;
  1291. }
  1292. .bx-page .reimburse-detail-group + .reimburse-detail-group {
  1293. margin-top: 12px;
  1294. padding-top: 12px;
  1295. border-top: 1px dashed var(--border);
  1296. }
  1297. .bx-page .reimburse-detail-head {
  1298. font-size: 12px;
  1299. font-weight: 600;
  1300. color: var(--text-muted);
  1301. margin-bottom: 8px;
  1302. }
  1303. .bx-page .reimburse-detail-total-row {
  1304. margin-top: 12px;
  1305. padding-top: 12px;
  1306. border-top: 1px solid var(--border);
  1307. }
  1308. /* 我的/全部:业务类型切换卡片 */
  1309. .bx-page .mine-type-tabs.stat-scroll {
  1310. display: flex;
  1311. justify-content: center;
  1312. align-items: stretch;
  1313. gap: 12px;
  1314. padding: 10px 16px 8px;
  1315. overflow-x: visible;
  1316. }
  1317. .bx-page .mine-type-tabs .stat-card {
  1318. flex-shrink: 0;
  1319. width: auto;
  1320. min-width: 120px;
  1321. padding: 16px 22px;
  1322. border: none;
  1323. border-radius: var(--r);
  1324. background: var(--surface);
  1325. box-shadow: var(--shadow);
  1326. display: flex;
  1327. align-items: center;
  1328. justify-content: center;
  1329. }
  1330. .bx-page .mine-type-tabs--triple .stat-card {
  1331. min-width: 100px;
  1332. padding: 14px 14px;
  1333. }
  1334. .bx-page .mine-type-tabs .stat-card.active {
  1335. background: var(--primary-bg);
  1336. }
  1337. .bx-page .mine-type-tabs .stat-card .label {
  1338. font-size: 16px;
  1339. font-weight: 600;
  1340. color: var(--text);
  1341. }
  1342. .bx-page .mine-type-tabs--triple .stat-card .label {
  1343. font-size: 15px;
  1344. }
  1345. .bx-page .mine-type-tabs .stat-card.active .label {
  1346. color: var(--primary-dark);
  1347. }
  1348. .bx-page .all-list-card__bottom {
  1349. justify-content: flex-end;
  1350. }
  1351. /* —— 发票夹 wallet summary / cards —— */
  1352. .bx-page .wallet-summary.card,
  1353. .bx-page .wallet-summary {
  1354. margin: 12px 16px 8px;
  1355. padding: 14px 16px;
  1356. background: var(--surface);
  1357. border-radius: var(--r);
  1358. box-shadow: var(--shadow);
  1359. }
  1360. .bx-page .wallet-summary__row {
  1361. display: flex;
  1362. justify-content: space-between;
  1363. align-items: center;
  1364. padding: 4px 0;
  1365. font-size: 14px;
  1366. color: var(--text-sec);
  1367. }
  1368. .bx-page .wallet-summary__val {
  1369. font-weight: 700;
  1370. color: var(--text);
  1371. font-variant-numeric: tabular-nums;
  1372. }
  1373. .bx-page .wallet-summary__row--em .wallet-summary__val,
  1374. .bx-page .wallet-summary__row--em b {
  1375. color: var(--primary);
  1376. font-size: 18px;
  1377. }
  1378. .bx-page .wallet-summary__meta {
  1379. margin-top: 8px;
  1380. font-size: 12px;
  1381. color: var(--text-muted);
  1382. }
  1383. .bx-page .wallet-actions {
  1384. padding: 0 16px 8px;
  1385. }
  1386. .bx-page .wallet-list {
  1387. padding-top: 5px;
  1388. padding-bottom: 16px;
  1389. box-sizing: border-box;
  1390. }
  1391. .bx-page .invoice-wallet-card {
  1392. position: relative;
  1393. overflow: hidden;
  1394. padding-top: 20px;
  1395. }
  1396. .bx-page .invoice-wallet-card--static:active {
  1397. transform: none;
  1398. }
  1399. .bx-page .invoice-wallet-card__index {
  1400. position: absolute;
  1401. top: 0;
  1402. left: 0;
  1403. z-index: 1;
  1404. min-width: 28px;
  1405. height: 22px;
  1406. padding: 0 8px;
  1407. display: inline-flex;
  1408. align-items: center;
  1409. justify-content: center;
  1410. border-radius: 0 0 10px 0;
  1411. background: var(--primary-dark);
  1412. color: #fff;
  1413. font-size: 12px;
  1414. font-weight: 700;
  1415. line-height: 1;
  1416. font-variant-numeric: tabular-nums;
  1417. box-sizing: border-box;
  1418. }
  1419. .bx-page .invoice-wallet-card__subs {
  1420. display: flex;
  1421. flex-direction: column;
  1422. gap: 6px;
  1423. margin: 4px 0 10px;
  1424. }
  1425. .bx-page .invoice-wallet-card__sub {
  1426. display: flex;
  1427. justify-content: space-between;
  1428. gap: 12px;
  1429. font-size: 13px;
  1430. line-height: 1.4;
  1431. }
  1432. .bx-page .invoice-wallet-card__sub .k {
  1433. flex-shrink: 0;
  1434. color: var(--text-muted);
  1435. }
  1436. .bx-page .invoice-wallet-card__sub .v {
  1437. min-width: 0;
  1438. text-align: right;
  1439. color: var(--text);
  1440. word-break: break-word;
  1441. }
  1442. .bx-page .invoice-wallet-card__att-label {
  1443. margin-bottom: 6px;
  1444. font-size: 12px;
  1445. color: var(--text-muted);
  1446. }
  1447. .bx-page .invoice-wallet-card__att-empty {
  1448. margin: 0;
  1449. font-size: 12px;
  1450. color: var(--text-muted);
  1451. }
  1452. .bx-page .advance-att-grid {
  1453. margin-top: 0;
  1454. }
  1455. .bx-page .advance-att-tile:active {
  1456. opacity: 0.92;
  1457. }
  1458. .bx-page .att-preview-loading {
  1459. width: 100%;
  1460. height: 100%;
  1461. display: flex;
  1462. align-items: center;
  1463. justify-content: center;
  1464. background: var(--bg);
  1465. color: var(--text-muted);
  1466. font-size: 12px;
  1467. }
  1468. .bx-page .att-file-icon.att-doc-thumb {
  1469. width: 100%;
  1470. height: 100%;
  1471. display: flex;
  1472. flex-direction: column;
  1473. align-items: center;
  1474. justify-content: center;
  1475. gap: 4px;
  1476. padding: 6px 4px;
  1477. box-sizing: border-box;
  1478. }
  1479. .bx-page .att-doc-thumb__ext {
  1480. font-size: 11px;
  1481. font-weight: 800;
  1482. color: var(--primary-dark);
  1483. letter-spacing: 0.02em;
  1484. }
  1485. .bx-page .att-doc-thumb__name {
  1486. font-size: 10px;
  1487. color: var(--text-muted);
  1488. text-align: center;
  1489. line-height: 1.25;
  1490. overflow: hidden;
  1491. text-overflow: ellipsis;
  1492. display: -webkit-box;
  1493. -webkit-line-clamp: 2;
  1494. -webkit-box-orient: vertical;
  1495. word-break: break-word;
  1496. }
  1497. .bx-page .invoice-admin-card__bottom {
  1498. justify-content: flex-end;
  1499. margin-top: 10px;
  1500. }
  1501. .bx-page .empty-state--embed {
  1502. padding: 28px 16px;
  1503. min-height: 120px;
  1504. }
  1505. .bx-page .att-img.att-add {
  1506. display: flex;
  1507. align-items: center;
  1508. justify-content: center;
  1509. border-style: dashed;
  1510. color: var(--text-muted);
  1511. font-size: 28px;
  1512. line-height: 1;
  1513. }
  1514. .bx-page .form-hint {
  1515. display: block;
  1516. font-size: 11px;
  1517. color: var(--text-muted);
  1518. margin: 0 0 8px;
  1519. line-height: 1.4;
  1520. }
  1521. .bx-page .bx-upload-sheet .dialog-form-body {
  1522. padding: 8px 16px 4px;
  1523. }
  1524. .bx-page .bx-upload-sheet .form-item {
  1525. margin-bottom: 12px;
  1526. }
  1527. .bx-page .bx-upload-sheet .form-label {
  1528. display: block;
  1529. font-size: 13px;
  1530. color: var(--text-sec);
  1531. margin-bottom: 6px;
  1532. }
  1533. .bx-page .bx-upload-sheet .form-input {
  1534. width: 100%;
  1535. height: 40px;
  1536. padding: 0 12px;
  1537. border: 1px solid var(--border);
  1538. border-radius: var(--rs);
  1539. background: var(--bg);
  1540. box-sizing: border-box;
  1541. font-size: 14px;
  1542. }
  1543. .bx-page .bx-upload-sheet .form-input-prefix {
  1544. position: relative;
  1545. }
  1546. .bx-page .bx-upload-sheet .form-input-prefix .form-input {
  1547. padding-left: 28px;
  1548. }
  1549. /* ---- Batch6: expense tree + workflow config ---- */
  1550. .bx-page .section-title {
  1551. display: flex;
  1552. align-items: center;
  1553. gap: 8px;
  1554. margin: 14px 0 10px;
  1555. font-size: 14px;
  1556. font-weight: 800;
  1557. color: var(--text);
  1558. }
  1559. .bx-page .section-title::before {
  1560. content: '';
  1561. width: 3px;
  1562. height: 14px;
  1563. border-radius: 2px;
  1564. background: var(--primary);
  1565. flex-shrink: 0;
  1566. }
  1567. .bx-page .card-list {
  1568. display: flex;
  1569. flex-direction: column;
  1570. gap: 10px;
  1571. padding-bottom: 72px;
  1572. }
  1573. .bx-page .tree-card {
  1574. background: var(--surface);
  1575. border: 1px solid var(--border);
  1576. border-radius: var(--r);
  1577. box-shadow: var(--shadow);
  1578. overflow: hidden;
  1579. }
  1580. .bx-page .tree-head {
  1581. display: flex;
  1582. align-items: center;
  1583. justify-content: space-between;
  1584. gap: 8px;
  1585. padding: 12px 14px;
  1586. background: linear-gradient(135deg, var(--primary-bg), #fff);
  1587. }
  1588. .bx-page .tree-head__left {
  1589. display: flex;
  1590. align-items: center;
  1591. gap: 8px;
  1592. min-width: 0;
  1593. flex: 1;
  1594. }
  1595. .bx-page .tree-head__title {
  1596. font-size: 14px;
  1597. font-weight: 800;
  1598. color: var(--text);
  1599. overflow: hidden;
  1600. text-overflow: ellipsis;
  1601. white-space: nowrap;
  1602. }
  1603. .bx-page .tree-head__tags {
  1604. display: flex;
  1605. gap: 4px;
  1606. align-items: center;
  1607. flex-shrink: 0;
  1608. }
  1609. .bx-page .tree-twisty {
  1610. width: 22px;
  1611. height: 22px;
  1612. border-radius: 7px;
  1613. display: flex;
  1614. align-items: center;
  1615. justify-content: center;
  1616. background: rgba(16, 185, 129, 0.1);
  1617. color: var(--primary-dark);
  1618. font-size: 16px;
  1619. font-weight: 700;
  1620. line-height: 1;
  1621. transition: transform 0.15s;
  1622. flex-shrink: 0;
  1623. transform: rotate(0deg);
  1624. }
  1625. .bx-page .tree-twisty.expanded {
  1626. transform: rotate(90deg);
  1627. }
  1628. .bx-page .tree-body {
  1629. border-top: 1px solid var(--border);
  1630. }
  1631. .bx-page .tree-meta-grid {
  1632. display: grid;
  1633. grid-template-columns: repeat(3, 1fr);
  1634. gap: 6px;
  1635. padding: 8px 14px;
  1636. background: var(--bg);
  1637. }
  1638. .bx-page .tree-meta-cell .k {
  1639. display: block;
  1640. font-size: 11px;
  1641. color: var(--text-muted);
  1642. }
  1643. .bx-page .tree-meta-cell .v {
  1644. display: block;
  1645. font-size: 13px;
  1646. font-weight: 500;
  1647. color: var(--text);
  1648. margin-top: 2px;
  1649. word-break: break-all;
  1650. }
  1651. .bx-page .tree-child-card {
  1652. margin: 0 14px 10px;
  1653. border-left: 3px solid var(--primary);
  1654. }
  1655. .bx-page .op-card {
  1656. background: var(--surface);
  1657. border: 1px solid var(--border);
  1658. border-radius: var(--r);
  1659. box-shadow: var(--shadow);
  1660. padding: 14px;
  1661. }
  1662. .bx-page .op-card-head {
  1663. display: flex;
  1664. align-items: flex-start;
  1665. justify-content: space-between;
  1666. gap: 10px;
  1667. }
  1668. .bx-page .op-card-title {
  1669. font-size: 14px;
  1670. font-weight: 800;
  1671. line-height: 1.3;
  1672. flex: 1;
  1673. min-width: 0;
  1674. }
  1675. .bx-page .op-card-sub {
  1676. margin-top: 4px;
  1677. font-size: 12px;
  1678. color: var(--text-muted);
  1679. display: flex;
  1680. gap: 10px;
  1681. flex-wrap: wrap;
  1682. }
  1683. .bx-page .op-card-body {
  1684. padding: 10px 0 0;
  1685. }
  1686. .bx-page .tree-body > .op-card-body {
  1687. padding: 10px 14px;
  1688. }
  1689. .bx-page .tag {
  1690. display: inline-flex;
  1691. align-items: center;
  1692. padding: 2px 8px;
  1693. border-radius: 8px;
  1694. font-size: 11px;
  1695. font-weight: 600;
  1696. border: 1px solid transparent;
  1697. line-height: 1.25;
  1698. }
  1699. .bx-page .tag-neutral {
  1700. background: #f1f5f9;
  1701. color: #64748b;
  1702. border-color: rgba(100, 116, 139, 0.15);
  1703. }
  1704. .bx-page .detail-grid {
  1705. display: grid;
  1706. grid-template-columns: 1fr 1fr;
  1707. gap: 12px;
  1708. margin-bottom: 12px;
  1709. }
  1710. .bx-page .detail-item {
  1711. background: var(--surface);
  1712. border: 1px solid var(--border);
  1713. border-radius: var(--rs);
  1714. padding: 10px 12px;
  1715. }
  1716. .bx-page .detail-item .di-label {
  1717. font-size: 11px;
  1718. color: var(--text-muted);
  1719. margin-bottom: 2px;
  1720. }
  1721. .bx-page .detail-item .di-value {
  1722. font-size: 14px;
  1723. font-weight: 500;
  1724. color: var(--text);
  1725. word-break: break-all;
  1726. }
  1727. .bx-page .flow-card {
  1728. background: var(--surface);
  1729. border: 1px solid var(--border);
  1730. border-radius: var(--r);
  1731. padding: 16px;
  1732. margin-bottom: 72px;
  1733. }
  1734. .bx-page .flow-info__head {
  1735. display: flex;
  1736. align-items: center;
  1737. justify-content: space-between;
  1738. gap: 8px;
  1739. }
  1740. .bx-page .form-textarea-counter {
  1741. margin-top: 4px;
  1742. text-align: right;
  1743. font-size: 11px;
  1744. color: var(--text-muted);
  1745. }
  1746. .bx-page .switch-row {
  1747. display: flex;
  1748. align-items: center;
  1749. gap: 10px;
  1750. }
  1751. .bx-page .switch-row__label {
  1752. font-size: 13px;
  1753. color: var(--text-sec);
  1754. }
  1755. .bx-page .field-tip {
  1756. margin-top: 6px;
  1757. font-size: 11px;
  1758. color: var(--warning);
  1759. line-height: 1.4;
  1760. }
  1761. .bx-page .bx-sheet--tall {
  1762. max-height: 85vh;
  1763. }
  1764. .bx-page .bx-sheet__body--form {
  1765. padding: 8px 16px 4px;
  1766. max-height: 60vh;
  1767. }