style: fix
This commit is contained in:
@@ -135,6 +135,8 @@ const CommentInput = forwardRef<CommentInputRef, CommentInputProps>(function (
|
|||||||
placeholder={
|
placeholder={
|
||||||
params?.reply_to_user_id ? `回复 @${params.nickname}` : "写评论"
|
params?.reply_to_user_id ? `回复 @${params.nickname}` : "写评论"
|
||||||
}
|
}
|
||||||
|
confirmType="send"
|
||||||
|
onConfirm={handleSend}
|
||||||
focus
|
focus
|
||||||
maxlength={100}
|
maxlength={100}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -21,10 +21,15 @@ function isFull(counts) {
|
|||||||
is_substitute_supported,
|
is_substitute_supported,
|
||||||
} = counts;
|
} = counts;
|
||||||
|
|
||||||
if (max_players === current_players &&is_substitute_supported === IsSubstituteSupported.NOTSUPPORT) {
|
if (
|
||||||
|
max_players === current_players &&
|
||||||
|
is_substitute_supported === IsSubstituteSupported.NOTSUPPORT
|
||||||
|
) {
|
||||||
return true;
|
return true;
|
||||||
}
|
} else if (
|
||||||
else if (max_players === current_players &&is_substitute_supported === IsSubstituteSupported.SUPPORT) {
|
max_players === current_players &&
|
||||||
|
is_substitute_supported === IsSubstituteSupported.SUPPORT
|
||||||
|
) {
|
||||||
return max_substitute_players === current_substitute_count;
|
return max_substitute_players === current_substitute_count;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -113,7 +118,7 @@ export default function StickyButton(props) {
|
|||||||
is_substituting,
|
is_substituting,
|
||||||
waiting_start,
|
waiting_start,
|
||||||
} = user_action_status || {};
|
} = user_action_status || {};
|
||||||
|
|
||||||
if (MATCH_STATUS.CANCELED === match_status) {
|
if (MATCH_STATUS.CANCELED === match_status) {
|
||||||
return {
|
return {
|
||||||
text: "活动已取消",
|
text: "活动已取消",
|
||||||
@@ -171,8 +176,8 @@ export default function StickyButton(props) {
|
|||||||
return {
|
return {
|
||||||
text: () => (
|
text: () => (
|
||||||
<>
|
<>
|
||||||
<Image src={RMB_ICON} />
|
<Image className={styles.crrrencySymbol} src={RMB_ICON} />
|
||||||
{price}
|
{displayPrice}
|
||||||
<Text className={styles.btnText}>继续支付</Text>
|
<Text className={styles.btnText}>继续支付</Text>
|
||||||
</>
|
</>
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user