From 94d7c7529b6b838eea00e93e7ba0bae535326f0b Mon Sep 17 00:00:00 2001 From: zhx Date: Sat, 23 May 2026 13:04:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=B5=84=E6=BA=90=E7=BB=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/props/components/reward-icon.vue | 15 +++++-- .../props/components/source-group-drawer.vue | 45 ++++++++++++++++++- 2 files changed, 56 insertions(+), 4 deletions(-) diff --git a/apps/src/views/props/components/reward-icon.vue b/apps/src/views/props/components/reward-icon.vue index 25cdd55..2b8541b 100644 --- a/apps/src/views/props/components/reward-icon.vue +++ b/apps/src/views/props/components/reward-icon.vue @@ -20,6 +20,15 @@ const props = withDefaults( ); const type = computed(() => props.item.detailType || props.item.type || ''); +const imageUrl = computed(() => + String( + props.item.cover || + props.item.coverUrl || + props.item.sourceUrl || + props.item.resourceUrl || + '', + ).trim(), +); const sizeStyle = computed(() => ({ height: `${props.size}px`, width: `${props.size}px`, @@ -61,10 +70,10 @@ const tokenClassName = computed(() => {