-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathindex.html
43 lines (40 loc) · 1.61 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
<!DOCTYPE html><html><head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover">
<title>泡泡玛特虚拟潮玩艺术周</title>
<link rel="stylesheet" href="./umi.ddb18a3a.css">
<style type="text/css">
/*.g-modals-box,*/
.loading-text-safe-ios
{
display: none !important;
}
</style>
</head>
<body>
<div id="root"></div>
<script src="./umi.9b5f187d.js"></script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script><script>
const isWechat = () => {
const ua = navigator.userAgent;
return /MicroMessenger/i.test(ua);
};
const isMobile =() =>{
let _isMobile = false;
if((navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i))) {
// console.log('移动端');
_isMobile = true;
}
//if (document.body.clientWidth < 800) {
// _isMobile = true;
//}
return _isMobile
}
// if ((location.href.indexOf('192.168') == -1 && location.href.indexOf('localhost') == -1 && location.href.indexOf('uat') == -1)){
// if (!isWechat() || !isMobile()) {
// window.location.href = 'https://static.ssl.jimingkeji.com.cn/popmart2022/share.html';
// }
// }
// window.location.href = 'https://static.ssl.jimingkeji.com.cn/popmart2022/share.html?v0403';
</script></body></html>