Merge branch 'feat/liujie'

This commit is contained in:
2025-11-10 07:37:55 +08:00
2 changed files with 13 additions and 6 deletions

View File

@@ -135,6 +135,8 @@ const CommentInput = forwardRef<CommentInputRef, CommentInputProps>(function (
placeholder={
params?.reply_to_user_id ? `回复 @${params.nickname}` : "写评论"
}
confirmType="send"
onConfirm={handleSend}
focus
maxlength={100}
/>

View File

@@ -21,10 +21,15 @@ function isFull(counts) {
is_substitute_supported,
} = counts;
if (max_players === current_players &&is_substitute_supported === IsSubstituteSupported.NOTSUPPORT) {
if (
max_players === current_players &&
is_substitute_supported === IsSubstituteSupported.NOTSUPPORT
) {
return true;
}
else if (max_players === current_players &&is_substitute_supported === IsSubstituteSupported.SUPPORT) {
} else if (
max_players === current_players &&
is_substitute_supported === IsSubstituteSupported.SUPPORT
) {
return max_substitute_players === current_substitute_count;
}
@@ -171,8 +176,8 @@ export default function StickyButton(props) {
return {
text: () => (
<>
<Image src={RMB_ICON} />
{price}
<Image className={styles.crrrencySymbol} src={RMB_ICON} />
{displayPrice}
<Text className={styles.btnText}></Text>
</>
),