| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025 |
- /* BX Fresh Mint — 备用金 list/apply/detail 所需样式(对齐 bx-mobile)
- * 在页面根节点加 class="bx-page",避免污染全局 .btn / .status-tag
- */
- .bx-page {
- --primary: #00c98d;
- --primary-dark: #00a874;
- --primary-darker: #008f62;
- --primary-bg: #eafff6;
- --primary-light: #f0fdf9;
- --success: #10b981;
- --success-bg: #ecfdf5;
- --success-border: #a7f3d0;
- --warning: #f59e0b;
- --warning-bg: #fffbeb;
- --warning-border: #fcd34d;
- --danger: #ef4444;
- --danger-bg: #fef2f2;
- --danger-border: #fecaca;
- --info: #3b82f6;
- --info-bg: #eff6ff;
- --info-border: #93c5fd;
- --processing: #6366f1;
- --processing-bg: #eef2ff;
- --processing-border: #a5b4fc;
- --text: #1a1a2e;
- --text-sec: #64748b;
- --text-muted: #94a3b8;
- --bg: #f8fafc;
- --surface: #fff;
- --border: #e2e8f0;
- --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
- --r: 12px;
- --rs: 8px;
- --rl: 16px;
- --font: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
- --empty-fill-chrome: 230px;
- min-height: 100vh;
- padding-bottom: 80px;
- box-sizing: border-box;
- font-family: var(--font);
- font-size: 14px;
- color: var(--text);
- background: var(--bg);
- line-height: 1.5;
- }
- .bx-page.bx-page--form {
- padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
- }
- .bx-page .page-padded {
- padding: 0 16px;
- }
- .bx-page > .topbar + .page-padded {
- padding-top: 5px;
- }
- .bx-page .search-wrap + .page-padded {
- padding-top: 5px;
- }
- /* Topbar — 对齐仪表盘白底顶栏 */
- .bx-page .topbar {
- position: sticky;
- top: 0;
- z-index: 50;
- display: grid;
- grid-template-columns: minmax(0, 1fr) var(--sq-capsule-right-safe, 96px);
- align-items: center;
- height: var(--sq-header-height, calc(44px + 44px));
- padding: var(--sq-safe-top, 44px) 12px 0 8px;
- box-sizing: border-box;
- /* 对齐首页 mp-header:绿渐变 + 下缘左右圆角;高度保持业务顶栏原值 */
- background: var(--mp-header-gradient, linear-gradient(145deg, #087f57 0%, #0a9f6d 72%, #d6a343 165%));
- border-bottom-left-radius: var(--mp-radius-xl, 44rpx);
- border-bottom-right-radius: var(--mp-radius-xl, 44rpx);
- box-shadow: 0 16rpx 40rpx rgba(10, 159, 109, 0.12);
- color: #fff;
- }
- .bx-page .topbar-left {
- display: flex;
- align-items: center;
- justify-content: flex-start;
- gap: 8px;
- min-width: 0;
- }
- .bx-page .topbar-back {
- font-size: 20px;
- color: #fff;
- padding: 4px 8px;
- flex-shrink: 0;
- line-height: 1;
- }
- .bx-page .topbar-back:active {
- opacity: 0.75;
- }
- .bx-page .topbar-title {
- text-align: left;
- font-size: 17px;
- font-weight: 700;
- color: #fff;
- max-width: 100%;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .bx-page .topbar-right {
- min-width: 0;
- min-height: 1px;
- }
- /* Search */
- .bx-page .search-wrap {
- padding: 12px 16px;
- background: var(--surface);
- }
- .bx-page .search-box {
- display: flex;
- align-items: center;
- gap: 8px;
- background: var(--bg);
- border: 1.5px solid var(--border);
- border-radius: 20px;
- padding: 0 14px;
- height: 40px;
- }
- .bx-page .search-box input,
- .bx-page .search-box .search-input {
- flex: 1;
- border: none;
- outline: none;
- background: transparent;
- font-size: 14px;
- color: var(--text);
- height: 38px;
- }
- .bx-page .search-box__clear {
- flex-shrink: 0;
- width: 28px;
- height: 28px;
- display: flex;
- align-items: center;
- justify-content: center;
- color: var(--text-muted);
- font-size: 16px;
- }
- /* 横向筛选 tag:flex 写在内层 view 上(scroll-view 自身不支持可靠 flex/gap,对齐地磅 db-filter-bar) */
- .bx-page .search-filter-scroll {
- width: 100%;
- white-space: nowrap;
- }
- .bx-page .search-filter {
- display: inline-flex;
- flex-direction: row;
- align-items: center;
- flex-wrap: nowrap;
- padding: 8px 0 4px;
- }
- .bx-page .filter-tag {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- box-sizing: border-box;
- padding: 4px 12px;
- margin-right: 8px;
- border-radius: 14px;
- font-size: 12px;
- font-weight: 500;
- border: 1px solid var(--border);
- color: var(--text-sec);
- background: var(--surface);
- white-space: nowrap;
- flex-shrink: 0;
- }
- .bx-page .search-filter .filter-tag:last-child {
- margin-right: 0;
- }
- .bx-page .filter-tag.active {
- background: var(--primary-bg);
- border-color: var(--primary);
- color: var(--primary-dark);
- }
- /* Expense card */
- .bx-page .expense-card {
- background: var(--surface);
- border-radius: var(--r);
- padding: 16px;
- margin-bottom: 10px;
- border: 1px solid var(--border);
- box-shadow: var(--shadow);
- }
- .bx-page .expense-card:active {
- opacity: 0.96;
- }
- .bx-page .ec-top {
- display: flex;
- justify-content: space-between;
- align-items: center;
- gap: 10px;
- margin-bottom: 8px;
- }
- .bx-page .ec-type {
- flex: 1;
- min-width: 0;
- font-size: 15px;
- font-weight: 600;
- line-height: 1.3;
- }
- .bx-page .advance-list-card__title,
- .bx-page .reimburse-list-card__title {
- display: block;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .bx-page .status-tag {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- padding: 2px 10px;
- border-radius: 10px;
- font-size: 11px;
- font-weight: 600;
- border: 1px solid var(--border);
- white-space: nowrap;
- line-height: 1.25;
- background: var(--bg);
- color: var(--text-sec);
- flex-shrink: 0;
- }
- .bx-page .status-tag.s-draft {
- background: #f1f5f9;
- color: #64748b;
- border-color: rgba(100, 116, 139, 0.15);
- }
- .bx-page .status-tag.s-pending {
- background: var(--warning-bg);
- color: var(--warning);
- border-color: var(--warning-border);
- }
- .bx-page .status-tag.s-approved {
- background: var(--primary-bg);
- color: var(--primary-dark);
- border-color: rgba(0, 201, 141, 0.2);
- }
- .bx-page .status-tag.s-rejected {
- background: #fef2f2;
- color: #ef4444;
- border-color: rgba(239, 68, 68, 0.2);
- }
- .bx-page .status-tag.s-withdrawn {
- background: #fffbeb;
- color: #d97706;
- border-color: rgba(245, 158, 11, 0.25);
- }
- .bx-page .status-tag.s-issued {
- background: #eef2ff;
- color: #6366f1;
- border-color: rgba(99, 102, 241, 0.25);
- }
- .bx-page .status-tag.s-paid,
- .bx-page .status-tag.s-processed {
- background: var(--primary-bg);
- color: var(--primary-dark);
- border-color: rgba(0, 201, 141, 0.2);
- }
- .bx-page .status-tag.s-offset {
- background: #fffbeb;
- color: #d97706;
- border-color: rgba(245, 158, 11, 0.25);
- }
- .bx-page .ec-amount-label {
- font-size: 11px;
- color: var(--text-muted);
- margin-bottom: 2px;
- }
- .bx-page .ec-amount {
- font-size: 24px;
- font-weight: 800;
- color: var(--primary-dark) !important;
- margin-bottom: 6px;
- font-variant-numeric: tabular-nums;
- }
- .bx-page .ec-amount::before {
- content: '¥';
- font-size: 14px;
- margin-right: 2px;
- }
- .bx-page .advance-card-subs,
- .bx-page .reimburse-card-subs {
- display: flex;
- flex-direction: column;
- gap: 6px;
- margin-bottom: 8px;
- padding: 8px 0 2px;
- border-top: 1px solid var(--border);
- }
- .bx-page .advance-card-sub-row,
- .bx-page .reimburse-card-sub-row {
- display: flex;
- justify-content: space-between;
- align-items: center;
- font-size: 13px;
- line-height: 1.35;
- }
- .bx-page .advance-card-sub-row .k,
- .bx-page .reimburse-card-sub-row .k {
- color: var(--text-sec);
- flex-shrink: 0;
- margin-right: 8px;
- }
- .bx-page .advance-card-sub-row .v,
- .bx-page .reimburse-card-sub-row .v {
- font-weight: 600;
- color: var(--text);
- font-variant-numeric: tabular-nums;
- text-align: right;
- }
- .bx-page .list-card-kv {
- margin-top: 10px;
- padding: 10px 12px;
- border-radius: var(--rs);
- background: var(--bg);
- border: 1px solid var(--border);
- display: flex;
- flex-direction: column;
- gap: 6px;
- font-size: 12px;
- }
- .bx-page .list-card-kv__row {
- display: flex;
- justify-content: space-between;
- align-items: flex-start;
- gap: 10px;
- line-height: 1.45;
- }
- .bx-page .list-card-kv__k {
- flex-shrink: 0;
- color: var(--text-muted);
- font-size: 11px;
- max-width: 42%;
- }
- .bx-page .list-card-kv__v {
- flex: 1;
- min-width: 0;
- text-align: right;
- color: var(--text);
- font-weight: 500;
- word-break: break-word;
- }
- .bx-page .ec-meta {
- display: flex;
- gap: 12px;
- font-size: 12px;
- color: var(--text-muted);
- margin-top: 8px;
- }
- .bx-page .ec-bottom {
- display: flex;
- justify-content: flex-end;
- align-items: center;
- gap: 10px;
- margin-top: 10px;
- padding-top: 10px;
- border-top: 1px dashed var(--border);
- }
- .bx-page .op-actions {
- display: flex;
- gap: 8px;
- flex-wrap: wrap;
- justify-content: flex-end;
- }
- /* Buttons(覆盖全局 .btn) */
- .bx-page .btn {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- gap: 6px;
- height: 40px;
- padding: 0 20px;
- border-radius: var(--rs);
- font-size: 14px;
- font-weight: 600;
- font-family: var(--font);
- border: 1px solid transparent;
- line-height: 1;
- box-sizing: border-box;
- }
- .bx-page .btn::after {
- border: none;
- }
- .bx-page .btn-primary {
- background: var(--primary) !important;
- color: #fff !important;
- border-color: var(--primary);
- }
- .bx-page .btn-danger {
- background: var(--danger) !important;
- color: #fff !important;
- border-color: var(--danger);
- }
- .bx-page .btn-secondary {
- background: var(--text-sec) !important;
- color: #fff !important;
- border-color: var(--text-sec);
- }
- .bx-page .btn-ghost {
- background: #fff !important;
- color: var(--text) !important;
- border-color: var(--border, #e2e8f0);
- }
- /* 全局 button.btn[disabled] 会强制白字;ghost 白底需保持深色文字 */
- .bx-page .btn-ghost[disabled],
- .bx-page .btn-ghost.btn-loading {
- color: var(--text) !important;
- background: #fff !important;
- opacity: 0.65;
- }
- .bx-page .btn-ghost[disabled] text,
- .bx-page .btn-ghost.btn-loading text {
- color: var(--text) !important;
- }
- .bx-page .btn-block {
- width: 100%;
- }
- .bx-page .btn-sm,
- .bx-page .op-actions .btn {
- height: 32px;
- padding: 0 12px;
- font-size: 12px;
- border-radius: 8px;
- }
- .bx-page .btn[disabled],
- .bx-page .btn-loading {
- opacity: 0.65;
- }
- /* Form */
- .bx-page .form-card {
- background: var(--surface);
- border-radius: var(--r);
- padding: 16px;
- border: 1px solid var(--border);
- }
- .bx-page .form-card + .form-card {
- margin-top: 12px;
- }
- .bx-page .form-header {
- display: flex;
- align-items: center;
- gap: 8px;
- margin-bottom: 16px;
- }
- .bx-page .form-header h3,
- .bx-page .form-header .form-header-title {
- font-size: 16px;
- font-weight: 700;
- margin: 0;
- }
- .bx-page .form-badge {
- font-size: 11px;
- font-weight: 600;
- padding: 2px 8px;
- border-radius: 4px;
- background: var(--primary-bg);
- color: var(--primary-dark);
- }
- .bx-page .field {
- margin-bottom: 14px;
- }
- .bx-page .field-label {
- display: block;
- font-size: 13px;
- font-weight: 600;
- color: var(--text);
- margin-bottom: 6px;
- }
- .bx-page .field-label .req {
- color: var(--danger);
- margin-left: 2px;
- }
- .bx-page .form-input,
- .bx-page .form-textarea {
- width: 100%;
- padding: 0 12px;
- border: 1.5px solid var(--border);
- border-radius: var(--rs);
- font-size: 14px;
- font-family: var(--font);
- color: var(--text);
- background: var(--surface);
- box-sizing: border-box;
- }
- .bx-page .form-input {
- height: 42px;
- }
- .bx-page .form-textarea {
- min-height: 80px;
- padding: 10px 12px;
- }
- .bx-page .form-input.error,
- .bx-page .form-textarea.error,
- .bx-page .picker-trigger.error {
- border-color: var(--danger);
- }
- .bx-page .form-input-prefix {
- position: relative;
- }
- .bx-page .form-input-prefix .form-input {
- padding-left: 28px;
- }
- .bx-page .form-input-prefix::before {
- content: '¥';
- position: absolute;
- left: 12px;
- top: 50%;
- transform: translateY(-50%);
- color: var(--text-sec);
- font-weight: 600;
- z-index: 1;
- }
- /* Attachments grid (images) */
- .bx-page .att-grid {
- display: flex;
- flex-wrap: wrap;
- gap: 8px;
- margin-top: 8px;
- }
- .bx-page .att-img {
- position: relative;
- width: 72px;
- height: 72px;
- border-radius: 8px;
- overflow: hidden;
- background: var(--bg);
- border: 1px solid var(--border);
- }
- .bx-page .att-img image {
- width: 100%;
- height: 100%;
- }
- .bx-page .att-img--with-name {
- height: auto;
- overflow: visible;
- background: transparent;
- border: none;
- }
- .bx-page .att-img--with-name image,
- .bx-page .att-img--with-name > .detail-section-empty {
- display: block;
- width: 72px;
- height: 72px;
- border-radius: 8px;
- overflow: hidden;
- background: var(--bg);
- border: 1px solid var(--border);
- box-sizing: border-box;
- }
- .bx-page .att-img__name {
- display: block;
- width: 72px;
- margin-top: 4px;
- font-size: 11px;
- line-height: 1.3;
- color: var(--text-muted, #64748b);
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- text-align: center;
- }
- .bx-page .att-img .del {
- position: absolute;
- top: 2px;
- right: 2px;
- width: 20px;
- height: 20px;
- border-radius: 50%;
- background: rgba(0, 0, 0, 0.55);
- color: #fff;
- font-size: 14px;
- line-height: 20px;
- text-align: center;
- }
- /* Empty / loading */
- .bx-page .empty-state {
- text-align: center;
- padding: 40px 20px;
- color: var(--text-muted);
- font-size: 15px;
- }
- .bx-page .empty-state--fill {
- min-height: 40vh;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .bx-page .page-body-loading {
- display: flex;
- align-items: center;
- justify-content: center;
- min-height: 40vh;
- color: var(--text-muted);
- font-size: 14px;
- }
- .bx-page .list-footer-tip {
- text-align: center;
- padding: 12px 0 24px;
- font-size: 12px;
- color: var(--text-muted);
- }
- /* FAB:用真实子节点画加号(微信端 view 伪元素不可靠) */
- .bx-page .fab-add {
- position: fixed;
- right: 16px;
- bottom: calc(20px + env(safe-area-inset-bottom, 0px));
- z-index: 120;
- width: 48px;
- height: 48px;
- padding: 0;
- border: none;
- border-radius: 50%;
- background: var(--primary) !important;
- box-shadow: 0 3px 12px rgba(0, 201, 141, 0.38);
- }
- .bx-page .fab-add__bar {
- position: absolute;
- background: #fff;
- border-radius: 1px;
- }
- .bx-page .fab-add__bar--h {
- width: 18px;
- height: 2px;
- left: 15px;
- top: 23px;
- }
- .bx-page .fab-add__bar--v {
- width: 2px;
- height: 18px;
- left: 23px;
- top: 15px;
- }
- /* Bottom bar */
- .bx-page .bottom-action-bar {
- position: fixed;
- bottom: 0;
- left: 0;
- right: 0;
- padding: 12px 16px;
- padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
- background: var(--surface);
- box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
- z-index: 100;
- display: flex;
- gap: 10px;
- }
- /* Ticket header */
- .bx-page .advance-ticket-shell {
- --ticket-bg: var(--primary);
- --ticket-skin: var(--primary-light);
- --ticket-dash: rgba(0, 201, 141, 0.45);
- width: 100%;
- box-sizing: border-box;
- padding: 10px 16px 14px;
- background: var(--ticket-bg);
- }
- .bx-page .advance-ticket-stack {
- width: 100%;
- filter: drop-shadow(0 10px 24px rgba(0, 168, 116, 0.3));
- }
- .bx-page .advance-ticket-top {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 10px;
- min-height: 48px;
- padding: 14px 16px 12px;
- background: var(--ticket-skin);
- border-radius: 14px 14px 0 0;
- }
- .bx-page .advance-ticket-code {
- flex: 1;
- min-width: 0;
- font-size: 13px;
- font-weight: 600;
- color: #475569;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .bx-page .advance-ticket-status {
- flex-shrink: 0;
- padding: 4px 11px;
- border-radius: 8px;
- font-size: 12px;
- font-weight: 700;
- line-height: 1.25;
- white-space: nowrap;
- color: #fff;
- }
- .bx-page .advance-ticket-status--warn {
- background: #ea580c;
- }
- .bx-page .advance-ticket-status--done {
- background: #059669;
- }
- .bx-page .advance-ticket-status--err {
- background: #dc2626;
- }
- .bx-page .advance-ticket-status--info {
- background: #64748b;
- }
- .bx-page .advance-ticket-status--processing {
- background: #6366f1;
- }
- .bx-page .advance-ticket-tear {
- position: relative;
- height: 14px;
- background: var(--ticket-skin);
- }
- .bx-page .advance-ticket-tear::before,
- .bx-page .advance-ticket-tear::after {
- content: '';
- position: absolute;
- top: 50%;
- width: 14px;
- height: 14px;
- margin-top: -7px;
- border-radius: 50%;
- background: var(--ticket-bg);
- z-index: 1;
- }
- .bx-page .advance-ticket-tear::before {
- left: -7px;
- }
- .bx-page .advance-ticket-tear::after {
- right: -7px;
- }
- .bx-page .advance-ticket-tear__line {
- position: absolute;
- left: 14px;
- right: 14px;
- top: 50%;
- margin-top: -0.5px;
- border-top: 1px dashed var(--ticket-dash);
- }
- .bx-page .advance-ticket-bottom {
- padding: 10px 16px 20px;
- background: var(--ticket-skin);
- border-radius: 0 0 14px 14px;
- }
- .bx-page .advance-ticket-reason {
- margin: 0 0 10px;
- font-size: 13px;
- font-weight: 500;
- line-height: 1.45;
- color: #64748b;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- overflow: hidden;
- word-break: break-word;
- }
- .bx-page .advance-ticket-amount {
- font-size: 36px;
- font-weight: 800;
- line-height: 1.05;
- color: #0f172a !important;
- font-variant-numeric: tabular-nums;
- }
- /* Detail cards / tabs */
- .bx-page .detail-tabs {
- display: flex;
- background: var(--surface);
- border-bottom: 1px solid var(--border);
- }
- .bx-page .detail-tab {
- flex: 1;
- text-align: center;
- padding: 12px 8px;
- font-size: 14px;
- font-weight: 600;
- color: var(--text-sec);
- position: relative;
- }
- .bx-page .detail-tab.active {
- color: var(--primary-dark);
- }
- .bx-page .detail-tab.active::after {
- content: '';
- position: absolute;
- left: 20%;
- right: 20%;
- bottom: 0;
- height: 2px;
- background: var(--primary);
- border-radius: 2px;
- }
- .bx-page .advance-detail-stack {
- display: flex;
- flex-direction: column;
- gap: 12px;
- padding-top: 12px;
- padding-bottom: 16px;
- }
- .bx-page .detail-info-card {
- background: var(--surface);
- border-radius: var(--r);
- border: 1px solid var(--border);
- box-shadow: var(--shadow);
- padding: 6px 16px 10px;
- }
- .bx-page .detail-info-card__title {
- margin: 6px 0 14px;
- padding-bottom: 12px;
- border-bottom: 1px solid var(--border);
- font-size: 13px;
- font-weight: 600;
- color: var(--text);
- }
- .bx-page .adv-field {
- display: flex;
- flex-direction: column;
- gap: 6px;
- padding: 12px 0;
- }
- .bx-page .adv-field + .adv-field {
- border-top: 1px solid var(--border);
- }
- .bx-page .adv-field__label {
- font-size: 12px;
- font-weight: 500;
- color: var(--text-muted);
- }
- .bx-page .adv-field__value {
- font-size: 15px;
- font-weight: 500;
- color: var(--text);
- word-break: break-word;
- }
- .bx-page .adv-field__value--multiline {
- font-size: 14px;
- font-weight: 400;
- white-space: pre-wrap;
- color: var(--text-sec);
- }
- .bx-page .adv-field__value--accent {
- color: var(--primary-dark) !important;
- font-weight: 700;
- font-size: 16px;
- }
- .bx-page .detail-section-empty {
- margin: 0;
- padding: 12px;
- font-size: 13px;
- color: var(--text-muted);
- text-align: center;
- background: var(--bg);
- border-radius: var(--rs);
- border: 1px dashed var(--border);
- }
- /* Approval flow */
- .bx-page .flow-step {
- display: flex;
- align-items: flex-start;
- gap: 12px;
- padding-bottom: 16px;
- position: relative;
- }
- .bx-page .flow-step:last-child {
- padding-bottom: 0;
- }
- .bx-page .flow-step:not(:last-child)::after {
- content: '';
- position: absolute;
- left: 15px;
- top: 32px;
- bottom: 0;
- width: 2px;
- background: var(--border);
- }
- .bx-page .flow-avatar {
- width: 32px;
- height: 32px;
- border-radius: 50%;
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: 12px;
- font-weight: 700;
- color: #fff;
- flex-shrink: 0;
- }
- .bx-page .flow-avatar.av-done {
- background: var(--primary);
- }
- .bx-page .flow-avatar.av-current {
- background: var(--warning);
- }
- .bx-page .flow-avatar.av-reject {
- background: var(--danger);
- }
- .bx-page .flow-avatar.av-pending {
- background: var(--border);
- color: var(--text-muted);
- }
- .bx-page .flow-info {
- flex: 1;
- }
- .bx-page .flow-name {
- font-size: 13px;
- font-weight: 600;
- }
- .bx-page .flow-role,
- .bx-page .flow-time {
- font-size: 11px;
- color: var(--text-muted);
- }
- .bx-page .adv-flow-opinion {
- font-size: 12px;
- color: var(--text-sec);
- margin-top: 6px;
- line-height: 1.45;
- word-break: break-word;
- }
- /* Reimburse apply: detail lines + pickers */
- .bx-page .detail-line-no {
- font-weight: 500;
- color: var(--text-muted);
- font-size: 12px;
- }
- .bx-page .detail-line .detail-divider {
- height: 1px;
- background: var(--border);
- margin: 12px 0;
- }
- .bx-page .detail-line-actions {
- text-align: right;
- margin-top: 4px;
- }
- .bx-page .detail-actions {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-top: 12px;
- padding-top: 12px;
- border-top: 1px dashed var(--border);
- gap: 8px;
- }
- .bx-page .total-amount {
- font-size: 14px;
- color: var(--text-sec);
- flex-shrink: 0;
- }
- .bx-page .total-amount b {
- color: var(--primary-dark);
- font-size: 16px;
- }
- .bx-page .picker-trigger {
- display: flex;
- align-items: center;
- justify-content: space-between;
- min-height: 42px;
- padding: 8px 12px;
- border: 1.5px solid var(--border);
- border-radius: var(--rs);
- background: var(--surface);
- box-sizing: border-box;
- }
- .bx-page .picker-trigger:active {
- background: var(--bg);
- }
- .bx-page .picker-trigger .value {
- font-size: 14px;
- font-weight: 600;
- color: var(--text);
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .bx-page .picker-trigger .ph {
- color: var(--text-muted);
- font-weight: 600;
- }
- .bx-page .picker-trigger .arrow {
- color: var(--text-muted);
- flex-shrink: 0;
- margin-left: 8px;
- font-size: 16px;
- }
- .bx-page .form-tip {
- font-size: 12px;
- color: var(--text-muted);
- margin: 8px 0 0;
- line-height: 1.45;
- }
- .bx-page .invoice-balance-tip {
- font-size: 13px;
- color: var(--text-sec);
- margin: 0 0 10px;
- line-height: 1.5;
- }
- .bx-page .invoice-balance-tip--warn {
- color: #dc2626;
- margin-left: 4px;
- }
- .bx-page .invoice-picked-row {
- margin-top: 12px;
- display: flex;
- flex-direction: column;
- gap: 8px;
- }
- .bx-page .invoice-picked-item {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 8px;
- padding: 10px 12px;
- border: 1px solid var(--border);
- border-radius: var(--rs);
- background: var(--bg);
- }
- .bx-page .invoice-picked-item__meta {
- flex: 1;
- min-width: 0;
- }
- .bx-page .invoice-picked-item__name {
- display: block;
- font-size: 13px;
- font-weight: 600;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .bx-page .invoice-picked-item__amt {
- font-size: 12px;
- color: var(--text-sec);
- margin-top: 2px;
- }
- .bx-page .invoice-picked-item__remove {
- flex-shrink: 0;
- width: 28px;
- height: 28px;
- line-height: 28px;
- text-align: center;
- border-radius: 50%;
- background: rgba(15, 23, 42, 0.45);
- color: #fff;
- font-size: 16px;
- }
- /* 关联发票缩略图(申请已选 / 详情 / 选择弹层) */
- .bx-page .invoice-thumb-grid {
- display: flex;
- flex-wrap: wrap;
- gap: 8px;
- margin-top: 12px;
- }
- .bx-page .invoice-thumb {
- position: relative;
- width: 72px;
- }
- .bx-page .invoice-thumb__media {
- width: 72px;
- height: 72px;
- border-radius: 8px;
- overflow: hidden;
- border: 1px solid var(--border);
- background: #f1f5f9;
- }
- .bx-page .invoice-thumb__media image {
- width: 100%;
- height: 100%;
- }
- .bx-page .invoice-thumb__doc {
- width: 100%;
- height: 100%;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- gap: 2px;
- padding: 6px;
- font-size: 10px;
- color: var(--text-muted);
- text-align: center;
- }
- .bx-page .invoice-thumb__doc-ext {
- font-weight: 700;
- font-size: 12px;
- color: var(--text-sec);
- }
- .bx-page .invoice-thumb__meta {
- width: 72px;
- margin-top: 4px;
- text-align: center;
- }
- .bx-page .invoice-thumb__amt {
- display: block;
- font-size: 11px;
- font-weight: 600;
- color: var(--primary-dark);
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .bx-page .invoice-thumb__date {
- display: block;
- font-size: 10px;
- color: var(--text-muted);
- margin-top: 1px;
- }
- .bx-page .invoice-thumb__del {
- position: absolute;
- top: 2px;
- right: 2px;
- z-index: 2;
- width: 20px;
- height: 20px;
- line-height: 20px;
- text-align: center;
- border-radius: 50%;
- background: rgba(15, 23, 42, 0.55);
- color: #fff;
- font-size: 13px;
- }
- .bx-page .bx-sheet__body--invoice-thumbs {
- padding: 12px;
- max-height: 50vh;
- }
- .bx-page .invoice-pick-grid {
- display: grid;
- grid-template-columns: repeat(3, 1fr);
- gap: 10px;
- }
- .bx-page .invoice-pick-card {
- position: relative;
- border: 1.5px solid var(--border);
- border-radius: 8px;
- overflow: hidden;
- background: var(--surface);
- padding: 0;
- text-align: left;
- }
- .bx-page .invoice-pick-card.is-selected {
- border-color: var(--primary);
- box-shadow: 0 0 0 1px var(--primary);
- }
- .bx-page .invoice-pick-card__check {
- position: absolute;
- top: 6px;
- right: 6px;
- z-index: 2;
- width: 22px;
- height: 22px;
- border-radius: 50%;
- border: 1.5px solid #fff;
- background: rgba(15, 23, 42, 0.25);
- color: #fff;
- font-size: 12px;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .bx-page .invoice-pick-card.is-selected .invoice-pick-card__check {
- background: var(--primary);
- }
- .bx-page .invoice-pick-card__preview {
- width: 100%;
- aspect-ratio: 1 / 1;
- background: #f1f5f9;
- overflow: hidden;
- }
- .bx-page .invoice-pick-card__preview image {
- width: 100%;
- height: 100%;
- }
- .bx-page .invoice-pick-card__doc {
- width: 100%;
- height: 100%;
- min-height: 96px;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- gap: 4px;
- padding: 8px;
- font-size: 11px;
- color: var(--text-muted);
- text-align: center;
- }
- .bx-page .invoice-pick-card__meta {
- padding: 6px 8px 8px;
- border-top: 1px solid var(--border);
- }
- .bx-page .invoice-pick-card__amt {
- font-size: 12px;
- font-weight: 700;
- color: var(--primary-dark);
- }
- .bx-page .invoice-pick-card__date {
- margin-top: 2px;
- font-size: 10px;
- color: var(--text-muted);
- }
- .bx-page .invoice-pick-footer-tip {
- margin-top: 10px;
- text-align: center;
- font-size: 12px;
- color: var(--text-muted);
- padding: 4px 0 8px;
- }
- .bx-page .bx-sheet-mask {
- position: fixed;
- inset: 0;
- z-index: 1000;
- background: rgba(15, 23, 42, 0.45);
- display: flex;
- align-items: flex-end;
- }
- .bx-page .bx-sheet {
- width: 100%;
- max-height: 70vh;
- background: var(--surface);
- border-radius: 16px 16px 0 0;
- display: flex;
- flex-direction: column;
- overflow: hidden;
- }
- .bx-page .bx-sheet__title {
- padding: 14px 16px;
- font-size: 16px;
- font-weight: 700;
- border-bottom: 1px solid var(--border);
- text-align: center;
- }
- .bx-page .bx-sheet__search {
- position: relative;
- padding: 10px 16px 8px;
- border-bottom: 1px solid var(--border);
- }
- .bx-page .bx-sheet__search-input {
- width: 100%;
- height: 40px;
- padding: 0 36px 0 12px;
- border: 1.5px solid var(--border);
- border-radius: var(--rs);
- font-size: 14px;
- color: var(--text);
- background: var(--bg);
- box-sizing: border-box;
- }
- .bx-page .bx-sheet__search-clear {
- position: absolute;
- right: 24px;
- top: 50%;
- transform: translateY(-50%);
- width: 28px;
- height: 28px;
- line-height: 28px;
- text-align: center;
- color: var(--text-muted);
- font-size: 18px;
- }
- .bx-page .bx-sheet__body {
- flex: 1;
- overflow-y: auto;
- padding: 8px 0;
- max-height: 50vh;
- }
- .bx-page .bx-sheet__item {
- padding: 12px 16px;
- font-size: 14px;
- border-bottom: 1px solid var(--border);
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 8px;
- }
- .bx-page .bx-sheet__item.is-selected {
- background: var(--primary-bg);
- color: var(--primary-dark);
- font-weight: 600;
- }
- .bx-page .bx-sheet__item-sub {
- font-size: 12px;
- color: var(--text-muted);
- margin-top: 2px;
- }
- .bx-page .bx-sheet__footer {
- padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
- border-top: 1px solid var(--border);
- }
- .bx-page .bx-sheet__empty {
- padding: 28px 16px;
- text-align: center;
- color: var(--text-muted);
- font-size: 13px;
- }
- .bx-page .reimburse-detail-group + .reimburse-detail-group {
- margin-top: 12px;
- padding-top: 12px;
- border-top: 1px dashed var(--border);
- }
- .bx-page .reimburse-detail-head {
- font-size: 12px;
- font-weight: 600;
- color: var(--text-muted);
- margin-bottom: 8px;
- }
- .bx-page .reimburse-detail-total-row {
- margin-top: 12px;
- padding-top: 12px;
- border-top: 1px solid var(--border);
- }
- /* 我的/全部:业务类型切换卡片 */
- .bx-page .mine-type-tabs.stat-scroll {
- display: flex;
- justify-content: center;
- align-items: stretch;
- gap: 12px;
- padding: 10px 16px 8px;
- overflow-x: visible;
- }
- .bx-page .mine-type-tabs .stat-card {
- flex-shrink: 0;
- width: auto;
- min-width: 120px;
- padding: 16px 22px;
- border: none;
- border-radius: var(--r);
- background: var(--surface);
- box-shadow: var(--shadow);
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .bx-page .mine-type-tabs--triple .stat-card {
- min-width: 100px;
- padding: 14px 14px;
- }
- .bx-page .mine-type-tabs .stat-card.active {
- background: var(--primary-bg);
- }
- .bx-page .mine-type-tabs .stat-card .label {
- font-size: 16px;
- font-weight: 600;
- color: var(--text);
- }
- .bx-page .mine-type-tabs--triple .stat-card .label {
- font-size: 15px;
- }
- .bx-page .mine-type-tabs .stat-card.active .label {
- color: var(--primary-dark);
- }
- .bx-page .all-list-card__bottom {
- justify-content: flex-end;
- }
- /* —— 发票夹 wallet summary / cards —— */
- .bx-page .wallet-summary.card,
- .bx-page .wallet-summary {
- margin: 12px 16px 8px;
- padding: 14px 16px;
- background: var(--surface);
- border-radius: var(--r);
- box-shadow: var(--shadow);
- }
- .bx-page .wallet-summary__row {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 4px 0;
- font-size: 14px;
- color: var(--text-sec);
- }
- .bx-page .wallet-summary__val {
- font-weight: 700;
- color: var(--text);
- font-variant-numeric: tabular-nums;
- }
- .bx-page .wallet-summary__row--em .wallet-summary__val,
- .bx-page .wallet-summary__row--em b {
- color: var(--primary);
- font-size: 18px;
- }
- .bx-page .wallet-summary__meta {
- margin-top: 8px;
- font-size: 12px;
- color: var(--text-muted);
- }
- .bx-page .wallet-actions {
- padding: 0 16px 8px;
- }
- .bx-page .wallet-list {
- padding-top: 5px;
- padding-bottom: 16px;
- box-sizing: border-box;
- }
- .bx-page .invoice-wallet-card {
- position: relative;
- overflow: hidden;
- padding-top: 20px;
- }
- .bx-page .invoice-wallet-card--static:active {
- transform: none;
- }
- .bx-page .invoice-wallet-card__index {
- position: absolute;
- top: 0;
- left: 0;
- z-index: 1;
- min-width: 28px;
- height: 22px;
- padding: 0 8px;
- display: inline-flex;
- align-items: center;
- justify-content: center;
- border-radius: 0 0 10px 0;
- background: var(--primary-dark);
- color: #fff;
- font-size: 12px;
- font-weight: 700;
- line-height: 1;
- font-variant-numeric: tabular-nums;
- box-sizing: border-box;
- }
- .bx-page .invoice-wallet-card__subs {
- display: flex;
- flex-direction: column;
- gap: 6px;
- margin: 4px 0 10px;
- }
- .bx-page .invoice-wallet-card__sub {
- display: flex;
- justify-content: space-between;
- gap: 12px;
- font-size: 13px;
- line-height: 1.4;
- }
- .bx-page .invoice-wallet-card__sub .k {
- flex-shrink: 0;
- color: var(--text-muted);
- }
- .bx-page .invoice-wallet-card__sub .v {
- min-width: 0;
- text-align: right;
- color: var(--text);
- word-break: break-word;
- }
- .bx-page .invoice-wallet-card__att-label {
- margin-bottom: 6px;
- font-size: 12px;
- color: var(--text-muted);
- }
- .bx-page .invoice-wallet-card__att-empty {
- margin: 0;
- font-size: 12px;
- color: var(--text-muted);
- }
- .bx-page .advance-att-grid {
- margin-top: 0;
- }
- .bx-page .advance-att-tile:active {
- opacity: 0.92;
- }
- .bx-page .att-preview-loading {
- width: 100%;
- height: 100%;
- display: flex;
- align-items: center;
- justify-content: center;
- background: var(--bg);
- color: var(--text-muted);
- font-size: 12px;
- }
- .bx-page .att-file-icon.att-doc-thumb {
- width: 100%;
- height: 100%;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- gap: 4px;
- padding: 6px 4px;
- box-sizing: border-box;
- }
- .bx-page .att-doc-thumb__ext {
- font-size: 11px;
- font-weight: 800;
- color: var(--primary-dark);
- letter-spacing: 0.02em;
- }
- .bx-page .att-doc-thumb__name {
- font-size: 10px;
- color: var(--text-muted);
- text-align: center;
- line-height: 1.25;
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- word-break: break-word;
- }
- .bx-page .invoice-admin-card__bottom {
- justify-content: flex-end;
- margin-top: 10px;
- }
- .bx-page .empty-state--embed {
- padding: 28px 16px;
- min-height: 120px;
- }
- .bx-page .att-img.att-add {
- display: flex;
- align-items: center;
- justify-content: center;
- border-style: dashed;
- color: var(--text-muted);
- font-size: 28px;
- line-height: 1;
- }
- .bx-page .form-hint {
- display: block;
- font-size: 11px;
- color: var(--text-muted);
- margin: 0 0 8px;
- line-height: 1.4;
- }
- .bx-page .bx-upload-sheet .dialog-form-body {
- padding: 8px 16px 4px;
- }
- .bx-page .bx-upload-sheet .form-item {
- margin-bottom: 12px;
- }
- .bx-page .bx-upload-sheet .form-label {
- display: block;
- font-size: 13px;
- color: var(--text-sec);
- margin-bottom: 6px;
- }
- .bx-page .bx-upload-sheet .form-input {
- width: 100%;
- height: 40px;
- padding: 0 12px;
- border: 1px solid var(--border);
- border-radius: var(--rs);
- background: var(--bg);
- box-sizing: border-box;
- font-size: 14px;
- }
- .bx-page .bx-upload-sheet .form-input-prefix {
- position: relative;
- }
- .bx-page .bx-upload-sheet .form-input-prefix .form-input {
- padding-left: 28px;
- }
- /* ---- Batch6: expense tree + workflow config ---- */
- .bx-page .section-title {
- display: flex;
- align-items: center;
- gap: 8px;
- margin: 14px 0 10px;
- font-size: 14px;
- font-weight: 800;
- color: var(--text);
- }
- .bx-page .section-title::before {
- content: '';
- width: 3px;
- height: 14px;
- border-radius: 2px;
- background: var(--primary);
- flex-shrink: 0;
- }
- .bx-page .card-list {
- display: flex;
- flex-direction: column;
- gap: 10px;
- padding-bottom: 72px;
- }
- .bx-page .tree-card {
- background: var(--surface);
- border: 1px solid var(--border);
- border-radius: var(--r);
- box-shadow: var(--shadow);
- overflow: hidden;
- }
- .bx-page .tree-head {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 8px;
- padding: 12px 14px;
- background: linear-gradient(135deg, var(--primary-bg), #fff);
- }
- .bx-page .tree-head__left {
- display: flex;
- align-items: center;
- gap: 8px;
- min-width: 0;
- flex: 1;
- }
- .bx-page .tree-head__title {
- font-size: 14px;
- font-weight: 800;
- color: var(--text);
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .bx-page .tree-head__tags {
- display: flex;
- gap: 4px;
- align-items: center;
- flex-shrink: 0;
- }
- .bx-page .tree-twisty {
- width: 22px;
- height: 22px;
- border-radius: 7px;
- display: flex;
- align-items: center;
- justify-content: center;
- background: rgba(16, 185, 129, 0.1);
- color: var(--primary-dark);
- font-size: 16px;
- font-weight: 700;
- line-height: 1;
- transition: transform 0.15s;
- flex-shrink: 0;
- transform: rotate(0deg);
- }
- .bx-page .tree-twisty.expanded {
- transform: rotate(90deg);
- }
- .bx-page .tree-body {
- border-top: 1px solid var(--border);
- }
- .bx-page .tree-meta-grid {
- display: grid;
- grid-template-columns: repeat(3, 1fr);
- gap: 6px;
- padding: 8px 14px;
- background: var(--bg);
- }
- .bx-page .tree-meta-cell .k {
- display: block;
- font-size: 11px;
- color: var(--text-muted);
- }
- .bx-page .tree-meta-cell .v {
- display: block;
- font-size: 13px;
- font-weight: 500;
- color: var(--text);
- margin-top: 2px;
- word-break: break-all;
- }
- .bx-page .tree-child-card {
- margin: 0 14px 10px;
- border-left: 3px solid var(--primary);
- }
- .bx-page .op-card {
- background: var(--surface);
- border: 1px solid var(--border);
- border-radius: var(--r);
- box-shadow: var(--shadow);
- padding: 14px;
- }
- .bx-page .op-card-head {
- display: flex;
- align-items: flex-start;
- justify-content: space-between;
- gap: 10px;
- }
- .bx-page .op-card-title {
- font-size: 14px;
- font-weight: 800;
- line-height: 1.3;
- flex: 1;
- min-width: 0;
- }
- .bx-page .op-card-sub {
- margin-top: 4px;
- font-size: 12px;
- color: var(--text-muted);
- display: flex;
- gap: 10px;
- flex-wrap: wrap;
- }
- .bx-page .op-card-body {
- padding: 10px 0 0;
- }
- .bx-page .tree-body > .op-card-body {
- padding: 10px 14px;
- }
- .bx-page .tag {
- display: inline-flex;
- align-items: center;
- padding: 2px 8px;
- border-radius: 8px;
- font-size: 11px;
- font-weight: 600;
- border: 1px solid transparent;
- line-height: 1.25;
- }
- .bx-page .tag-neutral {
- background: #f1f5f9;
- color: #64748b;
- border-color: rgba(100, 116, 139, 0.15);
- }
- .bx-page .detail-grid {
- display: grid;
- grid-template-columns: 1fr 1fr;
- gap: 12px;
- margin-bottom: 12px;
- }
- .bx-page .detail-item {
- background: var(--surface);
- border: 1px solid var(--border);
- border-radius: var(--rs);
- padding: 10px 12px;
- }
- .bx-page .detail-item .di-label {
- font-size: 11px;
- color: var(--text-muted);
- margin-bottom: 2px;
- }
- .bx-page .detail-item .di-value {
- font-size: 14px;
- font-weight: 500;
- color: var(--text);
- word-break: break-all;
- }
- .bx-page .flow-card {
- background: var(--surface);
- border: 1px solid var(--border);
- border-radius: var(--r);
- padding: 16px;
- margin-bottom: 72px;
- }
- .bx-page .flow-info__head {
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 8px;
- }
- .bx-page .form-textarea-counter {
- margin-top: 4px;
- text-align: right;
- font-size: 11px;
- color: var(--text-muted);
- }
- .bx-page .switch-row {
- display: flex;
- align-items: center;
- gap: 10px;
- }
- .bx-page .switch-row__label {
- font-size: 13px;
- color: var(--text-sec);
- }
- .bx-page .field-tip {
- margin-top: 6px;
- font-size: 11px;
- color: var(--warning);
- line-height: 1.4;
- }
- .bx-page .bx-sheet--tall {
- max-height: 85vh;
- }
- .bx-page .bx-sheet__body--form {
- padding: 8px 16px 4px;
- max-height: 60vh;
- }
|