From 228390194efad27b0053fbe3ccfc32ba4e6d4b35 Mon Sep 17 00:00:00 2001 From: AdingApkgg Date: Fri, 26 Dec 2025 19:12:01 +0800 Subject: [PATCH] Refactor image loading and placeholder logic in VndbPanel.vue - Updated the structure for image loading to improve clarity and maintainability. - Introduced a template for conditional rendering of images and skeleton loading. - Enhanced the placeholder display for characters without images for better user experience. --- src/components/VndbPanel.vue | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/src/components/VndbPanel.vue b/src/components/VndbPanel.vue index d8e3cde..bc9dcfd 100644 --- a/src/components/VndbPanel.vue +++ b/src/components/VndbPanel.vue @@ -391,16 +391,20 @@ >
- -
- + +
+ + +