-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
133 lines (123 loc) · 4.83 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<meta content=yes name=apple-mobile-web-app-capable>
<meta name=viewport
content="width=device-width,height=device-height,inital-scale=1,maximum-scale=1,user-scalable=no">
<meta name=format-detection content="telephone=no">
<meta http-equiv=pragma content=no-cache>
<title>预约结果</title>
<script src=https://bwton-cdn.oss-cn-shanghai.aliyuncs.com/act-img/3601ncp/rem.js></script>
<script>
;(function () {
var src = '//cdn.jsdelivr.net/npm/eruda';
if (!/eruda=true/.test(window.location) && localStorage.getItem('active-eruda') != 'true') return;
document.write('<scr' + 'ipt src="' + src + '"></scr' + 'ipt>');
document.write('<scr' + 'ipt>eruda.init();</scr' + 'ipt>');
})();
function jugUrl() {
var localUrl = window.location.href;
if (localUrl.indexOf("appointment/#") > -1) {
return "appointment";
} else {
return "appointment"
}
}
function getMobileTypeHkx() {
var u = navigator.userAgent;
var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端
var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
if (isAndroid) return "101";
if (isiOS) return "102";
}
// if (dd) {
// dd.biz.navigation.setRight({
// show: false, // 控制按钮显示, true 显示, false 隐藏, 默认true
// control: false, // 是否控制点击事件,true 控制,false 不控制, 默认false
// text: '', // 控制显示文本,空字符串表示显示默认文本
// })
// window.openBwt = true;
// window.openSelect = true;
// window.mobileTypeBwt = getMobileTypeHkx();
// }
const delayTime = (time) => {
return new Promise((resolve) => {
setTimeout(() => {
resolve()
}, time);
})
}
const formatRes = (res) => {
return Object.assign({}, res, {
"msg": "成功",
"isSuc": true,
"errCode": "0000",
info: res.result
})
}
function parseUrlParams(url) {
var params = url ? url.split('?')[1] : '';
if (!params) {
return {};
}
params = params.split('&');
var result = {};
for (var i = 0; i < params.length; i++) {
var param = params[i].split('=');
var key = decodeURIComponent(param[0]);
var value = decodeURIComponent(param[1] || '');
if (result[key]) {
if (Array.isArray(result[key])) {
result[key].push(value);
} else {
result[key] = [result[key], value];
}
} else {
result[key] = value;
}
}
return result;
}
function formatDate(date) {
var year = date.getFullYear();
var month = date.getMonth() + 1;
var day = date.getDate();
if (month < 10) month = '0' + month;
if (day < 10) day = '0' + day;
return `${year}-${month}-${day}`;
}
</script>
<script>
function BWTLoginCallBack() {
console.log("callBack")
window.history.go(0);
window.location.reload();
}
</script>
<link href=./static/css/app.2e6bfe34408fba4194ca550c2bd769dd.css rel=stylesheet>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?9c12815d2407f001cbed45447a638014";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-F2FKWBVJLD"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-F2FKWBVJLD');
</script>
</head>
<body>
<div id=app-box></div>
<script type=text/javascript src=./static/js/manifest.06a1ffbb70a28d4ba8ef.js></script>
<script type=text/javascript src=./static/js/vendor.4a1f448b533bb11cede5.js></script>
<script type=text/javascript src=./static/js/app.ed57ec4f925421679b80.js></script>
</body>
</html>