feat: 订单显示问题修复、修复球局开局后可加入的问题
This commit is contained in:
@@ -793,13 +793,16 @@ function Participants(props) {
|
||||
participant_count,
|
||||
max_participants,
|
||||
user_action_status = {},
|
||||
start_time,
|
||||
} = detail;
|
||||
const { can_join, can_pay, can_substitute, is_substituting, waiting_start } =
|
||||
user_action_status;
|
||||
const showApplicationEntry =
|
||||
[can_pay, can_substitute, is_substituting, waiting_start].every(
|
||||
(item) => !item
|
||||
) && can_join;
|
||||
) &&
|
||||
can_join &&
|
||||
dayjs(start_time).isAfter(dayjs());
|
||||
const leftCount = max_participants - participant_count;
|
||||
return (
|
||||
<View className="detail-page-content-participants">
|
||||
|
||||
Reference in New Issue
Block a user