From e19743f70553700f1f91bff76f87370f749dd247 Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Thu, 5 Feb 2026 00:07:15 +0800 Subject: [PATCH] perf: count tip --- .../components/vip-button/vip-modal-content.vue | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/packages/ui/certd-client/src/components/vip-button/vip-modal-content.vue b/packages/ui/certd-client/src/components/vip-button/vip-modal-content.vue index 8659610ff..67a55b68f 100644 --- a/packages/ui/certd-client/src/components/vip-button/vip-modal-content.vue +++ b/packages/ui/certd-client/src/components/vip-button/vip-modal-content.vue @@ -8,9 +8,14 @@
- 今日赞助 - {{ stage.orderCount }} 人, - {{ stage.title }} + 已有 + {{ todayOrderCount.vipTotal }} 位小伙伴赞助, + + {{ todayOrderCount.title }} + + + {{ stage.title }} +
@@ -253,6 +258,7 @@ const todayOrderCount = computed(() => { orderCount: orderCount, title: lastStage.title || "", stages: countInfo?.stages, + vipTotal: countInfo?.vipTotal || 0, }; }); @@ -264,7 +270,7 @@ async function scrollOrderCount() { let index = 0; for (const stage of stages) { TodayVipOrderCountRef.value.current = index; - await utils.sleep(500); + // await utils.sleep(500); index++; } }