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> </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>