From 1d9b3fef6ca63b44ba3f0a46b457205bad766b09 Mon Sep 17 00:00:00 2001 From: Zyronon Date: Wed, 8 Oct 2025 03:19:38 +0800 Subject: [PATCH] feat:supports input on mobile devices --- src/assets/css/style.scss | 8 ++++ src/components/dialog/Dialog.vue | 7 ++- src/hooks/event.ts | 79 +++++++++++++++++++++++++------- src/utils/index.ts | 27 ++++++----- 4 files changed, 90 insertions(+), 31 deletions(-) diff --git a/src/assets/css/style.scss b/src/assets/css/style.scss index ebc820ff..cc4b4e1f 100644 --- a/src/assets/css/style.scss +++ b/src/assets/css/style.scss @@ -463,4 +463,12 @@ a { 50% { border-left: .1rem solid transparent; } +} + +#typing-listener{ + position: fixed; + right: 0; + bottom: 0; + z-index: 9999; + height: 3rem; } \ No newline at end of file diff --git a/src/components/dialog/Dialog.vue b/src/components/dialog/Dialog.vue index d4df7223..84646d84 100644 --- a/src/components/dialog/Dialog.vue +++ b/src/components/dialog/Dialog.vue @@ -1,11 +1,10 @@