diff --git a/app/pages/liveRoom/index.client.vue b/app/pages/liveRoom/index.client.vue index 34cb6b5..af0f949 100644 --- a/app/pages/liveRoom/index.client.vue +++ b/app/pages/liveRoom/index.client.vue @@ -135,18 +135,6 @@ watch(() => fullLive.value, async (newVal) => { await getSocketData() -}) -watchEffect(() => { - if (!fullLive.value) return - nextTick(()=>{ - createCountUp(countUpRef.value, auctionData.value?.nowAuctionPrice?.nowPrice) - }) -}) -watchEffect(() => { - if (!fullLive.value) return -nextTick(()=>{ - createCountUp(nextPriceRef.value, auctionData.value?.nowAuctionPrice?.nextPrice) -}) }) const goBuy = async () => { const res = await artworkBuy({ @@ -175,11 +163,11 @@ const tipOpen = () => { style="bottom:calc(var(--safe-area-inset-bottom) + 26px)">
{{ t('live_room.now_price') }}:{{ auctionData?.nowAuctionPrice?.currency }}
-
+
{{auctionData?.nowAuctionPrice?.nowPrice}}
{{ t('live_room.lower_price') }}:{{ auctionData?.nowAuctionPrice?.currency }}
-
+
{{auctionData?.nowAuctionPrice?.nextPrice}}