approval.html
7.24 KB
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="renderer" content="webkit">
<meta http-equiv="Expires" content="0">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache,no-store, must-revalidate">
<link rel="icon" href="./favicon.ico">
<title>FedEx 在线申报工具</title>
<style>
html,
body {
margin: 0px;
padding: 0px;
}
.head {
width: 100%;
height: 64px;
overflow: hidden;
background-color: #4d148c;
}
.head-content {
display: flex;
width: 1000px;
height: 63px;
margin: 0 auto;
justify-content: space-between;
line-height: 63px;
color: #fff;
}
.head-content>img {
width: 5.5rem;
height: 63px;
object-fit: contain
}
.footer {
position: fixed;
width: 100%;
height: 187px;
left: 0px;
bottom: 0px
}
.footer-content {
padding: 30px 120px;
background-color: #f8f8f8;
}
.footer-content-title {
font-weight: 600;
color: #4D148C;
margin-bottom: 10px;
}
.footer-content-link {
display: flex;
font-weight: 400;
color: #333 !important;
justify-content: flex-start;
}
.footer-content-link>a {
margin-right: 60px;
text-decoration: none;
color: #333;
}
.footer-link {
width: 100%;
height: 75px;
background-color: #4D148C;
}
.footer-link-content {
display: flex;
width: 80%;
height: 55px;
line-height: 55px;
margin: 0 auto;
justify-content: space-between;
color: #fff;
font-size: 14px;
}
/* .footer-link-content>div:first-child {
} */
.footer-link-content>div:last-child>a {
margin-right: 30px;
color: #fff !important;
text-decoration: none
}
.footer-link-bottom {
text-align: center;
color: rgba(255, 255, 255, 0.38);
font-size: 0.625rem;
}
.footer-link-bottom>a {
text-decoration: none;
color: rgba(255, 255, 255, 0.38);
margin: 0 10px;
}
.content {
position: relative;
}
.approval {
width: 40%;
text-align: center;
margin: 150px auto;
}
.approval-img {
display: inline-block;
width: 120px;
object-fit: contain;
}
.approval-title {
font-size: 20px;
font-weight: 600;
color: #4D148C;
margin-top: 20px;
}
.approval-tip {
font-size: 14px;
font-weight: 400;
margin-top: 40px;
color: #999
}
</style>
</head>
<body>
<div class="head">
<div class="head-content">
<img src="./otherHtml-img/logo.png" alt="">
<div>FedEx在线申报工具</div>
</div>
</div>
<div class="content">
<div class="approval">
<img class="approval-img" src="./otherHtml-img/unlink.png" alt="">
<div class="approval-title">系统连接异常,请稍后再试!</div>
<div class="approval-tip">该页面将于 <span class="tiem" style="font-weight: 500;color:#666">30s</span> 后关闭</div>
</div>
</div>
<div class="footer">
<div class="footer-content">
<div class="footer-content-title">用户指南</div>
<div class="footer-content-link"><a href="https://declaration.fedex.com.cn/Exp/manager-server/FedEx.pdf"
target="_blank">图文版使用指南</a><a
href="https://declaration.fedex.com.cn/Exp/manager-server/OperationManual_cp.mp4"
target="_blank">视频版使用指南</a><a href="https://www.fedex.com/zh-cn/privacy-policy.html">隐私政策</a></div>
</div>
<div class="footer-link">
<div class="footer-link-content">
<div>FedEx在线申报工具</div>
<div>
<a href="https://www.fedex.com/zh-cn/terms-of-use.html" target="_blank">使用条款</a>
<a href="https://www.fedex.com/content/dam/fedex/apac-asia-pacific/MVP-APAC/images/2019/Q3/CN_EN_2019_1_Master_image_NA_business_license_marketing_913515423.jpg"
target="_blank">营业执照</a>
<a href="https://www.fedex.com/content/dam/fedex/apac-asia-pacific/downloads/fedex-express-delivery-business-permit-cn.jpg"
target="_blank">快递业务经营许可证</a>
</div>
</div>
<div class="footer-link-bottom">
FedEx Express China <a
href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=31010102007222"
target="_blank">沪公网安备
31010102007222号 </a><a href="https://beian.miit.gov.cn/#/Integrated/recordQuery"
target="_blank">京ICP备18052618号-3</a>
</div>
</div>
</div>
</body>
<script>
let approval = document.getElementsByClassName('approval')
let tip = document.getElementsByClassName('tiem')
let img = document.getElementsByClassName('approval-img')
let title = document.getElementsByClassName('approval-title')
let num = 30
let interval = setInterval(() => {
tip[0].innerText = `${num}s`
if (num == 0) {
clearInterval(interval)
window.close()
} else {
num--
}
}, 1000);
window.onload = function () {
let search = location.search.replace('?', '').split('&')
let data = {}
search.forEach(item => {
data[item.split('=')[0]] = item.split('=')[1]
})
if (search != '') {
if (data.type == '0') {
title[0].innerText = '系统连接异常,请稍后再试!'
img[0].src = "./otherHtml-img/unApproval.png"
} else if (data.type == '1') {
title[0].innerText = '审批通过!'
img[0].src = "./otherHtml-img/approval.png"
} else if (data.type == '2') {
title[0].innerText = '已审批,无需重复审批!'
img[0].src = "./otherHtml-img/overApproval.png"
} else {
title[0].innerText = "链接超时,无法完成审批!"
img[0].src = "./otherHtml-img/unlink.png"
}
} else {
title[0].innerText = "链接超时,无法完成审批!"
img[0].src = "./otherHtml-img/unlink.png"
}
}
</script>
</html>