Skip to content

Let's use AI to Earn!

all pages

bulaienaofutuojiesenzhange2b55e50f623
diff --git a/src/app/[lng]/profile/profile.module.css b/src/app/[lng]/profile/profile.module.css
index f0f864d0..57e36296 100644
--- a/src/app/[lng]/profile/profile.module.css
+++ b/src/app/[lng]/profile/profile.module.css
@@ -909,13 +909,12 @@
/* 顶部头部信息卡片 */
.headerCard {
- background: linear-gradient(135deg, #D6E2FC 0%, #D4E0FA 100%);
border-radius: 16px;
- padding: 20px 20px;
+ padding: 20px 0px;
display: flex;
- align-items: center;
+ flex-direction: column;
+ align-items: flex-start;
gap: 16px;
- margin-bottom: 16px;
}
.avatar {
@@ -935,7 +934,10 @@
.nameBlock {
display: flex;
flex-direction: column;
+ justify-content: flex-start;
+ align-items: flex-start;
gap: 4px;
+ margin-top: 5px;
}
.nameRow {
@@ -950,6 +952,7 @@
.vipBadge {
width: 30px;
height: auto;
+ margin-bottom: 10px;
}
.vipBadgeTop {
@@ -1017,10 +1020,10 @@
}
.statsAmount {
- margin-left: 6px;
font-size: 28px;
font-weight: 800;
color: #54687B;
+ margin-bottom: 10px;
}
.statsCurrency {
@@ -1032,11 +1035,9 @@
display: grid;
grid-template-columns: repeat(3, 1fr);
text-align: center;
- background: #D6E2FC;
- margin-top: 12px;
- margin-bottom: 18px;
- border-radius: 10px;
- padding: 8px 0px;
+ margin-top: 16px;
+ padding-top: 12px;
+ padding-bottom: 8px;
}
.logoHesd {
@@ -1055,13 +1056,14 @@
.statsValue {
font-size: 22px;
font-weight: 800;
- color: #4A6777;
+ color: #a66ae4;
}
.statsLabel {
margin-top: 4px;
color: #95887D;
font-size: 12px;
+ text-align: left;
}
.incomeCard::before {
diff --git a/src/app/i18n/locales/zh-CN/profile.json b/src/app/i18n/locales/zh-CN/profile.json
index 21543b95..19ccd12f 100644
--- a/src/app/i18n/locales/zh-CN/profile.json
+++ b/src/app/i18n/locales/zh-CN/profile.json
@@ -153,8 +153,8 @@
"copySuccess": "已复制",
"stats": {
"totalEarned": "累计赚钱",
- "balance": "余额",
- "points": "积分",
+ "balance": "当前余额",
+ "points": "可用积分",
"coupons": "优惠券",
"currencyYuan": "元"
},
diff --git a/src/app/layout/LyaoutHeader.tsx b/src/app/layout/LyaoutHeader.tsx
index f2dafe7c..354d059f 100644
--- a/src/app/layout/LyaoutHeader.tsx
+++ b/src/app/layout/LyaoutHeader.tsx
@@ -193,7 +193,7 @@ const LyaoutHeader = memo(
<SignInCalendar className={styles.signInCalendarButton} />
)}
{/* 未开通 VIP 时显示图标,点击打开 VIP 弹窗 */}
- {userStore.token && !userStore.userInfo?.vipInfo && (
+ {userStore.token && (
<Tooltip title={t("vip" as any) || "VIP"}>
<Button
type="text"
@@ -201,7 +201,7 @@ const LyaoutHeader = memo(
onClick={() => setVipModalVisible(true)}
style={{ position: 'relative' }}
>
- <span style={{
+ {!userStore.userInfo?.vipInfo && <span style={{
position: 'absolute',
top: '-2px',
right: '-11px',
@@ -216,7 +216,7 @@ const LyaoutHeader = memo(
textAlign: 'center'
}}>
HOT
- </span>
+ </span>}
</Button>
</Tooltip>
)}