Merge pull request '默认404' (#673) from feature/default_404 into master

Reviewed-on: http://8.136.139.249:3000/wmtx/platform/pulls/673
master
廖金灵 2 years ago
commit 388081fdc6

@ -21,7 +21,7 @@ class HomeController extends Controller
/* 空操作用于输出404页面 */
public function _empty()
{
$this->redirect('Index/index');
$this->redirect('Index/404');
}
protected function _initialize()

@ -0,0 +1,30 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>404</title>
</head>
<style>
body, html{ height:100%; font: 14px/1.6 "Microsoft YaHei", '微软雅黑', Tahoma, Verdana, Arial, '宋体', sans-serif; margin:0px; padding:0px;}
.content{ background:url(__IMG__/404/bj.png) no-repeat center top; width:100%; height:632px;}
.return{ width:207px; height:60px; background:url(__IMG__/404/return.png) no-repeat center; display:block; margin:0 auto;}
.txtcont{ text-align:center; margin:0 auto;}
.txtcont span{ display:block; width:100%; color:#333; font-size:16px; height: 40px;line-height: 40px; margin: 50px 0px 20px 0px;}
.txtcont p{ color:#656563}
.red{ color:#f00;}
a{ cursor:pointer}
</style>
<body style="background:#b6e5ff;">
<div class="content">
</div>
<div class="txtcont">
<img src="__IMG__/404/words.png" />
<span>检查浏览器中输入的地址是否正确</span>
<a id="href" href="" class="return"></a>
</div>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Loading…
Cancel
Save