support guard price

This commit is contained in:
2024-03-24 10:30:04 +08:00
parent f71420511f
commit 2c6bf5beac
9 changed files with 376 additions and 62 deletions

View File

@@ -30,6 +30,7 @@ function OnClickCover() {
params: { id: live.liveId },
})
}
const guartPriceStartData = new Date(Date.UTC(2024, 2, 24, 10, 0, 0))
watch(
() => live,
@@ -119,7 +120,7 @@ watch(
<NStatistic tabular-nums>
<template #label>
收益
<NTooltip>
<NTooltip v-if="new Date(live.startAt) < guartPriceStartData">
<template #trigger>
<NIcon :component="Info24Filled" />
</template>