diff --git a/src/config.ts b/src/config.ts index 9129cc9..11bbc27 100644 --- a/src/config.ts +++ b/src/config.ts @@ -13,6 +13,7 @@ export default { linkIOS: 'https://vic.yuanjin.net/webapp', linkWeb: 'https://vic.yuanjin.net/webapp', linkTelegram: 'https://t.me/vichome', - linkWechat: 'essilk', + linkWechat: 'https://weixin.qq.com/g/AT997GKdoc9WnieL', linkEmail: 'team-vic@outlook.com', + linkSupport: 'essilk', }; diff --git a/src/pages/about/index.tsx b/src/pages/about/index.tsx index 3e9c166..c8957ee 100644 --- a/src/pages/about/index.tsx +++ b/src/pages/about/index.tsx @@ -35,7 +35,8 @@ const AboutPage: React.FC = () => { data: info, size: 240, }} />} - {info} +
+ {info} ); @@ -96,6 +97,7 @@ const AboutPage: React.FC = () => { )} +
{(config.linkTelegram || config.linkWechat) && (
{formatMessage({ id: 'about.comTitle' })} @@ -118,7 +120,7 @@ const AboutPage: React.FC = () => { className="icon-item" onClick={() => { setInfo(config.linkWechat); - setTitle('Web'); + setTitle('Wechat'); }} >
@@ -128,8 +130,14 @@ const AboutPage: React.FC = () => {
)} +
+
+ {formatMessage({ id: 'about.contact' })} + 邮箱: {config.linkEmail} + 微信号: {config.linkSupport} +
- +
{formatMessage({ id: 'about.copyright' })}
{showInfo} @@ -137,9 +145,4 @@ const AboutPage: React.FC = () => { ); } -//
-// {formatMessage({ id: 'about.contact' })} -// {config.linkEmail} -//
- export default AboutPage;