From fe2e5bfad93d0008aa8a1dae489084a7aa4eedd3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=B0=A6=E5=90=9B?=
<73606411+setube@users.noreply.github.com>
Date: Thu, 25 Dec 2025 21:29:38 +0800
Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BC=98=E5=8C=96ResourceIcon?=
=?UTF-8?q?=E6=A0=B7=E5=BC=8F=E5=8F=8A=E5=85=BC=E5=AE=B9=E6=80=A7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
将ResourceIcon根元素由div改为span,调整样式为inline-block和shrink-0,提升布局灵活性。颜色由渐变改为纯色背景,增强在Android WebView等环境下的显示兼容性。尺寸样式增加min-width/min-height,确保图标不被压缩。
---
src/components/common/ResourceIcon.vue | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/src/components/common/ResourceIcon.vue b/src/components/common/ResourceIcon.vue
index 48bc4a5..5f24301 100644
--- a/src/components/common/ResourceIcon.vue
+++ b/src/components/common/ResourceIcon.vue
@@ -1,5 +1,5 @@
-
+