diff --git a/src/forge/Images/taskbar.png b/src/forge/Images/taskbar.png new file mode 100644 index 00000000..91ceec7f Binary files /dev/null and b/src/forge/Images/taskbar.png differ diff --git a/src/forge/css/index.scss b/src/forge/css/index.scss index a19619d7..579508f0 100644 --- a/src/forge/css/index.scss +++ b/src/forge/css/index.scss @@ -4,6 +4,13 @@ ul,ol,dl{ .newMain{ background-color: #fff; } +.newTable{ + background-color: #F0F5FF; + .newImages{ + background-image: url('../../forge/Images/taskbar.png'); + height: 364px; + } +} .color-black{ color: #333; } diff --git a/src/modules/403/Shixunauthority.js b/src/modules/403/Shixunauthority.js index a16ef32a..50f5d3f4 100644 --- a/src/modules/403/Shixunauthority.js +++ b/src/modules/403/Shixunauthority.js @@ -11,19 +11,25 @@ import { TPMIndexHOC } from '../tpm/TPMIndexHOC'; import { SnackbarHOC,getImageUrl } from 'educoder'; class Shixunauthority extends Component { + componentWillUnmount(){ + if (!user.isLogin()) { + this.props.history.push('/login', null); + } + } render() { return ( -
-
+
+
{/*mt100 mb100*/} -

- 您可以稍后尝试  +

您尚未被授权访问此页面,请先获取相关权限

+ 您可尝试登录返回首页 - ,或者  + ,也可以通过 QQ反馈>> + href="https://qm.qq.com/cgi-bin/qm/qr?k=YVGUhY7uK8ovpyd7tG_lHe2qGZ63LOij&jump_from=webapi" + className="color-blue">QQ向我们反馈

{/*
*/} diff --git a/src/modules/404/Shixunnopage.js b/src/modules/404/Shixunnopage.js index af1ad958..fa109e57 100644 --- a/src/modules/404/Shixunnopage.js +++ b/src/modules/404/Shixunnopage.js @@ -13,17 +13,18 @@ import { SnackbarHOC,getImageUrl } from 'educoder'; class http500 extends Component { render() { return ( -
+
{/*mt100 mb100*/} -

- 您可以稍后尝试  +

你访问的页面不存在

+ 您可尝试登录返回首页 - ,或者  + ,也可通过 QQ反馈>> + href="https://qm.qq.com/cgi-bin/qm/qr?k=YVGUhY7uK8ovpyd7tG_lHe2qGZ63LOij&jump_from=webapi" + className="color-blue">QQ向我们反馈

{/*
*/} diff --git a/src/modules/500/http500.js b/src/modules/500/http500.js index 89e1baa5..dec04741 100644 --- a/src/modules/500/http500.js +++ b/src/modules/500/http500.js @@ -13,17 +13,18 @@ import { SnackbarHOC,getImageUrl } from 'educoder'; class Shixunnopage extends Component { render() { return ( -
+
{/*mt100 mb100*/} -

- 您可以稍后尝试  +

服务器异常,请稍后重试

+ 您可尝试刷新页面返回首页 - ,或者  + ,也可以通过 QQ反馈>> + href="https://qm.qq.com/cgi-bin/qm/qr?k=YVGUhY7uK8ovpyd7tG_lHe2qGZ63LOij&jump_from=webapi" + className="color-blue">QQ向我们反馈

{/*
*/}