From c32a64456ee87c9b9da3b26970c98a7e9f3f3d29 Mon Sep 17 00:00:00 2001 From: xingyy <64720302+Concur-max@users.noreply.github.com> Date: Mon, 13 Jan 2025 11:12:11 +0800 Subject: [PATCH] =?UTF-8?q?refactor(layouts):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E5=B8=83=E5=B1=80=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 调整 default.vue 中的主容器样式,使其更加灵活 - 在 home/index.vue 和 profile/index.vue 中应用 flex 布局,提高页面结构的适应性 - 优化代码格式和缩进,提高可读性 --- app/layouts/default.vue | 2 +- app/pages/home/index.vue | 211 +++++++++++++++++++----------------- app/pages/profile/index.vue | 6 +- 3 files changed, 114 insertions(+), 105 deletions(-) diff --git a/app/layouts/default.vue b/app/layouts/default.vue index b32c3b0..2fcbd57 100644 --- a/app/layouts/default.vue +++ b/app/layouts/default.vue @@ -2,7 +2,7 @@
-
+
diff --git a/app/pages/home/index.vue b/app/pages/home/index.vue index fb1df44..584055e 100644 --- a/app/pages/home/index.vue +++ b/app/pages/home/index.vue @@ -1,14 +1,15 @@ diff --git a/app/pages/profile/index.vue b/app/pages/profile/index.vue index 9921b64..b182617 100644 --- a/app/pages/profile/index.vue +++ b/app/pages/profile/index.vue @@ -7,7 +7,7 @@ definePageMeta({