Let's use AI to Earn!
TypeScript auto-publishdouyindouyin-apielectron-appelectron-reactkuaishoukwaipublishedshipinhaotoolxiaohongshu
收入100呗
bulaienaofutuojiesenzhangd3f0902bbd86
diff --git a/src/app/[lng]/income/page.tsx b/src/app/[lng]/income/page.tsxindex a79b5d8b..778ec295 100644--- a/src/app/[lng]/income/page.tsx+++ b/src/app/[lng]/income/page.tsx@@ -285,7 +285,7 @@ export default function IncomePage() {</div><div className={styles.balanceInfo}><div className={styles.balanceLabel}>{t('currentBalance')}</div>- <div className={styles.balanceAmount}>CNY {userInfo?.income || 0}</div>+ <div className={styles.balanceAmount}>CNY {(userInfo?.income as number / 100 || 0).toFixed(2)}</div></div></div><span@@ -308,7 +308,7 @@ export default function IncomePage() {<TabPanetab={<span>- <DollarOutlined />+ <DollarOutlined /> {t('incomeRecords')}</span>}@@ -343,7 +343,7 @@ export default function IncomePage() {<TabPanetab={<span>- <HistoryOutlined />+ <HistoryOutlined /> {t('withdrawRecords')}</span>}diff --git a/src/app/[lng]/profile/page.tsx b/src/app/[lng]/profile/page.tsxindex a4d2fe11..d4a7caea 100644--- a/src/app/[lng]/profile/page.tsx+++ b/src/app/[lng]/profile/page.tsx@@ -558,13 +558,13 @@ export default function ProfilePage() {<div className={styles.statsHeader}><Image src={plusvip} alt="VIP" className={styles.vipBadge} /><span className={styles.statsTitle}>{t('stats.totalEarned' as any)}</span>- <span className={styles.statsAmount}>{((userInfo as any)?.totalIncome ?? 0).toFixed(2)}</span>+ <span className={styles.statsAmount}>{((userInfo as any)?.totalIncome as number / 100 || 0).toFixed(2)}</span><span className={styles.statsCurrency}>{t('stats.currencyYuan' as any)}</span></div><div className={styles.statsGrid}><div className={styles.statsItem} onClick={() => router.push('/income')} >- <div className={styles.statsLabel}>{t('stats.balance' as any)} <span className={styles.statsValue}> {(userInfo?.income || 0).toFixed(2)} </span> CNY</div>+ <div className={styles.statsLabel}>{t('stats.balance' as any)} <span className={styles.statsValue}> {( userInfo?.income as number / 100 || 0).toFixed(2)} </span> CNY</div></div><div className={styles.statsItem} style={{ cursor: 'pointer' }} onClick={() => setPointsDetailVisible(true)}>diff --git a/src/app/[lng]/wallet/page.tsx b/src/app/[lng]/wallet/page.tsxindex d0fb4ff6..cb01fd07 100644--- a/src/app/[lng]/wallet/page.tsx+++ b/src/app/[lng]/wallet/page.tsx@@ -84,7 +84,7 @@ export default function WalletPage() {width: 120,fixed: 'right' as any,render: (_: any, record: UserWalletAccount) => (- <div style={{ display: 'flex', flexDirection: 'column', gap: '4px' }}>+ <div style={{ display: 'flex', flexDirection: 'row', gap: '4px' }}><Buttonsize="small"type="link"