<!DOCTYPE HTML>
|
<!--[if lt IE 9]>
|
<p class="chromeframe" onclick="this.style.display='none'">您正在使用<strong>老版本浏览器</strong>,请<a href="http://browsehappy.com/">升级到新版本浏览器</a>或者<a href="http://www.mychrome.cn/desktop/">下载谷歌浏览器</a>,以便页面能正确显示并提升您的浏览体验!360浏览器请切换至<span>极速模式 </span><a title="关闭">×</a></p>
|
<![endif]-->
|
<html>
|
|
<head>
|
<meta charset="utf-8">
|
<meta name="renderer" content="webkit" />
|
<meta http-equiv="X-UA-Compatible" content="chrome=1,IE=edge">
|
<title>云尚行</title>
|
<meta name="description" content="">
|
<meta name="viewport" content="width=device-width">
|
<link rel="icon" href="/favicon.ico?v=20170711">
|
<link rel="stylesheet" href="css/all.css" />
|
<style>
|
.cover {
|
position: absolute;
|
top: 0;
|
right: 0;
|
bottom: 0;
|
left: 0;
|
background: url(./img/bg-origin.jpg) center 0 no-repeat;
|
background-size: auto 78.125%;
|
}
|
.logo {
|
position: absolute;
|
top: 0;
|
left: 0;
|
right: 0;
|
bottom: 0;
|
background: url(./img/logo-origin.jpg) 0 0 no-repeat;
|
background-size: auto 9.375%;
|
}
|
.container {
|
position: absolute;
|
top: 78.125%;
|
left: 0;
|
width: 100%;
|
text-align: center;
|
line-height: 58px;
|
}
|
.djs {
|
color: #8a9499;
|
font-size: 24px;
|
}
|
.now {
|
font-size: 24px;
|
color: #2e3133;
|
}
|
#sec {
|
color: #ea4547;
|
padding: 0 5px;
|
}
|
.now > a {
|
color: #23b8f6;
|
text-decoration: underline!important;
|
}
|
</style>
|
</head>
|
<body>
|
<div class="cover"></div>
|
<div class="logo"></div>
|
<div class="container">
|
<p class="djs"><span id="sec">5</span>秒后自动跳转</p>
|
<p class="now">立刻前往: <a id="link_a" href="#">travel.sunscloud.com</a></p>
|
</div>
|
<script>
|
function getQueryString(name) { //获取url参数的值
|
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
|
var r = window.location.search.substr(1).match(reg);
|
if (r != null) return unescape(r[2]); return null;
|
}
|
var token = getQueryString("token");
|
var csc_compid = getQueryString("csc_compid");
|
var csc_comp_code = getQueryString("csc_comp_code");
|
var tenantId = getQueryString("tenantId");
|
var companyRowId = getQueryString("companyRowId");
|
var newUrl = "https://travel.sunscloud.com/?token="+token+"&csc_compid="+csc_compid+"&csc_comp_code="+csc_comp_code+"&tenantId="+tenantId+"&companyRowId="+companyRowId+"&origin_change=1";
|
document.getElementById('link_a').href = newUrl;
|
var sec = 5;
|
var timer = setInterval(function () {
|
sec -= 1;
|
if (sec <= 0) {
|
location.href = newUrl;
|
clearInterval(timer);
|
}
|
document.getElementById('sec').innerHTML = sec;
|
}, 1000);
|
</script>
|
</body>
|
</html>
|