From 5959ada6594bce586ebd2a53b14ceb12c353e52f Mon Sep 17 00:00:00 2001 From: LemonNeko Date: Thu, 26 Dec 2024 03:32:18 +0800 Subject: [PATCH] style: mobile adaption (#5) --- packages/stage/src/auto-imports.d.ts | 5 ----- packages/stage/src/components/Layouts/InteractiveArea.vue | 6 +++--- packages/stage/src/components/Scenes/Live2D.vue | 4 ++-- packages/stage/src/components/Widgets/ChatHistory.vue | 8 ++++++-- packages/stage/src/pages/index.vue | 6 +++--- 5 files changed, 14 insertions(+), 15 deletions(-) diff --git a/packages/stage/src/auto-imports.d.ts b/packages/stage/src/auto-imports.d.ts index cd9cdf3..3d534ef 100644 --- a/packages/stage/src/auto-imports.d.ts +++ b/packages/stage/src/auto-imports.d.ts @@ -319,9 +319,6 @@ declare global { // @ts-ignore export type { UseWhisperOptions } from './composables/whisper' import('./composables/whisper') - // @ts-ignore - export type { Temporal } from './stores/agent' - import('./stores/agent') } // for vue template auto import @@ -347,7 +344,6 @@ declare module 'vue' { readonly createReusableTemplate: UnwrapRef readonly createSharedComposable: UnwrapRef readonly createTemplatePromise: UnwrapRef - readonly createTemporal: UnwrapRef readonly createUnrefFn: UnwrapRef readonly customRef: UnwrapRef readonly debouncedRef: UnwrapRef @@ -433,7 +429,6 @@ declare module 'vue' { readonly unrefElement: UnwrapRef readonly until: UnwrapRef readonly useActiveElement: UnwrapRef - readonly useAgentStore: UnwrapRef readonly useAnimate: UnwrapRef readonly useArrayDifference: UnwrapRef readonly useArrayEvery: UnwrapRef diff --git a/packages/stage/src/components/Layouts/InteractiveArea.vue b/packages/stage/src/components/Layouts/InteractiveArea.vue index 8d284e4..d428c4a 100644 --- a/packages/stage/src/components/Layouts/InteractiveArea.vue +++ b/packages/stage/src/components/Layouts/InteractiveArea.vue @@ -158,14 +158,14 @@ onAfterSend(async () => { -
+
- -
+ +
-
+
Emotions diff --git a/packages/stage/src/components/Widgets/ChatHistory.vue b/packages/stage/src/components/Widgets/ChatHistory.vue index d587943..d0f5667 100644 --- a/packages/stage/src/components/Widgets/ChatHistory.vue +++ b/packages/stage/src/components/Widgets/ChatHistory.vue @@ -34,12 +34,14 @@ onTokenLiteral(async () => {