zm
2020-04-12 0d659cff38f50d83e782a9f8c5c20fb54a5c0321
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<!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="关闭">&times;</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">立刻前往:&nbsp;<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>