feat: 电量排序逆序
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user