feat: 电量排序逆序
This commit is contained in:
@@ -34,21 +34,15 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for i in data %}
|
{% for i in data[::-1] %}
|
||||||
<tr class="border-t hover:bg-gray-50 transition">
|
<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.created_at | datetime }}</td>
|
||||||
<td class="px-4 py-3">{{ i.left_ele }}</td>
|
<td class="px-4 py-3">{{ i.left_ele }}</td>
|
||||||
<td class="px-4 py-3">{{ i.left_money }}</td>
|
<td class="px-4 py-3">{{ i.left_money }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="text-center">
|
|
||||||
<a href="/" class="text-blue-600 hover:underline">返回首页</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
Reference in New Issue
Block a user