样式优化
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
flex: 1;
|
||||
margin-top: 0;
|
||||
box-sizing: border-box;
|
||||
padding: 0px 15px 15px 15px;
|
||||
padding-bottom: 15px;
|
||||
padding-top: 98px;
|
||||
|
||||
// 用户信息区域
|
||||
@@ -49,6 +49,7 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
padding: 0 15px;
|
||||
|
||||
// 加载状态
|
||||
.loading_container {
|
||||
@@ -168,12 +169,17 @@
|
||||
}
|
||||
}
|
||||
|
||||
.test-entry-card-box {
|
||||
padding: 0 15px;
|
||||
}
|
||||
|
||||
// 球局类型标签页
|
||||
.game_tabs_section {
|
||||
margin-bottom: 0;
|
||||
.tab_container {
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
padding: 12px 0;
|
||||
padding: 12px 15px;
|
||||
|
||||
.tab_item {
|
||||
padding: 12px 0;
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user