12312
This commit is contained in:
parent
8eb2681435
commit
2feb821899
@ -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)">
|
||||
<div class="text-16px text-#FFB25F font-600 flex">
|
||||
<div class="mr-5px">{{ t('live_room.now_price') }}:{{ auctionData?.nowAuctionPrice?.currency }}</div>
|
||||
<div ref="countUpRef" class="min-w-50px"></div>
|
||||
<div class="min-w-50px">{{auctionData?.nowAuctionPrice?.nowPrice}}</div>
|
||||
</div>
|
||||
<div class="text-16px text-#fff font-600 flex">
|
||||
<div class="mr-5px">{{ t('live_room.lower_price') }}:{{ auctionData?.nowAuctionPrice?.currency }}</div>
|
||||
<div ref="nextPriceRef" class="min-w-50px"></div>
|
||||
<div class="min-w-50px">{{auctionData?.nowAuctionPrice?.nextPrice}}</div>
|
||||
</div>
|
||||
<div v-if="quoteStatus&&auctionData?.nowAuctionPrice?.nowPrice!=='0'" class="mt-10px mb-10px">
|
||||
<van-button @click="goBuy" color="#FFB25F" class="w-344px !h-[40px]">
|
||||
|
Loading…
Reference in New Issue
Block a user