feat: 校园旧版,东区缴费初始化
This commit is contained in:
@@ -0,0 +1,88 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="referrer" content="no-referrer" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
|
||||
<link rel="icon" href="<%= BASE_URL %>logo.png">
|
||||
<title>缴费</title>
|
||||
<script>
|
||||
function getQueryVariable(variable) {
|
||||
var query = window.location.search.substring(1);
|
||||
var vars = query.split("&");
|
||||
for (var i = 0; i < vars.length; i++) {
|
||||
var pair = vars[i].split("=");
|
||||
if (pair[0] == variable) {
|
||||
return pair[1];
|
||||
}
|
||||
}
|
||||
return (false);
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<script src="js/jquery.min.js"></script>
|
||||
<script src="./js/initCommon.js"></script>
|
||||
<noscript>
|
||||
<strong>We're sorry but defaultvue doesn't work properly without JavaScript enabled. Please enable it to
|
||||
continue.</strong>
|
||||
</noscript>
|
||||
<div id="app"></div>
|
||||
<script>
|
||||
/**
|
||||
* Created by lovo_bdk on 15-12-17.
|
||||
*/
|
||||
!(function (win, doc) {
|
||||
function setFontSize() {
|
||||
// 获取window 宽度
|
||||
// zepto实现 $(window).width()就是这么干的
|
||||
var winWidth = window.innerWidth || window.screen.availWidth || document.body.clientWidth || 540;
|
||||
if (winWidth > 750) {
|
||||
winWidth = 750
|
||||
} else if (winWidth == 980) {
|
||||
winWidth = 375
|
||||
}
|
||||
doc.documentElement.style.fontSize = (winWidth / 750) * 100 + 'px';
|
||||
}
|
||||
|
||||
var evt = 'onorientationchange' in win ? 'orientationchange' : 'resize';
|
||||
|
||||
var timer = null;
|
||||
|
||||
win.addEventListener(evt, function () {
|
||||
clearTimeout(timer);
|
||||
|
||||
timer = setTimeout(setFontSize, 300);
|
||||
}, false);
|
||||
|
||||
win.addEventListener("pageshow", function (e) {
|
||||
if (e.persisted) {
|
||||
clearTimeout(timer);
|
||||
|
||||
timer = setTimeout(setFontSize, 300);
|
||||
}
|
||||
}, false);
|
||||
|
||||
//初始化
|
||||
setFontSize();
|
||||
|
||||
}(window, document));
|
||||
|
||||
// function setRootFontSize(){var t,e,o=750,i=0;o&&(t=document.documentElement.clientWidth/o),i&&(e=document.documentElement.clientHeight/i);var d=1.5;if(t||e){var m=Math.min(t||d,e||d);d<m&&(m=d),document.getElementsByTagName("html")[0].style.fontSize=100*m+"px"}}window.addEventListener("resize",setRootFontSize),setRootFontSize()
|
||||
</script>
|
||||
<!--<script src="https://cdn.bootcdn.net/ajax/libs/vConsole/3.4.1/vconsole.min.js"></script>-->
|
||||
<script src="https://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
|
||||
<script>
|
||||
// 关闭下拉刷新
|
||||
$.initCloseUpdate()
|
||||
|
||||
// $.initGetAppBasicInfo(fun)
|
||||
|
||||
function returnCurrentUrl() {
|
||||
console.log("进入ios登录回调")
|
||||
}
|
||||
</script>
|
||||
<!-- built files will be auto injected -->
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user