feat: 订单显示问题修复、修复球局开局后可加入的问题
This commit is contained in:
@@ -276,6 +276,7 @@ const OrderList = () => {
|
||||
const unPay =
|
||||
item.order_status === OrderStatus.PENDING &&
|
||||
item.cancel_type === CancelType.NONE;
|
||||
const timeout = item.cancel_type === CancelType.TIMEOUT;
|
||||
const { game_info } = item;
|
||||
|
||||
const {
|
||||
@@ -297,17 +298,21 @@ const OrderList = () => {
|
||||
>
|
||||
<View className={styles.gameTitle}>
|
||||
<View className={styles.title}>{item?.game_info?.title}</View>
|
||||
<View
|
||||
className={classnames(
|
||||
styles.payNum,
|
||||
styles[unPay ? "pending" : "paid"]
|
||||
)}
|
||||
>
|
||||
<Text>
|
||||
{unPay ? "待支付" : refundTextMap.get(item.refund_status)}
|
||||
</Text>{" "}
|
||||
¥ <Text>{item.amount}</Text>
|
||||
</View>
|
||||
{!timeout && (
|
||||
<View
|
||||
className={classnames(
|
||||
styles.payNum,
|
||||
styles[unPay ? "pending" : "paid"]
|
||||
)}
|
||||
>
|
||||
<Text>
|
||||
{unPay
|
||||
? "待支付"
|
||||
: refundTextMap.get(item.refund_status)}
|
||||
</Text>{" "}
|
||||
¥ <Text>{item.amount}</Text>
|
||||
</View>
|
||||
)}
|
||||
</View>
|
||||
<View className={styles.gameTime}>
|
||||
{generateTimeMsg(item.game_info || {})}
|
||||
|
||||
Reference in New Issue
Block a user