UI样式优化

This commit is contained in:
2025-11-16 13:02:00 +08:00
parent 6f4900eb0b
commit 6a365be470
7 changed files with 19 additions and 16 deletions

View File

@@ -49,7 +49,7 @@
align-items: center;
justify-content: space-between;
padding: 16px 20px;
border-bottom: 1px solid rgba(0, 0, 0, 0.06);
// border-bottom: 1px solid rgba(0, 0, 0, 0.06);
.common-popup__title {
font-family: "PingFang SC";

View File

@@ -122,7 +122,7 @@
align-items: center;
gap: 12px;
border: 1px solid rgba(0, 0, 0, 0.2);
border-radius: 20px;
border-radius: 999px;
.follow_button {
display: flex;

View File

@@ -507,13 +507,13 @@ const UserInfoCardComponent: React.FC<UserInfoCardProps> = ({
</View>
) : null}
</View>
<View className="personal_profile">
<View className="personal_profile"
onClick={() => handle_open_edit_modal("personal_profile")}>
{user_info.personal_profile ? (
<Text className="bio_text">{user_info.personal_profile}</Text>
) : is_current_user ? (
<View
className="personal_profile_edit"
onClick={() => handle_open_edit_modal("personal_profile")}
>
<Image
className="edit_icon"
@@ -767,9 +767,8 @@ export const GameTabs: React.FC<GameTabsProps> = ({
<Text className="tab_text">{hosted_text}</Text>
</View>
<View
className={`tab_item ${
active_tab === "participated" ? "active" : ""
}`}
className={`tab_item ${active_tab === "participated" ? "active" : ""
}`}
onClick={() => on_tab_change("participated")}
>
<Text className="tab_text">{participated_text}</Text>

View File

@@ -226,3 +226,7 @@ $nut-primary-color-end: #000000 !important;
background: #000000 !important;
border: 1px solid #000000 !important;
}
.nut-popup-bottom.nut-popup-round {
border-radius: 0 !important;
}

View File

@@ -1,4 +1,4 @@
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M2.33337 14H14.3334" stroke="black" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M3.66663 8.90663V11.3333H6.10569L13 4.43603L10.565 2L3.66663 8.90663Z" stroke="black" stroke-width="1.33333" stroke-linejoin="round"/>
<path d="M2.33337 14H14.3334" stroke="rgba(0, 0, 0, 0.65)" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M3.66663 8.90663V11.3333H6.10569L13 4.43603L10.565 2L3.66663 8.90663Z" stroke="rgba(0, 0, 0, 0.65)" stroke-width="1.33333" stroke-linejoin="round"/>
</svg>

Before

Width:  |  Height:  |  Size: 364 B

After

Width:  |  Height:  |  Size: 392 B

View File

@@ -110,7 +110,7 @@
bottom: 0;
left: 0;
width: 100vw;
background-color: #ffffff;
background-color: #fafafa;
padding: 20px 0;
}
}

View File

@@ -3,7 +3,7 @@
.wallet_page {
height: 100vh;
overflow-y: auto;
background-color: #f5f5f5;
background-color: #fafafa;
padding-bottom: 5px;
box-sizing: border-box;