样式优化

This commit is contained in:
2025-11-11 11:55:25 +08:00
parent 646d825c72
commit d08c8d963a
8 changed files with 58 additions and 31 deletions

View File

@@ -169,14 +169,14 @@ const MyselfPage: React.FC = () => {
// 处理钱包
const handle_wallet = () => {
Taro.navigateTo({
url: "/user_pages/wallet/index",
// url: "/user_pages/other/index?userid=16"
// url: "/user_pages/wallet/index",
url: "/user_pages/other/index?userid=16",
});
};
const handleOnTab = (tab) => {
setActiveTab(tab)
}
setActiveTab(tab);
};
return (
<View className="myself_page">
@@ -213,7 +213,9 @@ const MyselfPage: React.FC = () => {
</View>
</View>
<NTRPTestEntryCard type={EvaluateScene.user} />
<View className="test-entry-card-box">
<NTRPTestEntryCard type={EvaluateScene.user} />
</View>
{/* 球局类型标签页 */}
<View className="game_tabs_section">
@@ -225,8 +227,9 @@ const MyselfPage: React.FC = () => {
<Text className="tab_text"></Text>
</View>
<View
className={`tab_item ${active_tab === "participated" ? "active" : ""
}`}
className={`tab_item ${
active_tab === "participated" ? "active" : ""
}`}
onClick={() => setActiveTab("participated")}
>
<Text className="tab_text"></Text>
@@ -248,7 +251,7 @@ const MyselfPage: React.FC = () => {
btnImg="ICON_ADD"
reload={goPublish}
isShowNoData={game_records.length === 0}
loadMoreMatches={() => { }}
loadMoreMatches={() => {}}
collapse={true}
style={{ paddingBottom: 0, overflow: "hidden" }}
defaultShowNum={3}
@@ -275,7 +278,7 @@ const MyselfPage: React.FC = () => {
error={null}
errorImg="ICON_LIST_EMPTY"
isShowNoData={ended_game_records.length === 0}
loadMoreMatches={() => { }}
loadMoreMatches={() => {}}
collapse={true}
style={{ paddingBottom: "90px", overflow: "hidden" }}
defaultShowNum={3}