From 6cfb3b2f93b4a95924119a41fd3a5a97ecc8ba61 Mon Sep 17 00:00:00 2001
From: liyy <18435186204@163.com>
Date: Wed, 2 Sep 2026 16:43:55 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9EAppStack=E5=B8=83?=
=?UTF-8?q?=E5=B1=80=E7=BB=84=E4=BB=B6=E5=B9=B6=E8=AF=95=E7=82=B9=E6=94=B6?=
=?UTF-8?q?=E6=95=9B=E9=A1=B5=E9=9D=A2=E6=A0=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
client/src/components/base/AppStack.vue | 93 +++++++++++++++++++
client/src/layouts/MobileLayout.vue | 2 +-
client/src/views/mock/MockView.vue | 10 +-
client/src/views/news/NewsView.vue | 11 +--
client/src/views/practice/WrongDetailView.vue | 8 +-
5 files changed, 103 insertions(+), 21 deletions(-)
create mode 100644 client/src/components/base/AppStack.vue
diff --git a/client/src/components/base/AppStack.vue b/client/src/components/base/AppStack.vue
new file mode 100644
index 0000000..fcdc35d
--- /dev/null
+++ b/client/src/components/base/AppStack.vue
@@ -0,0 +1,93 @@
+
+
+
+
+
+
+
+
+
diff --git a/client/src/layouts/MobileLayout.vue b/client/src/layouts/MobileLayout.vue
index b1b9c6c..3313eef 100644
--- a/client/src/layouts/MobileLayout.vue
+++ b/client/src/layouts/MobileLayout.vue
@@ -29,7 +29,7 @@ const route = useRoute()
min-height: 100vh;
}
.content {
- padding: 0 var(--padding-mobile) var(--tabbar-height-mobile);
+ padding: var(--padding-mobile) var(--padding-mobile) var(--tabbar-height-mobile);
}
.tabbar {
position: fixed;
diff --git a/client/src/views/mock/MockView.vue b/client/src/views/mock/MockView.vue
index 06dd36b..51b6eda 100644
--- a/client/src/views/mock/MockView.vue
+++ b/client/src/views/mock/MockView.vue
@@ -17,6 +17,7 @@ import AppLoading from '../../components/feedback/AppLoading.vue'
import AppError from '../../components/feedback/AppError.vue'
import AppEmpty from '../../components/feedback/AppEmpty.vue'
import StatCard from '../../components/dashboard/StatCard.vue'
+import AppStack from '../../components/base/AppStack.vue'
const router = useRouter()
const { isMobile } = useResponsive()
@@ -86,7 +87,7 @@ async function confirmRemove() {
-
+