|
|
@@ -31,7 +31,7 @@ type CatalogTab = "fixed" | "custom" | "exits";
|
|
|
function intCell(value: number | null | undefined, unit: "个" | "份") {
|
|
|
if (value === undefined) return <Tri tone="fail" text={WORD_FETCH_FAILED} />;
|
|
|
if (value === null) return <Tri tone="missing" text={WORD_UNCONFIGURED} />;
|
|
|
- return <><span className="table-number catalog-count-value">{value}</span><span className="catalog-value-unit">/{unit}</span></>;
|
|
|
+ return <><span className="table-number catalog-number-emphasis">{value}</span><span className="catalog-value-unit">/{unit}</span></>;
|
|
|
}
|
|
|
|
|
|
/** 价格按年或按月标明单位,成本金额沿用千分位和两位小数。 */
|
|
|
@@ -60,7 +60,10 @@ function ledgerBandwidth(plan: CatalogPlanRow) {
|
|
|
const down = plan.bandwidth_down_mbps;
|
|
|
/** 存量 DEFAULT TRUE + 上下行空:语义=未配置带宽=不承诺,⛔ 红字「取数失败」。 */
|
|
|
if (up === null || up === undefined || down === null || down === undefined) return <>不承诺带宽</>;
|
|
|
- return <>{up === down ? "上下行 " : "下行 "}<span className="table-number">{down}M</span>{up !== down && <> / 上行 <span className="table-number">{up}M</span></>}</>;
|
|
|
+ return <>
|
|
|
+ {up === down ? "上下行 " : "下行 "}<span className="table-number catalog-number-emphasis">{down}</span>M
|
|
|
+ {up !== down && <> / 上行 <span className="table-number catalog-number-emphasis">{up}</span>M</>}
|
|
|
+ </>;
|
|
|
}
|
|
|
|
|
|
/** 月成本四态(R-1):ok=金额;unconfigured=未配置;by_combination/缺省=按组合;failed/error=取数失败。 */
|