init
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title></title>
|
||||
<script src="../js/jquery-1.11.3.js"></script>
|
||||
<style type="text/css">
|
||||
p{
|
||||
text-align: center;
|
||||
margin: 3rem auto;
|
||||
font-size: 30px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>您没有查看权限,请先<a href="http://zhyq.toommi.com">登录</a>......</p>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title></title>
|
||||
</head>
|
||||
<body>
|
||||
</body>
|
||||
<script>
|
||||
let url = location.href.split('?')
|
||||
let pars = url[1].split('&')
|
||||
let data = {}
|
||||
pars.forEach((n, i) => {
|
||||
let p = n.split('=')
|
||||
data[p[0]] = p[1]
|
||||
})
|
||||
if (!!data.app3Redirect) {
|
||||
self.location = decodeURIComponent(data.app3Redirect)
|
||||
}
|
||||
|
||||
</script>
|
||||
</html>
|
||||
File diff suppressed because one or more lines are too long
+22
File diff suppressed because one or more lines are too long
@@ -0,0 +1,27 @@
|
||||
|
||||
const config = {
|
||||
|
||||
userName:'',
|
||||
userPhone:'',
|
||||
usercompany:'',
|
||||
EMPUID:''
|
||||
}
|
||||
|
||||
let bindToGlobal=function(obj, key){
|
||||
if (typeof window[key] === 'undefined') {
|
||||
window[key] = {};
|
||||
}
|
||||
|
||||
for (let i in obj) {
|
||||
window[key][i] = obj[i]
|
||||
}
|
||||
|
||||
}
|
||||
bindToGlobal(config,'_const')
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
+10351
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user