去掉标头折叠功能,只保留静态表头
This commit is contained in:
+2
-8
@@ -55,10 +55,7 @@
|
|||||||
.nav-link a { color: #3b82f6; text-decoration: none; }
|
.nav-link a { color: #3b82f6; text-decoration: none; }
|
||||||
.nav-link a:hover { text-decoration: underline; }
|
.nav-link a:hover { text-decoration: underline; }
|
||||||
.section { margin-bottom: 8px; }
|
.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 { font-size: 1.1rem; 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; }
|
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@@ -70,7 +67,7 @@
|
|||||||
<p class="formula">振幅算法:近 5 日均振幅 = 过去 5 个交易日 (最高 − 最低) 的均值,结果四舍五入取整</p>
|
<p class="formula">振幅算法:近 5 日均振幅 = 过去 5 个交易日 (最高 − 最低) 的均值,结果四舍五入取整</p>
|
||||||
|
|
||||||
<div class="section" id="sec-fg2609">
|
<div class="section" id="sec-fg2609">
|
||||||
<h2 onclick="toggleSection('sec-fg2609')"><span class="arrow">▼</span> FG2609 玻璃</h2>
|
<h2>FG2609 玻璃</h2>
|
||||||
<table>
|
<table>
|
||||||
<tr><th>日期</th><th>星期</th><th>开盘</th><th>收盘</th><th>最高</th><th>最低</th><th>最高最低差价</th><th>振幅</th></tr>
|
<tr><th>日期</th><th>星期</th><th>开盘</th><th>收盘</th><th>最高</th><th>最低</th><th>最高最低差价</th><th>振幅</th></tr>
|
||||||
<tr><td>2026/7/1</td><td>周三</td><td>972</td><td>961</td><td>972</td><td>956</td><td>16</td><td class="na">-</td></tr>
|
<tr><td>2026/7/1</td><td>周三</td><td>972</td><td>961</td><td>972</td><td>956</td><td>16</td><td class="na">-</td></tr>
|
||||||
@@ -127,9 +124,6 @@ function toggleTheme() {
|
|||||||
} catch(e) {}
|
} catch(e) {}
|
||||||
})();
|
})();
|
||||||
|
|
||||||
function toggleSection(id) {
|
|
||||||
document.getElementById(id).classList.toggle('collapsed');
|
|
||||||
}
|
|
||||||
|
|
||||||
var activeRow = null;
|
var activeRow = null;
|
||||||
function closeDrawer() {
|
function closeDrawer() {
|
||||||
|
|||||||
+2
-8
@@ -37,10 +37,7 @@
|
|||||||
.toggle-btn:hover { opacity: 0.8; }
|
.toggle-btn:hover { opacity: 0.8; }
|
||||||
|
|
||||||
.section { margin-bottom: 8px; }
|
.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 { font-size: 1.1rem; 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 { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 99; display: none; }
|
||||||
.drawer-overlay.show { display: block; }
|
.drawer-overlay.show { display: block; }
|
||||||
@@ -68,7 +65,7 @@
|
|||||||
<p class="formula">振幅算法:近 5 日均振幅 = 过去 5 个交易日 (最高 − 最低) 的均值,结果四舍五入取整</p>
|
<p class="formula">振幅算法:近 5 日均振幅 = 过去 5 个交易日 (最高 − 最低) 的均值,结果四舍五入取整</p>
|
||||||
|
|
||||||
<div class="section" id="sec-fg2610">
|
<div class="section" id="sec-fg2610">
|
||||||
<h2 onclick="toggleSection('sec-fg2610')"><span class="arrow">▼</span> FG2610 玻璃</h2>
|
<h2>FG2610 玻璃</h2>
|
||||||
<table>
|
<table>
|
||||||
<tr><th>日期</th><th>星期</th><th>开盘</th><th>收盘</th><th>最高</th><th>最低</th><th>最高最低差价</th><th>振幅</th></tr>
|
<tr><th>日期</th><th>星期</th><th>开盘</th><th>收盘</th><th>最高</th><th>最低</th><th>最高最低差价</th><th>振幅</th></tr>
|
||||||
<tr><td>2026/7/1</td><td>周三</td><td>1015</td><td>1007</td><td>1015</td><td>1000</td><td>15</td><td class="na">-</td></tr>
|
<tr><td>2026/7/1</td><td>周三</td><td>1015</td><td>1007</td><td>1015</td><td>1000</td><td>15</td><td class="na">-</td></tr>
|
||||||
@@ -125,9 +122,6 @@ function toggleTheme() {
|
|||||||
} catch(e) {}
|
} catch(e) {}
|
||||||
})();
|
})();
|
||||||
|
|
||||||
function toggleSection(id) {
|
|
||||||
document.getElementById(id).classList.toggle('collapsed');
|
|
||||||
}
|
|
||||||
|
|
||||||
var activeRow = null;
|
var activeRow = null;
|
||||||
function closeDrawer() {
|
function closeDrawer() {
|
||||||
|
|||||||
+2
-8
@@ -54,10 +54,7 @@
|
|||||||
.drawer .close-btn:hover { color: var(--fg); }
|
.drawer .close-btn:hover { color: var(--fg); }
|
||||||
|
|
||||||
.section { margin-bottom: 8px; }
|
.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 { font-size: 1.1rem; 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; }
|
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@@ -69,7 +66,7 @@
|
|||||||
<p class="formula">振幅算法:近 5 日均振幅 = 过去 5 个交易日 (最高 − 最低) 的均值,结果四舍五入取整</p>
|
<p class="formula">振幅算法:近 5 日均振幅 = 过去 5 个交易日 (最高 − 最低) 的均值,结果四舍五入取整</p>
|
||||||
|
|
||||||
<div class="section" id="sec-fg2611">
|
<div class="section" id="sec-fg2611">
|
||||||
<h2 onclick="toggleSection('sec-fg2611')"><span class="arrow">▼</span> FG2611 玻璃</h2>
|
<h2> FG2611 玻璃</h2>
|
||||||
<table>
|
<table>
|
||||||
<tr><th>日期</th><th>星期</th><th>开盘</th><th>收盘</th><th>最高</th><th>最低</th><th>最高最低差价</th><th>振幅</th></tr>
|
<tr><th>日期</th><th>星期</th><th>开盘</th><th>收盘</th><th>最高</th><th>最低</th><th>最高最低差价</th><th>振幅</th></tr>
|
||||||
<tr><td>2026/7/1</td><td>周三</td><td>1011</td><td>1001</td><td>1011</td><td>994</td><td>17</td><td class="na">-</td></tr>
|
<tr><td>2026/7/1</td><td>周三</td><td>1011</td><td>1001</td><td>1011</td><td>994</td><td>17</td><td class="na">-</td></tr>
|
||||||
@@ -126,9 +123,6 @@ function toggleTheme() {
|
|||||||
} catch(e) {}
|
} catch(e) {}
|
||||||
})();
|
})();
|
||||||
|
|
||||||
function toggleSection(id) {
|
|
||||||
document.getElementById(id).classList.toggle('collapsed');
|
|
||||||
}
|
|
||||||
|
|
||||||
var activeRow = null;
|
var activeRow = null;
|
||||||
function closeDrawer() {
|
function closeDrawer() {
|
||||||
|
|||||||
+2
-9
@@ -52,10 +52,7 @@
|
|||||||
.amp-cell { cursor: pointer; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; }
|
.amp-cell { cursor: pointer; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; }
|
||||||
.amp-cell:hover { color: #3b82f6; }
|
.amp-cell:hover { color: #3b82f6; }
|
||||||
.section { margin-bottom: 8px; }
|
.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 { font-size: 1.1rem; 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; }
|
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@@ -67,7 +64,7 @@
|
|||||||
<p class="formula">振幅算法:近 5 日均振幅 = 过去 5 个交易日 (最高 − 最低) 的均值,结果四舍五入取整</p>
|
<p class="formula">振幅算法:近 5 日均振幅 = 过去 5 个交易日 (最高 − 最低) 的均值,结果四舍五入取整</p>
|
||||||
|
|
||||||
<div class="section" id="sec-fg2701">
|
<div class="section" id="sec-fg2701">
|
||||||
<h2 onclick="toggleSection('sec-fg2701')"><span class="arrow">▼</span> FG2701 玻璃</h2>
|
<h2>FG2701 玻璃</h2>
|
||||||
<table>
|
<table>
|
||||||
<tr><th>日期</th><th>星期</th><th>开盘</th><th>收盘</th><th>最高</th><th>最低</th><th>最高最低差价</th><th>振幅</th></tr>
|
<tr><th>日期</th><th>星期</th><th>开盘</th><th>收盘</th><th>最高</th><th>最低</th><th>最高最低差价</th><th>振幅</th></tr>
|
||||||
<tr><td>2026/7/1</td><td>周三</td><td>1059</td><td>1054</td><td>1062</td><td>1050</td><td>12</td><td class="na">-</td></tr>
|
<tr><td>2026/7/1</td><td>周三</td><td>1059</td><td>1054</td><td>1062</td><td>1050</td><td>12</td><td class="na">-</td></tr>
|
||||||
@@ -124,10 +121,6 @@ function toggleTheme() {
|
|||||||
} catch(e) {}
|
} catch(e) {}
|
||||||
})();
|
})();
|
||||||
|
|
||||||
function toggleSection(id) {
|
|
||||||
document.getElementById(id).classList.toggle('collapsed');
|
|
||||||
}
|
|
||||||
|
|
||||||
var activeRow = null;
|
var activeRow = null;
|
||||||
function closeDrawer() {
|
function closeDrawer() {
|
||||||
document.getElementById('overlay').classList.remove('show');
|
document.getElementById('overlay').classList.remove('show');
|
||||||
|
|||||||
Reference in New Issue
Block a user