فهرست منبع

style(web): 精简本方对账提示并突出配置值

sy 4 روز پیش
والد
کامیت
58d1a1432b
2فایلهای تغییر یافته به همراه6 افزوده شده و 9 حذف شده
  1. 2 3
      web-scaffold/src/pages/PartyViewPages.tsx
  2. 4 6
      web-scaffold/src/styles/settlement-records.css

+ 2 - 3
web-scaffold/src/pages/PartyViewPages.tsx

@@ -277,8 +277,8 @@ function PartyReconMergedPage({ kind }: { kind: "partner" | "team" }) {
         {(monthOptions ?? (month ? [{ period: month }] : [])).map((o) => <option key={o.period} value={o.period}>{o.period}</option>)}
         {(monthOptions ?? (month ? [{ period: month }] : [])).map((o) => <option key={o.period} value={o.period}>{o.period}</option>)}
       </FilterSelect>}
       </FilterSelect>}
       {(!teamView || month || keyword) && <Button variant="ghost" size="sm" onClick={resetFilter}>重置筛选</Button>}
       {(!teamView || month || keyword) && <Button variant="ghost" size="sm" onClick={resetFilter}>重置筛选</Button>}
-      {teamView && <span className="team-recon-filter-hint" role={fetchState.loading && data ? "status" : "note"}>
-        <Info size={14} aria-hidden="true" />{fetchState.loading && data ? "正在更新筛选结果…" : VIEW_KEYWORD_FILTER_NOTE}
+      {teamView && fetchState.loading && data && <span className="team-recon-filter-hint" role="status">
+        <Info size={14} aria-hidden="true" />正在更新筛选结果…
       </span>}
       </span>}
     </div>
     </div>
     {!teamView && <p className="ops-import-note" role="note">{VIEW_KEYWORD_FILTER_NOTE}</p>}
     {!teamView && <p className="ops-import-note" role="note">{VIEW_KEYWORD_FILTER_NOTE}</p>}
@@ -438,7 +438,6 @@ function PartyReconMergedPage({ kind }: { kind: "partner" | "team" }) {
             {teamView ? <header className="team-recon-ledger-heading">
             {teamView ? <header className="team-recon-ledger-heading">
               <h2 id="team-recon-bills">账单明细</h2>
               <h2 id="team-recon-bills">账单明细</h2>
               {!wiring && <span>共 {detailTotal},当前显示 {data?.detail_shown} 条</span>}
               {!wiring && <span>共 {detailTotal},当前显示 {data?.detail_shown} 条</span>}
-              <p className="team-recon-detail-note" role="note"><Info size={14} aria-hidden="true" />{VIEW_DETAIL_ONLY_SETTLED}</p>
             </header> : <p className="ops-import-note" role="note">{VIEW_DETAIL_ONLY_SETTLED}</p>}
             </header> : <p className="ops-import-note" role="note">{VIEW_DETAIL_ONLY_SETTLED}</p>}
             <div className="ops-table-wrap" role={teamView ? "region" : undefined} aria-labelledby={teamView ? "team-recon-bills" : undefined} tabIndex={teamView ? 0 : undefined}>
             <div className="ops-table-wrap" role={teamView ? "region" : undefined} aria-labelledby={teamView ? "team-recon-bills" : undefined} tabIndex={teamView ? 0 : undefined}>
               <table className="ops-table" aria-labelledby={teamView ? "team-recon-bills" : undefined} aria-busy={teamView ? fetchState.loading : undefined}>
               <table className="ops-table" aria-labelledby={teamView ? "team-recon-bills" : undefined} aria-busy={teamView ? fetchState.loading : undefined}>

+ 4 - 6
web-scaffold/src/styles/settlement-records.css

@@ -54,15 +54,13 @@
 .team-recon-config { display: grid; align-content: center; gap: 7px; margin: 0; padding: 18px 24px; border-inline-start: 1px solid var(--border-subtle); }
 .team-recon-config { display: grid; align-content: center; gap: 7px; margin: 0; padding: 18px 24px; border-inline-start: 1px solid var(--border-subtle); }
 .team-recon-config > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
 .team-recon-config > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
 .team-recon-config dt { flex-shrink: 0; }
 .team-recon-config dt { flex-shrink: 0; }
-.team-recon-config dd { margin: 0; color: var(--text-secondary); font-size: var(--type-body); font-weight: 500; text-align: end; overflow-wrap: anywhere; }
+.team-recon-config dd { margin: 0; color: var(--primary); font-size: var(--type-body); font-weight: 500; text-align: end; overflow-wrap: anywhere; }
 .team-recon-toolbar > .ops-search { flex: 1 1 230px; }
 .team-recon-toolbar > .ops-search { flex: 1 1 230px; }
-.team-recon-filter-hint, .team-recon-detail-note { display: flex; align-items: center; gap: 6px; color: var(--muted-foreground); font-size: var(--type-meta); }
-.team-recon-filter-hint, .team-recon-detail-note { margin-inline-start: auto; }
-:is(.team-recon-filter-hint, .team-recon-detail-note) > svg { flex: none; }
+.team-recon-filter-hint { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; color: var(--muted-foreground); font-size: var(--type-meta); }
+.team-recon-filter-hint > svg { flex: none; }
 .team-recon-filters > .ops-import-note { margin: 0 24px 12px; }
 .team-recon-filters > .ops-import-note { margin: 0 24px 12px; }
 .team-recon-loading { display: block; margin: 0; padding: 38px 20px; color: var(--muted-foreground); text-align: center; font-size: var(--type-support); }
 .team-recon-loading { display: block; margin: 0; padding: 38px 20px; color: var(--muted-foreground); text-align: center; font-size: var(--type-support); }
 .team-recon-ledger-heading { padding: 14px 24px; }
 .team-recon-ledger-heading { padding: 14px 24px; }
-.team-recon-detail-note { margin-block: 0; padding: 4px 8px; border-radius: 5px; background: var(--surface-subtle); }
 .team-recon-details { scroll-margin-block-start: calc(4rem + 14px); }
 .team-recon-details { scroll-margin-block-start: calc(4rem + 14px); }
 .team-recon-ledger > .ops-table-wrap { max-height: clamp(200px, 44dvh, 420px); overflow: auto; }
 .team-recon-ledger > .ops-table-wrap { max-height: clamp(200px, 44dvh, 420px); overflow: auto; }
 .team-recon-ledger .ops-table { min-width: 900px; table-layout: fixed; }
 .team-recon-ledger .ops-table { min-width: 900px; table-layout: fixed; }
@@ -80,7 +78,7 @@
   .team-recon-overview { grid-template-columns: minmax(0, 1fr); }
   .team-recon-overview { grid-template-columns: minmax(0, 1fr); }
   .team-recon-snapshot, .team-recon-config, .team-recon-ledger-heading { padding: 14px 18px; }
   .team-recon-snapshot, .team-recon-config, .team-recon-ledger-heading { padding: 14px 18px; }
   .team-recon-config { border-inline-start: 0; border-block-start: 1px solid var(--border-subtle); }
   .team-recon-config { border-inline-start: 0; border-block-start: 1px solid var(--border-subtle); }
-  .team-recon-filter-hint, .team-recon-detail-note { margin-inline-start: 0; }
+  .team-recon-filter-hint { margin-inline-start: 0; }
   .team-recon-filters > .ops-import-note { margin-inline: 18px; }
   .team-recon-filters > .ops-import-note { margin-inline: 18px; }
 }
 }