Browse Source

修改文字

main
mac 2 weeks ago
parent
commit
257ca629b2
  1. 2
      src/language/zh.json
  2. 2
      src/pages/home/index.tsx

2
src/language/zh.json

@ -44,7 +44,7 @@
"Bonus details": "奖金明细", "Bonus details": "奖金明细",
"Hello": "您好", "Hello": "您好",
"Log out": "退出登录", "Log out": "退出登录",
"Total revenue": "总收益",
"Weekly income": "周收益",
"My earnings trend": "我的收益走势", "My earnings trend": "我的收益走势",
"Profit": "收益", "Profit": "收益",
"Account": "账户", "Account": "账户",

2
src/pages/home/index.tsx

@ -52,7 +52,7 @@ const Home = () => {
</div> </div>
<div className="total-income row-center"> <div className="total-income row-center">
<div> <div>
<div className='tac fz-22 mb-1'>{t('Total revenue')}</div>
<div className='tac fz-22 mb-1'>{t('Weekly income')}</div>
<Progress type="circle" percent={50} size={150} strokeColor="#f7b93f" format={() => `$${userInfo.total_income || 0}`} /> <Progress type="circle" percent={50} size={150} strokeColor="#f7b93f" format={() => `$${userInfo.total_income || 0}`} />
</div> </div>
</div> </div>

Loading…
Cancel
Save