diff --git a/振幅锁仓策略/index.html b/振幅锁仓策略/index.html
index 65f9b54..7e2d773 100644
--- a/振幅锁仓策略/index.html
+++ b/振幅锁仓策略/index.html
@@ -26,6 +26,8 @@
td { padding: 6px 10px; border: 1px solid var(--td-border); text-align: center; }
tr:nth-child(even) td { background: var(--td-even); }
td:first-child { font-weight: 500; color: var(--td-first); }
+ tr.active td { background: #dbeafe !important; }
+ [data-theme="dark"] tr.active td { background: #1e3a5f !important; }
td:nth-child(2) { font-size: 0.78rem; color: var(--sub); }
.na { color: var(--na); }
@@ -151,9 +153,11 @@ function toggleSection(id) {
}
// ── 抽屉 ──
+var activeRow = null;
function closeDrawer() {
document.getElementById('overlay').classList.remove('show');
document.getElementById('drawer').classList.remove('show');
+ if (activeRow) { activeRow.classList.remove('active'); activeRow = null; }
}
// ── 振幅点击 → 抽屉 ──
@@ -196,6 +200,11 @@ document.querySelectorAll('.amp-cell').forEach(function(cell) {
document.getElementById('overlay').classList.add('show');
document.getElementById('drawer').classList.add('show');
+
+ // 行高亮
+ if (activeRow) activeRow.classList.remove('active');
+ row.classList.add('active');
+ activeRow = row;
});
});