feat(orders): 前端支持部分退款状态展示(warning样式+订单tab)

This commit is contained in:
gqt
2026-08-14 17:43:48 +08:00
parent 5bd4d7dcea
commit e78101f690
2 changed files with 7 additions and 1 deletions
@@ -43,6 +43,7 @@ const statusOptions = [
{ label: '全部', value: '' },
{ label: '待支付', value: 'pending_pay' },
{ label: '已支付', value: 'paid' },
{ label: '部分退款', value: 'part_refunded' },
{ label: '已关闭', value: 'closed' },
{ label: '已退款', value: 'refunded' }
]
@@ -192,6 +193,11 @@ loadOrders(true)
color: $color-warning;
}
.status-tag.part_refunded {
background: $color-warning-light;
color: $color-warning;
}
.status-tag.closed {
background: $bg-color-hover;
color: $text-color-muted;