From 47cfd4ea6940836c53933917fe09c5c9f828fac2 Mon Sep 17 00:00:00 2001 From: Luk Lu Date: Fri, 27 Sep 2019 20:51:07 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A9=E5=85=B3=E4=BA=8E=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E7=9A=84=E4=BA=8C=E7=BB=B4=E7=A0=81=E4=B8=8B=E7=9A=84=E6=96=87?= =?UTF-8?q?=E5=AD=97=E8=83=BD=E5=A4=9F=E7=82=B9=E5=87=BB=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config.ts | 3 ++- src/pages/about/index.tsx | 19 +++++++++++-------- 2 files changed, 13 insertions(+), 9 deletions(-) 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;