diff --git a/src/assets/a_web.png b/src/assets/a_web.png index 5a80e05..3f08b43 100644 Binary files a/src/assets/a_web.png and b/src/assets/a_web.png differ diff --git a/src/locales/zh-CN.ts b/src/locales/zh-CN.ts index ff0776c..5aa4a24 100644 --- a/src/locales/zh-CN.ts +++ b/src/locales/zh-CN.ts @@ -67,7 +67,7 @@ export default { 'home.mine.status2': '已耗尽能源', 'home.mine.none': '还没有收益,快去获取矿晶吧', - 'home.fund.total': '总资金', + 'home.fund.total': '资金金额', 'home.fund.totalVIC': '当前VIC余额:', 'home.fund.totalUSDT': '当前USDT余额:', 'home.fund.draw': '提币', diff --git a/src/pages/about/style.less b/src/pages/about/style.less index 560c58f..5359c8c 100644 --- a/src/pages/about/style.less +++ b/src/pages/about/style.less @@ -69,6 +69,8 @@ .icon-icon { width: 64px; + border-radius: 3px; + overflow: hidden; } } } diff --git a/src/pages/home/fund/index.tsx b/src/pages/home/fund/index.tsx index 73bd83b..887d8e1 100644 --- a/src/pages/home/fund/index.tsx +++ b/src/pages/home/fund/index.tsx @@ -43,23 +43,16 @@ const FundPage: React.FC = ({
{formatMessage({ id: 'home.fund.total' })} - {info ? (info.sum || 0) : 0} - VIC + + {info ? (info.vic || 0) : 0} VIC + + + {info ? (info.usdt || 0) : 0} USDT +
-
- - {formatMessage({ id: 'home.fund.totalVIC' })} - +{info ? (info.vic || 0) : 0} VIC - - - {formatMessage({ id: 'home.fund.totalUSDT' })} - +{info ? (info.usdt || 0) : 0} USDT - -
-
dispatch({ type: 'homeFund/gotoDraw' })} > {loadingDraw ? : formatMessage({ id: 'home.fund.draw' })} diff --git a/src/pages/home/fund/style.less b/src/pages/home/fund/style.less index 4fe7631..1219876 100644 --- a/src/pages/home/fund/style.less +++ b/src/pages/home/fund/style.less @@ -43,7 +43,10 @@ } .content { - margin: 10px 0 24px; + margin: 10px 15% 24px; + align-self: stretch; + display: flex; + justify-content: space-between; } .content .large { @@ -86,7 +89,7 @@ .app-btn { user-select: none; white-space: nowrap; - width: 80px; + width: 100%; text-align: center; background-color: @blue-one; @btn-height: 28px;