次日预测行移至表头下方
This commit is contained in:
@@ -37,6 +37,18 @@
|
||||
<div class="table-wrap">
|
||||
<table id="bars-table">
|
||||
<tr><th>日期</th><th>星期</th><th>开盘</th><th>收盘</th><th>最高</th><th>最低</th><th>波幅</th><th>5日均振幅</th></tr>
|
||||
{% if next_date %}
|
||||
<tr style="background:var(--accent-light);font-weight:500;">
|
||||
<td>{{ next_date }}</td>
|
||||
<td>{{ next_weekday }}</td>
|
||||
<td class="na">—</td>
|
||||
<td class="na">—</td>
|
||||
<td class="na">—</td>
|
||||
<td class="na">—</td>
|
||||
<td class="na">—</td>
|
||||
<td><span style="color:var(--accent);font-weight:700;">{{ next_amp }}</span></td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% for row in rows %}
|
||||
<tr data-index="{{ loop.index0 }}" data-diff="{{ row.diff }}" data-date="{{ row.date }}" data-weekday="{{ row.weekday }}"{% if loop.index0 >= 7 %} class="extra-row" style="display:none;"{% endif %}>
|
||||
<td>{{ row.date }}</td>
|
||||
@@ -52,19 +64,9 @@
|
||||
{% else %}
|
||||
<span class="na">—</span>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% if next_date %}
|
||||
<tr style="background:var(--accent-light);font-weight:500;">
|
||||
<td>{{ next_date }}</td>
|
||||
<td>{{ next_weekday }}</td>
|
||||
<td class="na">—</td>
|
||||
<td class="na">—</td>
|
||||
<td class="na">—</td>
|
||||
<td class="na">—</td>
|
||||
<td class="na">—</td>
|
||||
<td><span style="color:var(--accent);font-weight:700;">{{ next_amp }}</span></td>
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user