From a8c689d3253247ead9c8dcaf24ce198fee80a864 Mon Sep 17 00:00:00 2001 From: Timothy Yin Date: Mon, 20 Jan 2025 00:58:23 +0800 Subject: [PATCH] =?UTF-8?q?feat(ppt-templates):=20=E6=B7=BB=E5=8A=A0PPT?= =?UTF-8?q?=E6=A8=A1=E6=9D=BF=E5=BA=93=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.config.ts | 7 +- layouts/default.vue | 6 +- pages/generation.vue | 5 ++ pages/generation/ppt-templates.vue | 125 +++++++++++++++++++++++++++++ typings/types.d.ts | 33 ++++++++ 5 files changed, 173 insertions(+), 3 deletions(-) create mode 100644 pages/generation/ppt-templates.vue diff --git a/app.config.ts b/app.config.ts index 042ee58..32aa854 100644 --- a/app.config.ts +++ b/app.config.ts @@ -18,10 +18,15 @@ export default defineAppConfig({ container: 'gap-2', base: 'px-3 py-4', after: 'after:hidden', - active: 'before:bg-neutral-600 hover:before:bg-neutral-600 dark:before:bg-neutral-800 dark:hover:before:bg-neutral-800 text-neutral-50 dark:text-neutral-300', + active: + 'before:bg-neutral-600 hover:before:bg-neutral-600 dark:before:bg-neutral-800 dark:hover:before:bg-neutral-800 text-neutral-50 dark:text-neutral-300', icon: { active: 'text-neutral-50 dark:text-neutral-300', }, }, + formGroup: { + hint: 'text-xs', + help: 'text-xs', + }, }, }) diff --git a/layouts/default.vue b/layouts/default.vue index a999aae..83f2c7c 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -5,6 +5,7 @@ const colorMode = useColorMode() const dayjs = useDayjs() const modal = useModal() const toast = useToast() +const router = useRouter() const loginState = useLoginState() const isDark = computed({ @@ -42,6 +43,7 @@ const items = [ }], [{ label: '账号资料', icon: 'i-tabler-user-circle', + to: '/profile' }], [{ label: '注销登录', icon: 'i-tabler-logout', @@ -63,8 +65,8 @@ const open_login_modal = () => {

- 眩生花 AI 助手 - XSH AI Assistant + AIGC 微课视频研创平台 +