mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-03-04 00:24:29 +08:00
初始化项目
This commit is contained in:
24
view/common/tpl/error.html
Normal file
24
view/common/tpl/error.html
Normal file
@@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>{$msg}</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>{$msg}</h1>
|
||||
<h2> <span id="counting">3</span>秒后跳转 <a href="{$jump_to_url|raw}">立即跳转</a></h2>
|
||||
<script>
|
||||
var counting = 3;
|
||||
setInterval(() => {
|
||||
if(counting == 1){
|
||||
location.href = '{$jump_to_url|raw}';
|
||||
}
|
||||
counting--
|
||||
document.getElementById('counting').innerHTML = counting
|
||||
}, 1000);
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
23
view/common/tpl/success.html
Normal file
23
view/common/tpl/success.html
Normal file
@@ -0,0 +1,23 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>{$msg}</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>{$msg}</h1>
|
||||
<h2> <span id="counting">3</span>秒后跳转 <a href="{$jump_to_url|raw}">立即跳转</a></h2>
|
||||
<script>
|
||||
var counting = 3;
|
||||
setInterval(() => {
|
||||
if(counting == 1){
|
||||
location.href = '{$jump_to_url|raw}';
|
||||
}
|
||||
counting--
|
||||
document.getElementById('counting').innerHTML = counting
|
||||
}, 1000);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user