Quellcode durchsuchen

update Exception style

ddcat1115 vor 8 Jahren
Ursprung
Commit
9562f27691
2 geänderte Dateien mit 11 neuen und 10 gelöschten Zeilen
  1. 5 4
      src/components/Exception/index.less
  2. 6 6
      src/components/Exception/typeConfig.js

+ 5 - 4
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 {

+ 6 - 6
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: '抱歉,服务器出错了',
   },
 };