From 61651d132e5598b38ca55fba2cc47d9e8f79c108 Mon Sep 17 00:00:00 2001 From: AzenKain Date: Sun, 5 Oct 2025 17:11:35 +0700 Subject: [PATCH] UPDATE: add more ui for showcase card, fix some bug --- src/components/quickView/index.tsx | 75 ++----------------- src/components/showcaseCard/relicShowcase.tsx | 2 +- 2 files changed, 9 insertions(+), 68 deletions(-) diff --git a/src/components/quickView/index.tsx b/src/components/quickView/index.tsx index 626aec5..ffceb03 100644 --- a/src/components/quickView/index.tsx +++ b/src/components/quickView/index.tsx @@ -442,79 +442,20 @@ export default function QuickView() {
- {relicStats?.map((relic, index) => { + {relicStats?.map((relic, index) => { if (!relic) return null return ( -
- {/* Subtle glow overlay */} -
- -
-
- - -
- ✦✦✦✦✦ -
-
- -
-
-
- -
- - {relic?.mainAffix?.valueAffix + relic?.mainAffix?.detail?.unit} - - - +{relic?.mainAffix?.level} - -
- -
- -
- {relic?.subAffix?.map((subAffix, index) => { - if (!subAffix) return null - return ( - - ) - })} -
-
+ ) - })} + })} - {(!relicStats || !relicStats?.length) && ( + {(!relicStats || !relicStats?.length) && (
-
- {transI18n("noRelicEquipped")} -
+
+ {transI18n("noRelicEquipped")} +
- )} + )}
) diff --git a/src/components/showcaseCard/relicShowcase.tsx b/src/components/showcaseCard/relicShowcase.tsx index 4c65a54..6760e2a 100644 --- a/src/components/showcaseCard/relicShowcase.tsx +++ b/src/components/showcaseCard/relicShowcase.tsx @@ -85,7 +85,7 @@ export default function RelicShowcase({ {subAffix.count > 1 && ( - {subAffix?.count} + {subAffix?.count-1} )}