From 9562f27691608bd167cc8501fd1ebf09073a5a66 Mon Sep 17 00:00:00 2001 From: ddcat1115 Date: Thu, 12 Oct 2017 11:10:47 +0800 Subject: [PATCH] update Exception style --- src/components/Exception/index.less | 9 +++++---- src/components/Exception/typeConfig.js | 12 ++++++------ 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/src/components/Exception/index.less b/src/components/Exception/index.less index 6f1fefd2..9ee40006 100644 --- a/src/components/Exception/index.less +++ b/src/components/Exception/index.less @@ -25,10 +25,11 @@ flex: auto; h1 { - color: @text-color; - font-size: 68px; - line-height: 68px; - margin-bottom: 16px; + color: #434e59; + font-size: 72px; + font-weight: 600; + line-height: 72px; + margin-bottom: 24px; } .desc { diff --git a/src/components/Exception/typeConfig.js b/src/components/Exception/typeConfig.js index 3718d819..b6e1ee5a 100644 --- a/src/components/Exception/typeConfig.js +++ b/src/components/Exception/typeConfig.js @@ -1,18 +1,18 @@ const config = { 403: { - img: 'https://gw.alipayobjects.com/zos/rmsportal/eKcaKpQhaYgsEzCnYKSV.svg', + img: 'https://gw.alipayobjects.com/zos/rmsportal/wZcnGqRDyhPOEYFcZDnb.svg', title: '403', - desc: '对不起,你没有权限', + desc: '抱歉,你无权访问该页面', }, 404: { - img: 'https://gw.alipayobjects.com/zos/rmsportal/CSBcmGONHHPYIrPukBQW.svg', + img: 'https://gw.alipayobjects.com/zos/rmsportal/KpnpchXsobRgLElEozzI.svg', title: '404', - desc: '你要找的页面不存在', + desc: '抱歉,你访问的页面不存在', }, 500: { - img: 'https://gw.alipayobjects.com/zos/rmsportal/BxwCjbIDiNOcmoEGMXfk.svg', + img: 'https://gw.alipayobjects.com/zos/rmsportal/RVRUAYdCGeYNBWoKiIwB.svg', title: '500', - desc: '服务器错误,我们正在维修', + desc: '抱歉,服务器出错了', }, }; -- GitLab