You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
1.8 KiB
Plaintext

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="UTF-8" />
<title>页面接口...</title>
<script type="text/javascript" src="./Scripts/bootstrap/js/jquery.min.js"></script>
<script type="text/javascript" src="./Scripts/bootstrap/js/bootstrap.min.js"></script>
<script src="./Scripts/QueryString.js" type="text/javascript"></script>
<script src="./Scripts/config.js" type="text/javascript"></script>
<script src="./Comm/Gener.js" type="text/javascript"></script>
<base target="_self" />
<script language="javascript" type="text/javascript">
//页面启动函数.
$(function () {
debugger;
$("#Msg").html("<img src=./Img/loading.gif />&nbsp;正在加载,请稍后......");
var handler = new HttpHandler("BP.WF.HttpHandler.WF");
handler.AddUrlData();
var data = handler.DoMethodReturnString("Port_Init");
if (data.indexOf('err@') == 0) {
alert(data);
return;
}
var token = GetQueryString("Token");
localStorage.setItem('Token', token);
if (data.indexOf('url@') == 0) {
console.log(data);
var url = data.replace('url@', '');
// var token = GetQueryStringByUrl(url, "Token");
//if (IsMobile() == true)
// url = "/CCMobile/" + url;
SetHref(url);
return;
}
alert(data);
$("#Msg").html("");
});
</script>
</head>
<body>
<form id="cc">
<div id="Msg"></div>
</form>
</body>
</html>