自动跳转页面

页面在成功完成主机发票分票后,将自动跳转至百度网站。此过程采用JavaScript倒计时实现,确保用户获得流畅体验。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

3秒自动跳转到指定页面

<!DOCTYPE html>
<!-- saved from url=(0045)https://www.dezhong365.com/invest/detail/4664 -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>提示页面</title>
<meta name="author" content="">
<link href="https://www.dezhong365.com/favicon.ico" rel="shortcut icon" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="./提示页面_files/404.css">
<script type="text/javascript">
function countDown(secs,surl){     
    var jumpTo = document.getElementById('jumpTo');
    jumpTo.innerHTML=secs;  
    if(--secs>0){     
        setTimeout("countDown("+secs+",'"+surl+"')",1000);     
     }     
    else{       
        location.href=surl;     
     }     
}     
</script>
<style type="text/css">
body{
        font-family: Microsoft Yahei, sans-serif;
    }
</style>
</head>
<body>
  <div class="w1100 cont">
        <div style="margin:80px;"><img src="./提示页面_files/success.png" width="150" height="150"></div>
        <h2>主机发票分票成功</h2>
        <p>页面将在<span class="second" id="jumpTo">3</span>秒后跳转百度</p>
   </div>
   <script type="text/javascript">countDown(3,'http://www.baidu.com/');</script>
</body>
</html>

404.css

@charset "utf-8";
.cont{
    text-align:center;
    min-height:400px;
    }
.cont h2{
    font-weight:normal;
    }   
.cont p{
    padding-top:20px;
    }   
.cont a{
    color:#F30;
    margin-left:20px;
    }   
.cont p span{
    padding:0 5px;
    }   

图片
这里写图片描述

效果图

这里写图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值