From 2a030ea0f758466c8118ca5d335f35e304ae7e98 Mon Sep 17 00:00:00 2001 From: AdingApkgg Date: Fri, 26 Dec 2025 15:24:03 +0800 Subject: [PATCH] Enhance VndbPanel and SettingsModal components with improved UI and functionality - Added a text scrolling feature to the API URL display in SettingsModal.vue for better visibility. - Updated VndbPanel.vue to implement skeleton loading animations for images, enhancing user experience during content loading. - Refactored image loading logic to ensure proper display and handling of loading states for screenshots and character images. --- src/components/SettingsModal.vue | 3 +- src/components/VndbPanel.vue | 65 +++++++++++++++++---------- src/composables/useTextScroll.ts | 75 ++++++++++++++++++++++---------- src/styles/base.css | 62 ++++++++++++++++++++++++++ 4 files changed, 160 insertions(+), 45 deletions(-) diff --git a/src/components/SettingsModal.vue b/src/components/SettingsModal.vue index bd71004..673fa9e 100644 --- a/src/components/SettingsModal.vue +++ b/src/components/SettingsModal.vue @@ -139,7 +139,8 @@ {{ getApiUrl(option.value) }} diff --git a/src/components/VndbPanel.vue b/src/components/VndbPanel.vue index c241c20..b54e4bb 100644 --- a/src/components/VndbPanel.vue +++ b/src/components/VndbPanel.vue @@ -113,17 +113,14 @@
@@ -339,18 +336,18 @@ class="relative rounded-xl overflow-hidden shadow-md hover:shadow-lg hover:scale-105 transition-all group" > -
- -
+
+ +
-
+
@@ -445,16 +442,16 @@ class="relative rounded-xl overflow-hidden shadow-md hover:shadow-lg hover:scale-105 transition-all group" > -
- -
+
+ +
@@ -552,8 +549,12 @@
- -
+ +

游戏截图

@@ -562,17 +563,15 @@ @@ -586,7 +585,7 @@