This commit is contained in:
dekun
2026-05-27 14:33:52 +08:00
parent aa33cb5da6
commit dc1b4989b4
3 changed files with 125 additions and 67 deletions
+4 -4
View File
@@ -15,9 +15,9 @@
<input type="file" id="file-input" accept="image/jpeg,image/png,.jpg,.jpeg,.png" hidden>
</label>
<div class="mode-group" role="group" aria-label="标注模式">
<button type="button" class="btn mode-btn active" data-mode="entry">入场线</button>
<button type="button" class="btn mode-btn" data-mode="exit">出场线</button>
<button type="button" class="btn mode-btn" data-mode="stop">止损线</button>
<button type="button" class="btn mode-btn active" data-mode="entry">入场</button>
<button type="button" class="btn mode-btn" data-mode="exit">出场</button>
<button type="button" class="btn mode-btn" data-mode="stop">止损</button>
</div>
<button type="button" class="btn" id="btn-undo" disabled>撤销</button>
<button type="button" class="btn" id="btn-clear" disabled>清空全部</button>
@@ -44,7 +44,7 @@
<span>入场 <i class="legend entry"></i></span>
<span>出场 <i class="legend exit"></i></span>
<span>止损 <i class="legend stop"></i></span>
<span class="footer-note">单击添加水平线 · 拖拽调整位置</span>
<span class="footer-note">单击添加箭头 · 拖拽调整位置 · 可连续标注多个点位</span>
</footer>
<script src="js/app.js"></script>