完善设置页面UI设计
This commit is contained in:
@@ -1335,7 +1335,8 @@ const onRefresh = async () => {
|
||||
const getOrderStatusText = (order: OrderItem): string => {
|
||||
const displayState = getUnifiedDisplayState(toOrderStatusSource(order))
|
||||
if (displayState == 'pending_pay') return '待付款'
|
||||
if (displayState == 'cancelled' || displayState == 'expired') return '已取消'
|
||||
if (displayState == 'expired') return '已超时未支付'
|
||||
if (displayState == 'cancelled') return '已取消'
|
||||
|
||||
if (order.biz_type === 'service') {
|
||||
if (order.payment_status == 1 && order.status == 1) return '待付款'
|
||||
|
||||
Reference in New Issue
Block a user