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

@@ -9,6 +9,17 @@
ref="numberAnimationInstRef"
:from="0"
:to="cardData.total / 100"
:precision="2"
/>
</n-statistic>
</n-card>
<n-card ml-10 w-400>
<n-statistic label="服务费" tabular-nums>
<n-number-animation
ref="numberAnimationInstRef"
:from="0"
:to="cardData.commission || 0 / 100"
:precision="2"
/>
</n-statistic>
</n-card>
@@ -18,6 +29,7 @@
ref="numberAnimationInstRef"
:from="0"
:to="cardData.service / 100"
:precision="2"
/>
</n-statistic>
</n-card>
@@ -126,6 +138,7 @@ const cardData = ref({
total: 0,
service: 0,
count: 0,
commission: 0,
})
const songs = ref([
@@ -353,6 +366,7 @@ const getList = async () => {
pagination.value.itemCount = res.data.total
cardData.value.total = res.data.all
cardData.value.service = res.data.audit_integral
cardData.value.commission = res.data.audit_commission
cardData.value.count = res.data.success_integral
loading.value = false
}