优化财务仪表盘UI与快捷时间筛选

This commit is contained in:
yml2213
2026-08-20 16:10:55 +08:00
parent 80e329a604
commit 9a52b51c89
25 changed files with 1626 additions and 438 deletions
@@ -37,9 +37,7 @@ const {
paidMessage: '支付成功',
})
const statusText = computed(() =>
order.value ? mohongOrderStatusLabel(order.value.status) : ''
)
const statusText = computed(() => (order.value ? mohongOrderStatusLabel(order.value.status) : ''))
onMounted(loadOrder)
@@ -101,7 +99,6 @@ async function copyText() {
showToast({ message: '复制失败', icon: 'cross' })
}
}
</script>
<template>
@@ -140,9 +137,7 @@ async function copyText() {
<h3>商品明细</h3>
<div v-for="item in order.items" :key="item.product_id" class="item-row">
<span>{{ item.title }}</span>
<em
>×{{ item.quantity }} · ¥{{ item.amount || formatCent(item.amount_cent) }}</em
>
<em>×{{ item.quantity }} · ¥{{ item.amount || formatCent(item.amount_cent) }}</em>
</div>
</section>