109 lines
2.9 KiB
PHP
109 lines
2.9 KiB
PHP
![]() |
<?php
|
||
|
use yii\helpers\Html;
|
||
|
$this->context->layout = false; //不加载公共样式
|
||
|
?>
|
||
|
<?
|
||
|
@header("http/1.1 404 not found");
|
||
|
@header("status: 404 not found");
|
||
|
?>
|
||
|
|
||
|
|
||
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
|
||
|
<head>
|
||
|
|
||
|
<meta charset="UTF-8">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||
|
<title>403……</title>
|
||
|
<link rel="stylesheet" type="text/css" href="<?=Yii::$app->request->baseUrl?>/web/static/css/globle.css"/>
|
||
|
<script src="<?=Yii::$app->request->baseUrl?>/web/static/js/config.js" type="text/javascript" charset="utf-8"></script>
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
|
||
|
<style>
|
||
|
html,body{
|
||
|
height: 100%
|
||
|
}
|
||
|
#error,.errorbox{
|
||
|
height: 100%
|
||
|
}
|
||
|
.imgbox4{
|
||
|
padding-right: 200px;
|
||
|
}
|
||
|
.img4{
|
||
|
width: 430px;
|
||
|
height: 560px;
|
||
|
}
|
||
|
.title4{
|
||
|
margin-bottom: 24px;
|
||
|
color: #515a6e;
|
||
|
font-weight: 600;
|
||
|
font-size: 72px;
|
||
|
line-height: 72px;
|
||
|
}
|
||
|
.text4{
|
||
|
padding-right: 500px;
|
||
|
}
|
||
|
.tistext{
|
||
|
margin-bottom: 16px;
|
||
|
color: #808695;
|
||
|
font-size: 20px;
|
||
|
line-height: 28px;
|
||
|
}
|
||
|
a {
|
||
|
color: #fff;
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
a:hover {
|
||
|
color: #fff;
|
||
|
}
|
||
|
</style>
|
||
|
<div id="error">
|
||
|
<div class="ba_f errorbox">
|
||
|
<div class="flex-bet">
|
||
|
<div class="flex-grow-1 flex-x-end imgbox4">
|
||
|
<img src="<?=Yii::$app->request->baseUrl?>/web/static/images/index/403.svg" class="img4">
|
||
|
</div>
|
||
|
<div class="flex-grow-0 text4">
|
||
|
<div>
|
||
|
<h1 class="title4">403</h1>
|
||
|
</div>
|
||
|
<div class="tistext">抱歉,你无权访问该页面</div>
|
||
|
<div>
|
||
|
<el-button type="primary"><a href="/admin/index/index">返回首页</a></el-button>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<script src="<?=Yii::$app->request->baseUrl?>/web/static/js/lib/vue.js" type='text/javascript' charset='utf-8'></script>
|
||
|
<script src="<?=Yii::$app->request->baseUrl?>/web/static/js/lib/index.js" type='text/javascript' charset='utf-8'></script>
|
||
|
<script src="<?=Yii::$app->request->baseUrl?>/web/static/js/commont/axios.js" type='text/javascript' charset='utf-8'></script>
|
||
|
<script src="<?=Yii::$app->request->baseUrl?>/web/static/js/commont/jq.js" type='text/javascript' charset='utf-8'></script>
|
||
|
<script>
|
||
|
new Vue({
|
||
|
el: '#error',
|
||
|
created() {
|
||
|
_this = this;
|
||
|
},
|
||
|
data: function () {
|
||
|
return {
|
||
|
cardLoading:false,
|
||
|
activeName:"",
|
||
|
|
||
|
}
|
||
|
},
|
||
|
methods: {
|
||
|
|
||
|
}
|
||
|
})
|
||
|
|
||
|
</script>
|
||
|
</body>
|
||
|
|
||
|
</html>
|
||
|
<?
|
||
|
exit();
|
||
|
?>
|