87 lines
3.1 KiB
HTML
87 lines
3.1 KiB
HTML
<!DOCTYPE html>
|
||
<html>
|
||
|
||
<head>
|
||
<meta charset="utf-8" />
|
||
<meta name="viewport"
|
||
content="width=device-width,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0" />
|
||
<title>宁波房屋征收</title>
|
||
<script>
|
||
function getQueryString(name) {
|
||
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
|
||
var r = window.location.search.substr(1).match(reg);
|
||
if (r != null) return unescape(r[2]); return null;
|
||
}
|
||
console.log('1201-当前页面路径:' + location.href)
|
||
var sp = getQueryString('sp');
|
||
var ticket = getQueryString('ticket');
|
||
if (sp)
|
||
location.href = (sp + '&ticket=' + ticket)
|
||
//debugger
|
||
console.log('1201-url中ticket:' + ticket)
|
||
if (ticket)
|
||
window.sessionStorage.setItem('ticket', ticket)
|
||
else {
|
||
if (!window.sessionStorage.getItem('ticket')) {
|
||
setTimeout(function () { window.close() }, 10);
|
||
//window.open('https://puser.zjzwfw.gov.cn/sso/mobile.do?action=oauth&scope=1&servicecode=fwzs')
|
||
location.href = ('https://puser.zjzwfw.gov.cn/sso/mobile.do?action=oauth&scope=1&servicecode=fwzs&goto=https://mapi.zjzwfw.gov.cn/web/mgop/gov-open/zj/2001833218/0.9971/index.html?debug=true')
|
||
}
|
||
console.log('有ticket正常进入,' + window.sessionStorage.getItem('ticket'))
|
||
}
|
||
</script>
|
||
<script type="text/javascript" src="https://d.alicdn.com/alilog/mlog/aplus.js?id=202951085"></script>
|
||
<script type="text/javascript" src="//jssdk.yyhj.zjzwfw.gov.cn/jsbridge/v2.0.0/bridge.min.js"></script>
|
||
<!-- 引入ZWJSBridge -->
|
||
<script type="text/javascript" src="//assets.zjzwfw.gov.cn/assets/ZWJSBridge/1.0.1/zwjsbridge.js"></script>
|
||
</head>
|
||
|
||
<body>
|
||
<div id="app"></div>
|
||
<!-- built files will be auto injected -->
|
||
<script>
|
||
(function (w, d, s, q, i) {
|
||
w[q] = w[q] || [];
|
||
var f = d.getElementsByTagName(s)[0];
|
||
var j = d.createElement(s);
|
||
j.async = true;
|
||
j.id = "beacon-aplus";
|
||
j.src = "https://d.alicdn.com/alilog/mlog/aplus.js?id=202951085";
|
||
f.parentNode.insertBefore(j, f);
|
||
})(window, document, "script", "aplus_queue");
|
||
aplus_queue.push({
|
||
action: "aplus.setMetaInfo",
|
||
arguments: ["aplus-rhost-v", "alog.zjzwfw.gov.cn"]
|
||
});
|
||
aplus_queue.push({
|
||
action: "aplus.setMetaInfo",
|
||
arguments: ["aplus-rhost-g", "alog.zjzwfw.gov.cn"]
|
||
});
|
||
// 这个会落到 app_key 字段上
|
||
aplus_queue.push({
|
||
action: "aplus.setMetaInfo",
|
||
arguments: ["appId", "60506758"]
|
||
});
|
||
// 单页应用 或 “单个页面”需异步补充 PV 日志参数还需进行如下埋点:
|
||
aplus_queue.push({
|
||
action: "aplus.setMetaInfo",
|
||
arguments: ["aplus-waiting", "MAN"]
|
||
});
|
||
// 单页应用路由切换后 或 在异步获取到 pv 日志所需的参数后再执行 sendPV:
|
||
aplus_queue.push({
|
||
action: "aplus.sendPV",
|
||
arguments: [
|
||
{
|
||
is_auto: false
|
||
},
|
||
{
|
||
isMini: true,
|
||
miniAppId: "2001833218", //'应用开发管理平台-应用 ID
|
||
miniAppName: "房屋征收"
|
||
}
|
||
]
|
||
});
|
||
</script>
|
||
</body>
|
||
|
||
</html> |