优化编辑页placeholder样式、没有往期球局时,隐藏往期球局
This commit is contained in:
@@ -247,6 +247,8 @@ const MyselfPageContent: React.FC = () => {
|
|||||||
</ScrollView>
|
</ScrollView>
|
||||||
</View>
|
</View>
|
||||||
|
|
||||||
|
{ended_game_records.length ? (
|
||||||
|
<>
|
||||||
<View className={styles.endedGameText}>往期球局</View>
|
<View className={styles.endedGameText}>往期球局</View>
|
||||||
<View className={styles.gameListSection}>
|
<View className={styles.gameListSection}>
|
||||||
<ScrollView scrollY>
|
<ScrollView scrollY>
|
||||||
@@ -268,6 +270,8 @@ const MyselfPageContent: React.FC = () => {
|
|||||||
/>
|
/>
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
</View>
|
</View>
|
||||||
|
</>
|
||||||
|
) : null}
|
||||||
</View>
|
</View>
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -237,6 +237,7 @@
|
|||||||
|
|
||||||
&::placeholder {
|
&::placeholder {
|
||||||
color: rgba(0, 0, 0, 0.4);
|
color: rgba(0, 0, 0, 0.4);
|
||||||
|
font-weight: unset;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,11 @@ import {
|
|||||||
useNicknameChangeStatus,
|
useNicknameChangeStatus,
|
||||||
} from "@/store/userStore";
|
} from "@/store/userStore";
|
||||||
import { UserInfoType } from "@/services/userService";
|
import { UserInfoType } from "@/services/userService";
|
||||||
import { useCities, useProfessions, useNtrpLevels } from "@/store/pickerOptionsStore";
|
import {
|
||||||
|
useCities,
|
||||||
|
useProfessions,
|
||||||
|
useNtrpLevels,
|
||||||
|
} from "@/store/pickerOptionsStore";
|
||||||
import { handleCustomerService } from "@/services/userService";
|
import { handleCustomerService } from "@/services/userService";
|
||||||
import evaluateService from "@/services/evaluateService";
|
import evaluateService from "@/services/evaluateService";
|
||||||
|
|
||||||
|
|||||||
@@ -335,6 +335,8 @@ const OtherUserPage: React.FC = () => {
|
|||||||
</View>
|
</View>
|
||||||
|
|
||||||
{/* 往期球局 */}
|
{/* 往期球局 */}
|
||||||
|
{ended_game_records.length ? (
|
||||||
|
<>
|
||||||
<View className="ended_game_text">往期球局</View>
|
<View className="ended_game_text">往期球局</View>
|
||||||
<View className="game_list_section">
|
<View className="game_list_section">
|
||||||
{/* <View className="date_header">
|
{/* <View className="date_header">
|
||||||
@@ -377,6 +379,8 @@ const OtherUserPage: React.FC = () => {
|
|||||||
))}
|
))}
|
||||||
</View> */}
|
</View> */}
|
||||||
</View>
|
</View>
|
||||||
|
</>
|
||||||
|
) : null}
|
||||||
</View>
|
</View>
|
||||||
{/* <GuideBar currentPage="personal" /> */}
|
{/* <GuideBar currentPage="personal" /> */}
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
|
|||||||
Reference in New Issue
Block a user