forked from newthuhole/hole_thu_frontend
54 lines
2.9 KiB
HTML
54 lines
2.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
|
<link rel="icon" href="%PUBLIC_URL%/static/favicon/256.png">
|
|
<meta name="format-detection" content="telephone=no">
|
|
|
|
<link rel="stylesheet" href="%PUBLIC_URL%/static/fonts_6/icomoon.css" />
|
|
|
|
<meta name="mobile-web-app-capable" content="yes">
|
|
<link rel="shortcut icon" href="%PUBLIC_URL%/static/favicon/256.png">
|
|
<link rel="manifest" href="%PUBLIC_URL%/static/manifest.json">
|
|
<meta name="theme-color" content="#333333"/>
|
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
<link rel="apple-touch-icon" sizes="180x180" href="%PUBLIC_URL%/static/favicon/180.png" />
|
|
<link rel="apple-touch-icon" sizes="256x256" href="%PUBLIC_URL%/static/favicon/256.png" />
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="default">
|
|
<meta name="apple-mobile-web-app-title" content="树洞">
|
|
<link rel="apple-touch-startup-image" href="%PUBLIC_URL%/static/splash/750x1334.png" media="(device-width: 375px) and (-webkit-device-pixel-ratio: 2)"/>
|
|
<link rel="apple-touch-startup-image" href="%PUBLIC_URL%/static/splash/1242x2208.png" media="(device-width: 414px) and (-webkit-device-pixel-ratio: 3)"/>
|
|
<link rel="apple-touch-startup-image" href="%PUBLIC_URL%/static/splash/1668x2388.png" media="(device-width: 834px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/>
|
|
<link rel="apple-touch-startup-image" href="%PUBLIC_URL%/static/splash/2388x1668.png" media="(device-width: 834px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/>
|
|
|
|
<title>P大树洞</title>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script>
|
|
var _czc=_czc||[];
|
|
_czc.push(["_setAccount","1274501752"]);
|
|
_czc.push(["_setCustomVar","has_token",localStorage['TOKEN']?'yes':'no',1]);
|
|
_czc.push(["_setCustomVar","standalone",((window.matchMedia('(display-mode: standalone)').matches) || (window.navigator.standalone))?'yes':'no',1]);
|
|
try {
|
|
var config=JSON.parse(localStorage['hole_config']||'{}');
|
|
for(var key in config)
|
|
if(config.hasOwnProperty(key))
|
|
_czc.push(["_trackEvent",'config',key,encodeURIComponent(JSON.stringify(config[key])),0,'']);
|
|
//_czc.push(["_setCustomVar","config_"+key,encodeURIComponent(JSON.stringify(config[key])),0]);
|
|
} catch(e) {
|
|
console.trace(e);
|
|
}
|
|
var cnzz_s_tag = document.createElement('script');
|
|
cnzz_s_tag.type = 'text/javascript';
|
|
cnzz_s_tag.async = true;
|
|
cnzz_s_tag.charset = "utf-8";
|
|
cnzz_s_tag.src = "https://w.cnzz.com/c.php?id=1274501752&async=1";
|
|
var root_s = document.getElementsByTagName('script')[0];
|
|
root_s.parentNode.insertBefore(cnzz_s_tag, root_s);
|
|
</script>
|
|
</body>
|
|
</html>
|