feat: 电量排序逆序

This commit is contained in:
2025-12-29 09:41:15 +08:00
parent 7d4c97c0de
commit 985732bd87

View File

@@ -34,21 +34,15 @@
</tr>
</thead>
<tbody>
{% for i in data %}
{% for i in data[::-1] %}
<tr class="border-t hover:bg-gray-50 transition">
<td class="px-4 py-3">{{ i.created_at | datetime }}</td>
<td class="px-4 py-3">{{ i.left_ele }}</td>
<td class="px-4 py-3">{{ i.left_money }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
<div class="text-center">
<a href="/" class="text-blue-600 hover:underline">返回首页</a>
</div>
</div>
<script>