feat: 新增综合涨幅

This commit is contained in:
hzm
2026-03-06 08:42:30 +08:00
parent 44dfb944c7
commit 99ec356fbb
4 changed files with 99 additions and 5 deletions

View File

@@ -780,6 +780,7 @@ export default function HomePage() {
? (isNumber(f.estGszzl) ? Number(f.estGszzl) : null)
: (isNumber(f.gszzl) ? Number(f.gszzl) : null));
const estimateTime = f.noValuation ? (f.jzrq || '-') : (f.gztime || f.time || '-');
const hasTodayEstimate = !f.noValuation && isString(f.gztime) && f.gztime.startsWith(todayStr);
const holding = holdings[f.code];
const profit = getHoldingProfit(f, holding);
@@ -829,6 +830,7 @@ export default function HomePage() {
estimateChangeValue,
estimateChangeMuted: f.noValuation,
estimateTime,
hasTodayEstimate,
holdingAmount,
holdingAmountValue,
todayProfit,