You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
zhishifufei_php/application/admin/view/public/error.php

51 lines
2.3 KiB

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport"content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
<meta name="browsermode" content="application"/>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<!-- 禁止百度转码 -->
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!-- uc强制竖屏 -->
<meta name="screen-orientation" content="portrait">
<!-- QQ强制竖屏 -->
<meta name="x5-orientation" content="portrait">
<link rel="stylesheet" type="text/css" href="{__MODULE_PATH}error/css/reset-2.0.css" />
<link rel="stylesheet" type="text/css" href="{__MODULE_PATH}error/css/style.css" />
<script src="{__FRAME_PATH}js/jquery.min.js"></script>
</head>
<body>
<div class="link-wrapper">
<div class="failure">
<img src="{__MODULE_PATH}error/images/failure-icon.png" />
<div class="text">
<p class="status">{$msg}</p>
<p class="failure-btn">
<a class="refresh" href="javascript:location.reload();">刷新试试</a>
<a class="back" href="javascript:void(0);">返回上一页</a>
</p>
<p class="tips">天诚科技提示您:您可能输入了错误的网址,或者该网页已删除或移动,<span class="nmb">3</span>秒钟后自动跳转</p>
</div>
</div>
</div>
<script>
$(document).ready(function(){
var url = "{$url}";
if(!url) url = document.referrer;
var nmb = $('.nmb').html();
var iCount = setInterval(function (e) {
$('.nmb').html(--nmb);
if(nmb < 1){
clearInterval(iCount);
if(url) location.replace(url);
}
}, 1000);
$('.back').on('click',function(){
if(url) location.replace(url);
});
});
</script>
</body>
</html>