feat(orders): 前端支持部分退款状态展示(warning样式+订单tab)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user