去掉标头折叠功能,只保留静态表头
This commit is contained in:
+2
-8
@@ -55,10 +55,7 @@
|
||||
.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; }
|
||||
.section h2 { font-size: 1.1rem; display: flex; align-items: center; gap: 8px; margin: 28px 0 10px; padding: 4px 0; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
@@ -70,7 +67,7 @@
|
||||
<p class="formula">振幅算法:近 5 日均振幅 = 过去 5 个交易日 (最高 − 最低) 的均值,结果四舍五入取整</p>
|
||||
|
||||
<div class="section" id="sec-fg2609">
|
||||
<h2 onclick="toggleSection('sec-fg2609')"><span class="arrow">▼</span> FG2609 玻璃</h2>
|
||||
<h2>FG2609 玻璃</h2>
|
||||
<table>
|
||||
<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>
|
||||
@@ -127,9 +124,6 @@ function toggleTheme() {
|
||||
} catch(e) {}
|
||||
})();
|
||||
|
||||
function toggleSection(id) {
|
||||
document.getElementById(id).classList.toggle('collapsed');
|
||||
}
|
||||
|
||||
var activeRow = null;
|
||||
function closeDrawer() {
|
||||
|
||||
Reference in New Issue
Block a user