正在显示
2 个修改的文件
包含
41 行增加
和
1 行删除
@@ -127,7 +127,7 @@ $configs = [ | @@ -127,7 +127,7 @@ $configs = [ | ||
127 | // 视图输出字符串内容替换 | 127 | // 视图输出字符串内容替换 |
128 | 'view_replace_str' => [], | 128 | 'view_replace_str' => [], |
129 | // 默认跳转页面对应的模板文件 | 129 | // 默认跳转页面对应的模板文件 |
130 | - 'dispatch_success_tmpl' => THINK_PATH . 'tpl' . DS . 'dispatch_jump.tpl', | 130 | + 'dispatch_success_tmpl' => THINK_PATH . 'tpl' . DS . 'dispatch_jump2.tpl', |
131 | 'dispatch_error_tmpl' => THINK_PATH . 'tpl' . DS . 'dispatch_jump.tpl', | 131 | 'dispatch_error_tmpl' => THINK_PATH . 'tpl' . DS . 'dispatch_jump.tpl', |
132 | // +---------------------------------------------------------------------- | 132 | // +---------------------------------------------------------------------- |
133 | // | 异常及错误设置 | 133 | // | 异常及错误设置 |
simplewind/thinkphp/tpl/dispatch_jump2.tpl
0 → 100644
1 | +{__NOLAYOUT__}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
2 | +<html xmlns="http://www.w3.org/1999/xhtml"> | ||
3 | +<head> | ||
4 | + <title>跳转提示</title> | ||
5 | + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
6 | + <meta name="HandheldFriendly" content="true" /> | ||
7 | + <meta name="MobileOptimized" content="320" /> | ||
8 | + <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> | ||
9 | + <link rel="stylesheet" type="text/css" href="/plugins/yim_e404/css/dandelion.css" media="screen" /> | ||
10 | +</head> | ||
11 | +<body> | ||
12 | +<div id="da-wrapper" class="fluid"> | ||
13 | + <!-- Content --> | ||
14 | + <div id="da-content"> | ||
15 | + <!-- Container --> | ||
16 | + <div class="da-container clearfix"> | ||
17 | + <div id="da-error-wrapper"> | ||
18 | + <div id="da-error-pin"></div> | ||
19 | + <div id="da-error-code">success <span></span></div> | ||
20 | + <h1 class="da-error-heading"><?php echo(strip_tags($msg));?></h1> | ||
21 | + <p>页面自动: <a id="href" href="<?php echo($url);?>">跳转</a> 等待时间: <b id="wait"><?php echo($wait);?></b> | ||
22 | + </div> | ||
23 | + </div> | ||
24 | + </div> | ||
25 | +</div> | ||
26 | +<script type="text/javascript"> | ||
27 | + (function(){ | ||
28 | + var wait = document.getElementById('wait'), | ||
29 | + href = document.getElementById('href').href; | ||
30 | + var interval = setInterval(function(){ | ||
31 | + var time = --wait.innerHTML; | ||
32 | + if(time <= 0) { | ||
33 | + location.href = href; | ||
34 | + clearInterval(interval); | ||
35 | + }; | ||
36 | + }, 1000); | ||
37 | + })(); | ||
38 | +</script> | ||
39 | +</body> | ||
40 | +</html> |
-
请 注册 或 登录 后发表评论