feat(custom):
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-04-09 19:20:01 +08:00
parent f191298dea
commit 1be0710a82
5 changed files with 454 additions and 21 deletions

View File

@@ -20,7 +20,7 @@
</n-card>
<n-card ml-10 w-500>
<n-statistic label="赠送豆子" tabular-nums>
<n-number-animation :from="0" :to="cardData.count" />
<n-number-animation :from="0" :to="cardData.gift_pulse" />
</n-statistic>
</n-card>
</div>
@@ -122,6 +122,7 @@ const cardData = ref({
total: 0,
service: 0,
count: 0,
gift_pulse: 0,
})
const songs = ref([
@@ -352,6 +353,7 @@ const getList = async () => {
cardData.value.total = res.data.number
cardData.value.service = res.data.commission
cardData.value.count = res.data.total
cardData.value.gift_pulse = res.data.gift_pulse
} catch (error) {
$message.error(error.msg)
}