diff --git a/振幅锁仓策略/fg2609.html b/振幅锁仓策略/fg2609.html index ad51c80..aa800b2 100644 --- a/振幅锁仓策略/fg2609.html +++ b/振幅锁仓策略/fg2609.html @@ -54,6 +54,11 @@ .nav-link { color: var(--sub); font-size: 0.82rem; margin-bottom: 4px; } .nav-link a { color: #3b82f6; text-decoration: none; } .nav-link a:hover { text-decoration: underline; } + .section { margin-bottom: 8px; } + .section h2 { font-size: 1.1rem; cursor: pointer; user-select: none; display: flex; align-items: center; gap: 8px; margin: 28px 0 10px; padding: 4px 0; } + .section h2 .arrow { display: inline-block; transition: transform .2s; font-size: 0.8rem; } + .section.collapsed h2 .arrow { transform: rotate(-90deg); } + .section.collapsed table { display: none; } @@ -64,6 +69,8 @@

返回总览  |  FG2609  |  FG2610  |  FG2611  |  FG2701

振幅算法:近 5 日均振幅 = 过去 5 个交易日 (最高 − 最低) 的均值,结果四舍五入取整

+
+

FG2609 玻璃

@@ -86,6 +93,7 @@
日期星期开盘收盘最高最低最高最低差价振幅
2026/7/1周三97296197295616-
2026/7/24周五9009089128912123
2026/7/27周一----020
+
@@ -119,6 +127,10 @@ function toggleTheme() { } catch(e) {} })(); +function toggleSection(id) { + document.getElementById(id).classList.toggle('collapsed'); +} + var activeRow = null; function closeDrawer() { document.getElementById('overlay').classList.remove('show'); @@ -131,7 +143,8 @@ document.querySelectorAll('.amp-cell').forEach(function(cell) { var row = cell.parentElement; var tbl = row.closest('table'); var rows = tbl.querySelectorAll('tr'); - var product = 'FG2609 玻璃'; + var h2 = tbl.closest('.section').querySelector('h2'); + var product = h2.childNodes[h2.childNodes.length - 1].textContent.trim(); var ranges = []; for (var i = 1; i < rows.length; i++) { diff --git a/振幅锁仓策略/fg2610.html b/振幅锁仓策略/fg2610.html index 7851cca..2bef2c9 100644 --- a/振幅锁仓策略/fg2610.html +++ b/振幅锁仓策略/fg2610.html @@ -37,7 +37,10 @@ .toggle-btn:hover { opacity: 0.8; } .section { margin-bottom: 8px; } - .section h2 { font-size: 1.1rem; margin: 28px 0 10px; padding: 4px 0; } + .section h2 { font-size: 1.1rem; cursor: pointer; user-select: none; display: flex; align-items: center; gap: 8px; margin: 28px 0 10px; padding: 4px 0; } + .section h2 .arrow { display: inline-block; transition: transform .2s; font-size: 0.8rem; } + .section.collapsed h2 .arrow { transform: rotate(-90deg); } + .section.collapsed table { display: none; } .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 99; display: none; } .drawer-overlay.show { display: block; } @@ -64,6 +67,8 @@

返回总览  |  FG2609  |  FG2610  |  FG2611  |  FG2701

振幅算法:近 5 日均振幅 = 过去 5 个交易日 (最高 − 最低) 的均值,结果四舍五入取整

+
+

FG2610 玻璃

@@ -86,6 +91,7 @@
日期星期开盘收盘最高最低最高最低差价振幅
2026/7/1周三101510071015100015-
2026/7/24周五9389449479281921
2026/7/27周一----018
+
@@ -119,6 +125,10 @@ function toggleTheme() { } catch(e) {} })(); +function toggleSection(id) { + document.getElementById(id).classList.toggle('collapsed'); +} + var activeRow = null; function closeDrawer() { document.getElementById('overlay').classList.remove('show'); @@ -131,7 +141,8 @@ document.querySelectorAll('.amp-cell').forEach(function(cell) { var row = cell.parentElement; var tbl = row.closest('table'); var rows = tbl.querySelectorAll('tr'); - var product = 'FG2610 玻璃'; + var h2 = tbl.closest('.section').querySelector('h2'); + var product = h2.childNodes[h2.childNodes.length - 1].textContent.trim(); var ranges = []; for (var i = 1; i < rows.length; i++) { diff --git a/振幅锁仓策略/fg2611.html b/振幅锁仓策略/fg2611.html index 5eba4c0..ccd69cd 100644 --- a/振幅锁仓策略/fg2611.html +++ b/振幅锁仓策略/fg2611.html @@ -52,6 +52,12 @@ .drawer .result b { font-size: 1.1rem; } .drawer .close-btn { position: absolute; top: 16px; right: 20px; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--sub); line-height: 1; } .drawer .close-btn:hover { color: var(--fg); } + + .section { margin-bottom: 8px; } + .section h2 { font-size: 1.1rem; cursor: pointer; user-select: none; display: flex; align-items: center; gap: 8px; margin: 28px 0 10px; padding: 4px 0; } + .section h2 .arrow { display: inline-block; transition: transform .2s; font-size: 0.8rem; } + .section.collapsed h2 .arrow { transform: rotate(-90deg); } + .section.collapsed table { display: none; } @@ -62,6 +68,8 @@

返回总览  |  FG2609  |  FG2610  |  FG2611  |  FG2701

振幅算法:近 5 日均振幅 = 过去 5 个交易日 (最高 − 最低) 的均值,结果四舍五入取整

+
+

FG2611 玻璃

@@ -84,6 +92,7 @@
日期星期开盘收盘最高最低最高最低差价振幅
2026/7/1周三10111001101199417-
2026/7/24周五9319399419221919
2026/7/27周一----016
+
@@ -117,6 +126,10 @@ function toggleTheme() { } catch(e) {} })(); +function toggleSection(id) { + document.getElementById(id).classList.toggle('collapsed'); +} + var activeRow = null; function closeDrawer() { document.getElementById('overlay').classList.remove('show'); @@ -129,7 +142,8 @@ document.querySelectorAll('.amp-cell').forEach(function(cell) { var row = cell.parentElement; var tbl = row.closest('table'); var rows = tbl.querySelectorAll('tr'); - var product = 'FG2611 玻璃'; + var h2 = tbl.closest('.section').querySelector('h2'); + var product = h2.childNodes[h2.childNodes.length - 1].textContent.trim(); var ranges = []; for (var i = 1; i < rows.length; i++) { diff --git a/振幅锁仓策略/fg2701.html b/振幅锁仓策略/fg2701.html index 541a8bb..abca32e 100644 --- a/振幅锁仓策略/fg2701.html +++ b/振幅锁仓策略/fg2701.html @@ -51,6 +51,11 @@ .drawer .close-btn:hover { color: var(--fg); } .amp-cell { cursor: pointer; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; } .amp-cell:hover { color: #3b82f6; } + .section { margin-bottom: 8px; } + .section h2 { font-size: 1.1rem; cursor: pointer; user-select: none; display: flex; align-items: center; gap: 8px; margin: 28px 0 10px; padding: 4px 0; } + .section h2 .arrow { display: inline-block; transition: transform .2s; font-size: 0.8rem; } + .section.collapsed h2 .arrow { transform: rotate(-90deg); } + .section.collapsed table { display: none; } @@ -61,6 +66,8 @@

返回总览  |  FG2609  |  FG2610  |  FG2611  |  FG2701

振幅算法:近 5 日均振幅 = 过去 5 个交易日 (最高 − 最低) 的均值,结果四舍五入取整

+
+

FG2701 玻璃

@@ -83,6 +90,7 @@
日期星期开盘收盘最高最低最高最低差价振幅
2026/7/1周三105910541062105012-
2026/7/24周五9789859879721517
2026/7/27周一----014
+
@@ -116,6 +124,10 @@ function toggleTheme() { } catch(e) {} })(); +function toggleSection(id) { + document.getElementById(id).classList.toggle('collapsed'); +} + var activeRow = null; function closeDrawer() { document.getElementById('overlay').classList.remove('show'); @@ -144,7 +156,8 @@ document.querySelectorAll('.amp-cell').forEach(function(cell) { if (start < 0) return; var ampVal = cell.textContent.trim(); - document.getElementById('drawer-title').textContent = 'FG2701 玻璃'; + var h2 = tbl.closest('.section').querySelector('h2'); + document.getElementById('drawer-title').textContent = h2.childNodes[h2.childNodes.length - 1].textContent.trim(); document.getElementById('drawer-date').textContent = '目标日期: ' + ranges[idx].date + ' ' + ranges[idx].wk + ' 振幅 ' + ampVal; var html = '日期最高−最低';