Former-commit-id: e1c3443a30c1372cf553392d05a65107f67b3b32
TangShanKaiPing
wanggang 5 years ago
commit 119ccc4057

@ -0,0 +1,41 @@
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta HTTP-EQUIV="pragma" CONTENT="no-cache">
<meta HTTP-EQUIV="Cache-Control" CONTENT="no-store, must-revalidate">
<meta HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 01:01:01 GMT">
<meta HTTP-EQUIV="expires" CONTENT="0">
<title>载入中...</title>
<style>
html{
height:100%;
}
body{
height:100%;
}
.Center-Container {
background-color: #07c160;
position: relative;
}
.Absolute-Center {
width: 20%;
height: 50%;
overflow: auto;
margin: auto;
position: absolute;
top: 0; left: 0; bottom: 0; right: 0;
}
</style>
</head>
<body class="Center-Container">
<img src="loading.svg?v=202004211141" class="Absolute-Center" />
</body>
<script>
var secScript = document.createElement("script");
secScript.setAttribute("type", "text/javascript");
secScript.setAttribute("src", 'redirect.js?v=' + new Date().toLocaleTimeString());
document.body.insertBefore(secScript, document.body.lastChild);
</script>
</html>

@ -0,0 +1,17 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="48px" height="60px" viewBox="0 0 24 30" style="enable-background:new 0 0 50 50" xml:space="preserve">
<rect x="0" y="7.6416" width="4" height="14.7168" fill="#ffffff" opacity="0.2">
<animate attributeName="opacity" attributeType="XML" values="0.2; 1; .2" begin="0s" dur="0.6s" repeatCount="indefinite"></animate>
<animate attributeName="height" attributeType="XML" values="10; 20; 10" begin="0s" dur="0.6s" repeatCount="indefinite"></animate>
<animate attributeName="y" attributeType="XML" values="10; 5; 10" begin="0s" dur="0.6s" repeatCount="indefinite"></animate>
</rect>
<rect x="8" y="5.1416" width="4" height="19.7168" fill="#ffffff" opacity="0.2">
<animate attributeName="opacity" attributeType="XML" values="0.2; 1; .2" begin="0.15s" dur="0.6s" repeatCount="indefinite"></animate>
<animate attributeName="height" attributeType="XML" values="10; 20; 10" begin="0.15s" dur="0.6s" repeatCount="indefinite"></animate>
<animate attributeName="y" attributeType="XML" values="10; 5; 10" begin="0.15s" dur="0.6s" repeatCount="indefinite"></animate>
</rect>
<rect x="16" y="7.3584" width="4" height="15.2832" fill="#ffffff" opacity="0.2">
<animate attributeName="opacity" attributeType="XML" values="0.2; 1; .2" begin="0.3s" dur="0.6s" repeatCount="indefinite"></animate>
<animate attributeName="height" attributeType="XML" values="10; 20; 10" begin="0.3s" dur="0.6s" repeatCount="indefinite"></animate>
<animate attributeName="y" attributeType="XML" values="10; 5; 10" begin="0.3s" dur="0.6s" repeatCount="indefinite"></animate>
</rect>
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

@ -0,0 +1,29 @@
/**
* [通过参数名获取url中的参数值]
* 示例URL:http://iot.edusoa.com/IoTCenter/index.html?organ=测试学校
* @param {[string]} queryName [参数名]
* @return {[string]} [参数值]
*/
function GetQueryValue(queryName) {
var reg = new RegExp("(^|&)" + queryName + "=([^&]*)(&|$)", "i");
var r = window.location.search.substr(1).match(reg);
if ( r != null ){
return decodeURI(r[2]);
}else{
return null;
}
}
var url = '';
var school = GetQueryValue('organ').replace(/\'/g, '');
switch(school) {
case '东师理想':
url = 'http://iot.edusoa.com'
break;
case '唐山市税东中学':
url = 'http://tsssdzx.iot.edusoa.com'
break;
default:
url = 'http://iot.edusoa.com'
}
window.location.href = url;
Loading…
Cancel
Save