fix: 修复走查样式问题
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user