From 68de44236d861849384566f2bf70de037c375783 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BF=97=E9=B9=8F?= <2916022834@qq.com> Date: Tue, 14 Apr 2026 15:07:20 +0800 Subject: [PATCH] 111 --- src/component/Account/account.vue | 4 +++- src/views/SellerDashboard/MyOrders/index.vue | 7 ++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/component/Account/account.vue b/src/component/Account/account.vue index 6a9280e5..cb654938 100644 --- a/src/component/Account/account.vue +++ b/src/component/Account/account.vue @@ -266,9 +266,11 @@ export default defineComponent({ .account_page{ height: 100%; // overflow-y: auto; - padding: 0 26rem; + // padding: 0 26rem; // padding: 0 7rem; padding-top: 4rem; + max-width: 100rem; + margin: 0 auto; display: flex; overflow: hidden; .account_page_titleImg{ diff --git a/src/views/SellerDashboard/MyOrders/index.vue b/src/views/SellerDashboard/MyOrders/index.vue index f73e2fa8..019c7e65 100644 --- a/src/views/SellerDashboard/MyOrders/index.vue +++ b/src/views/SellerDashboard/MyOrders/index.vue @@ -93,7 +93,7 @@ const maxItemNum = ref(2) const loading = ref(false) const finish = ref(false) - const total = ref(30) + const total = ref(0) const page = ref(1) const size = ref(10) const nameOrId = ref("") @@ -107,9 +107,9 @@ } const data = { page: page.value, - size: size.value, - nameOrId: nameOrId.value + size: size.value } + if (nameOrId.value) data.nameOrId = nameOrId.value console.log(data) setTimeout(() => { for (let i = 0; i < size.value; i++) { @@ -134,6 +134,7 @@ ] }) } + total.value = 30 page.value++ finish.value = page.value > total.value / 10 loading.value = false