From c49125b38f6ae63bc4d7ebcb8020b5459218f1e6 Mon Sep 17 00:00:00 2001 From: chiyi Date: Tue, 27 Oct 2026 17:01:34 +0800 Subject: [PATCH] =?UTF-8?q?feat(user):=20=E5=88=9B=E4=BD=9C=E8=AE=B0?= =?UTF-8?q?=E5=BD=95/=E7=94=9F=E6=88=90=E6=97=A5=E5=BF=97/=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E9=A1=B5=E7=BB=9F=E4=B8=80=E9=A1=B5=E5=A4=B4=E4=B8=8E?= =?UTF-8?q?=E5=B7=A5=E5=85=B7=E6=A0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 页头改为标题+说明+圆形刷新按钮;类型/状态筛选改下拉; 全选/下载/删除/去画图等操作收进工具栏右侧,样式与后台一致。 Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- frontend/src/views/OrdersView.vue | 23 +++++------ frontend/src/views/UserLogsTableView.vue | 14 +++---- frontend/src/views/UserLogsView.vue | 51 +++++++++++------------- 3 files changed, 42 insertions(+), 46 deletions(-) diff --git a/frontend/src/views/OrdersView.vue b/frontend/src/views/OrdersView.vue index c94d5f6..543324a 100644 --- a/frontend/src/views/OrdersView.vue +++ b/frontend/src/views/OrdersView.vue @@ -8,6 +8,7 @@ import { api, jsonBody } from '../api' import { openPayment } from '../payment' import { refreshMe } from '../auth' import Icon from '../components/Icon.vue' +import SelectMenu from '../components/SelectMenu.vue' const router = useRouter() const items = ref([]) @@ -34,6 +35,7 @@ function fmt(unix) { return `${d.getFullYear()}-${p(d.getMonth() + 1)}-${p(d.getDate())} ${p(d.getHours())}:${p(d.getMinutes())}` } +const STATUS_OPTS = [{ value: '', label: '全部状态' }, { value: 'pending', label: '待支付' }, { value: 'paid', label: '已支付' }, { value: 'cancelled', label: '已取消' }] async function load() { loading.value = true const qs = new URLSearchParams({ limit: String(pageSize), offset: String((page.value - 1) * pageSize) }) @@ -91,27 +93,24 @@ async function cont(o) {