Files
KlineChart_dev/index.html
T
2026-08-13 20:59:05 +08:00

49 lines
2.2 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>KLineChart debug</title>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<div id="root">
<div id="toolbar">
<div id="file-picker" title="选择 CSV 文件,或拖拽文件到此处">
<button id="btn-file" type="button" title="选择 CSV 文件">📂</button>
<span id="file-name">无文件</span>
</div>
<div id="period-switcher" aria-label="周期切换">
<button data-period="1m" type="button">1m</button>
<button data-period="5m" type="button">5m</button>
<button data-period="15m" type="button">15m</button>
<button data-period="1h" type="button">1h</button>
<button data-period="1d" type="button">1d</button>
</div>
<div id="indicator-switcher" aria-label="指标">
<button data-indicator="MA" type="button">MA</button>
<button data-indicator="BOLL" type="button">BOLL</button>
<button data-indicator="MACD" type="button">MACD</button>
<button data-indicator="RSI" type="button">RSI</button>
<button data-indicator="VOL" type="button">VOL</button>
</div>
<div id="zoom-controls">
<button id="zoom-in" type="button" title="放大">+</button>
<button id="zoom-out" type="button" title="缩小">−</button>
<button id="zoom-reset" type="button" title="重置缩放">⟲</button>
</div>
<div id="tool-actions">
<button id="btn-theme" type="button" title="切换主题">☾</button>
<button id="btn-screenshot" type="button" title="截图">▣</button>
</div>
<div id="status"></div>
</div>
<div id="loading" class="loading" style="display:none;">Loading CSV data...</div>
<div id="chart"></div>
<div id="crosshair-info" class="hidden"></div>
<div id="bar-detail" class="popup hidden"></div>
<div id="context-menu" class="popup hidden"></div>
</div>
<script type="module" src="./main.js"></script>
</body>
</html>