持仓监控平仓自动记入交易记录,新增交易记录页与实盘资金设置

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-15 14:56:21 +08:00
parent 38ff40111a
commit 5aa9f11733
12 changed files with 733 additions and 23 deletions
+3 -3
View File
@@ -25,10 +25,10 @@
}
if (row.in_zone && distEl) {
distEl.innerHTML = '<span class="text-profit" style="font-weight:600">在区间内</span>';
} else if (distEl && upEl && downEl) {
} else if (distEl) {
distEl.innerHTML =
'距上 <span class="dist-up">' + fmtDist(row.dist_upper) + '</span>' +
' · 距下 <span class="dist-down">' + fmtDist(row.dist_lower) + '</span>';
'距上<span class="dist-up">' + fmtDist(row.dist_upper) + '</span> ' +
'距下<span class="dist-down">' + fmtDist(row.dist_lower) + '</span>';
}
});
})