diff --git a/src/main_pages/components/MyselfPageContent.tsx b/src/main_pages/components/MyselfPageContent.tsx index 4af5b9f..f265d72 100644 --- a/src/main_pages/components/MyselfPageContent.tsx +++ b/src/main_pages/components/MyselfPageContent.tsx @@ -247,27 +247,31 @@ const MyselfPageContent: React.FC = () => { - 往期球局 - - - {}} - collapse={true} - style={{ paddingBottom: "90px", overflow: "hidden" }} - listLoadErrorWrapperHeight="fit-content" - listLoadErrorWidth="320px" - listLoadErrorHeight="152px" - listLoadErrorScale="1.2" - defaultShowNum={3} - /> - - + {ended_game_records.length ? ( + <> + 往期球局 + + + {}} + collapse={true} + style={{ paddingBottom: "90px", overflow: "hidden" }} + listLoadErrorWrapperHeight="fit-content" + listLoadErrorWidth="320px" + listLoadErrorHeight="152px" + listLoadErrorScale="1.2" + defaultShowNum={3} + /> + + + + ) : null} ); diff --git a/src/user_pages/edit/index.scss b/src/user_pages/edit/index.scss index 3254d73..58e819d 100644 --- a/src/user_pages/edit/index.scss +++ b/src/user_pages/edit/index.scss @@ -237,6 +237,7 @@ &::placeholder { color: rgba(0, 0, 0, 0.4); + font-weight: unset; } } diff --git a/src/user_pages/edit/index.tsx b/src/user_pages/edit/index.tsx index 36938cd..75ccbe6 100644 --- a/src/user_pages/edit/index.tsx +++ b/src/user_pages/edit/index.tsx @@ -15,7 +15,11 @@ import { useNicknameChangeStatus, } from "@/store/userStore"; 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 evaluateService from "@/services/evaluateService"; diff --git a/src/user_pages/other/index.tsx b/src/user_pages/other/index.tsx index f55f121..dc9178c 100644 --- a/src/user_pages/other/index.tsx +++ b/src/user_pages/other/index.tsx @@ -335,48 +335,52 @@ const OtherUserPage: React.FC = () => { {/* 往期球局 */} - 往期球局 - - {/* - 5月29日 - / - 星期六 - */} + {ended_game_records.length ? ( + <> + 往期球局 + + {/* + 5月29日 + / + 星期六 + */} - {/* 球局列表 */} - {/* */} - - {}} - collapse={true} - style={{ paddingBottom: "90px", overflow: "hidden" }} - listLoadErrorWrapperHeight="fit-content" - listLoadErrorWidth="320px" - listLoadErrorHeight="152px" - listLoadErrorScale="1.2" - defaultShowNum={3} - /> - - {/* */} + {/* 球局列表 */} + {/* */} + + {}} + collapse={true} + style={{ paddingBottom: "90px", overflow: "hidden" }} + listLoadErrorWrapperHeight="fit-content" + listLoadErrorWidth="320px" + listLoadErrorHeight="152px" + listLoadErrorScale="1.2" + defaultShowNum={3} + /> + + {/* */} - {/* 球局卡片 */} - {/* - {game_records.map((game) => ( - - ))} - */} - + {/* 球局卡片 */} + {/* + {game_records.map((game) => ( + + ))} + */} + + + ) : null} {/* */}