From daf513f6a0e5c1ec5bd32262cfbbe32d78a41231 Mon Sep 17 00:00:00 2001 From: estel <690930@qq.com> Date: Fri, 25 Jul 2025 22:01:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A6=E4=BE=A7=E5=AF=BC=E8=88=AA=E6=A0=8F?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=AD=A3=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/app.config.ts | 3 +++ app/components/AppSidebar.vue | 36 ++++++++++++++++++------- app/components/ContentDirectory.vue | 30 ++++++++++++++++----- app/components/content/ButtonLink.vue | 22 ++++++++++++++++ app/components/content/SmartIcon.vue | 38 +++++++++++++++++++++++++++ content/1.简单文档/1.index.md | 25 ++++++++++++++++++ 6 files changed, 137 insertions(+), 17 deletions(-) create mode 100644 app/components/content/ButtonLink.vue create mode 100644 app/components/content/SmartIcon.vue diff --git a/app/app.config.ts b/app/app.config.ts index 01a05bb..f6b10db 100644 --- a/app/app.config.ts +++ b/app/app.config.ts @@ -3,6 +3,9 @@ export default defineAppConfig({ colors: { primary: 'blue', neutral: 'zinc' + }, + container: { + base: 'w-full h-full mx-auto px-2 sm:px-6 lg:px-8' } }, uiPro: { diff --git a/app/components/AppSidebar.vue b/app/components/AppSidebar.vue index 8cfc01d..1b10f25 100644 --- a/app/components/AppSidebar.vue +++ b/app/components/AppSidebar.vue @@ -37,8 +37,8 @@
diff --git a/app/components/ContentDirectory.vue b/app/components/ContentDirectory.vue index b815f7d..c2d462e 100644 --- a/app/components/ContentDirectory.vue +++ b/app/components/ContentDirectory.vue @@ -1,12 +1,28 @@