feat(hub): add yesterday close and high-low price line toggles on market chart

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-12 20:45:09 +08:00
parent 309eebc61d
commit ab862efc4e
2 changed files with 209 additions and 7 deletions
+7 -1
View File
@@ -132,6 +132,12 @@
<span id="mkt-symbol-label"></span>
<span id="mkt-tf-label">1d</span>
<div class="market-chart-actions">
<label class="market-day-split-opt" title="上一交易日收盘价水平线(北京切日)">
<input type="checkbox" id="market-prev-close-line" /> 昨日收盘价
</label>
<label class="market-day-split-opt" title="上一交易日最高/最低价水平线(北京切日)">
<input type="checkbox" id="market-prev-hl-lines" /> 昨日高低点
</label>
<label class="market-day-split-opt" title="北京时间 8:00 交易切日竖线">
<input type="checkbox" id="market-day-split" /> 交易间隔日
</label>
@@ -588,7 +594,7 @@
<div id="toast"></div>
<script src="https://unpkg.com/lightweight-charts@4.2.0/dist/lightweight-charts.standalone.production.js"></script>
<script src="/assets/chart_draw.js?v=20260609-market-day-split"></script>
<script src="/assets/chart.js?v=20260609-market-day-split"></script>
<script src="/assets/chart.js?v=20260609-prev-day-lines"></script>
<script src="/assets/archive.js?v=20260612-archive-ai-chat"></script>
<script src="/assets/funds.js?v=20260609-hub-funds-fold"></script>
<script src="/assets/dashboard.js?v=20260612-dash-monitor-count"></script>