fix: 修复走查样式问题

This commit is contained in:
2025-10-26 18:00:32 +08:00
parent 753b6b0c2c
commit 6dc9c7eff2
12 changed files with 213 additions and 43 deletions

View File

@@ -1,6 +1,7 @@
import Taro from "@tarojs/taro";
import dayjs from "dayjs";
import { View, Text, Image, ScrollView } from "@tarojs/components";
import classnames from "classnames";
import { calculateDistance } from "@/utils";
import { useUserInfo } from "@/store/userStore";
import * as LoginService from "@/services/loginService";
@@ -43,7 +44,7 @@ function genRecommendGames(games, location, avatar) {
checkedApplications: current_players,
levelRequirements:
skill_level_max !== skill_level_min
? `${skill_level_min || "-"}${skill_level_max || "-"}`
? `${skill_level_min || "-"}-${skill_level_max || "-"}`
: skill_level_min === "1"
? "无要求"
: `${skill_level_min}以上`,
@@ -234,16 +235,20 @@ export default function OrganizerInfo(props) {
}
>
<View
className={
className={classnames(
styles[
"recommend-games-list-item-addon-message-applications"
]
}
],
styles.joinMsg
)}
>
<Text>
{game.checkedApplications}/
{game.applications}
</Text>
<Text></Text>
<View>
<Text>{game.checkedApplications}</Text>
<Text className={styles.weaktip}>
/{game.applications}
</Text>
</View>
</View>
<View
className={
@@ -253,8 +258,10 @@ export default function OrganizerInfo(props) {
}
>
<Text>{game.levelRequirements}</Text>
<View className={styles.spearator} />
<Text>{game.playType}</Text>
</View>
<View
{/* <View
className={
styles[
"recommend-games-list-item-addon-message-play-type"
@@ -262,7 +269,7 @@ export default function OrganizerInfo(props) {
}
>
<Text>{game.playType}</Text>
</View>
</View> */}
</View>
</View>
</View>