index.html 4.3 KB
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>{{title}}</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, viewport-fit=cover">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta content="telephone=no" name="format-detection">
    <meta content="email=no" name="format-detection">
    <script type="text/javascript">
        (function(d,c){var e=d.documentElement,a="orientationchange" in window?"orientationchange":"resize",b=function(){var f=e.clientWidth;if(!f){return}if(f>=750){e.style.fontSize="40px"}else{e.style.fontSize=40*(f/750)+"px"}};if(!d.addEventListener){return}b();c.addEventListener(a,b,false);d.addEventListener("DOMContentLoaded",b,false)})(document,window);
    </script>
    <link rel="dns-prefetch" href="//cdn.yoho.cn">
    <link rel="dns-prefetch" href="//img10.static.yhbimg.com">
    <link rel="dns-prefetch" href="//img11.static.yhbimg.com">
    <link rel="dns-prefetch" href="//img12.static.yhbimg.com">
    <link rel="dns-prefetch" href="//img13.static.yhbimg.com">
</head>
<body>
    <script type="text/javascript">
        (function (d) {function vtn(e){var t,a=0,n=e.split(".").map(e=>Number(e));for(t=0;t<3;t++)a+=(n[t]||0)*Math.pow(100,2-t);return a}function gav(e,t){var a=e.match(new RegExp("(^|)app_version=([^"+t+"]*)("+t+"|$)"));return a&&a.length?a[2]:""}var appv=gav(d.cookie,";")||gav(location.href,"&");if(/YohoBuy/i.test(navigator.userAgent||"")&&/\(i[^;]+;( U;)? CPU.+Mac OS X/i.test(navigator.userAgent||"")&&appv&&vtn(appv)>=vtn("6.9.2")){var e=d.documentElement,n=e.clientHeight/e.clientWidth>2.1?"-high":"";d.getElementsByTagName("body")[0].className="immerse-body"+n}})(document);
    </script>
    <!--vue-ssr-outlet-->
    <div id="degrade-app"></div>
    <div id="main-wrap">
        <div id="no-download"></div>
    </div>
    <script type="text/javascript" defer>
    setTimeout(function() {
        (function(w, d, s, j, f) {
            var a = d.createElement(s);
            var m = d.getElementsByTagName(s)[0];

            w.YohoAcquisitionObject = f;

            w[f] = function() {
                w[f].p = arguments;
            };

            a.async = 1;
            a.src = j;
            m.parentNode.insertBefore(a, m);
        }(window, document, 'script', (document.location.protocol === 'https:' ? 'https:' : 'http:') + '//cdn.yoho.cn/yas-jssdk/2.4.18/yas.js', '_yas'));

        var _hmt = _hmt || [];

        (function() {
            function getUid() {
                var uid,
                    name = 'app_uid',
                    cookies = (document.cookie && document.cookie.split(';')) || [];

                for (var i = 0; i < cookies.length; i++) {
                    if (cookies[i].indexOf(name) > -1) {
                        uid = decodeURIComponent(cookies[i].replace(name + '=', '').trim());
                        break;
                    }
                }

                if (!uid) return 0;

                uid = uid.split('::');
                if (!uid || uid.length < 4) {
                    return 0;
                }
                return uid[1];
            }

            function queryString() {
                var vars = {},
                    hash,
                    i;
                var hashes = window.location.search.slice(1).split('&');

                for (i = 0; i < hashes.length; i++) {
                    hash = hashes[i].split('=');
                    vars[hash[0]] = hash[1];
                }
                return vars;
            }

            var uid = getUid() || queryString().uid;

            uid = uid === 0 ? '' : uid;
            window._ozuid = uid; // 暴露ozuid
            if (window._yas) {
                window._yas(1 * new Date(), '2.4.16', 'yohoappweb', uid, '', '');
            }

            (function() {
                var hm = document.createElement("script");
                hm.src = "https://hm.baidu.com/hm.js?65dd99e0435a55177ffda862198ce841";
                var s = document.getElementsByTagName("script")[0];
                s.parentNode.insertBefore(hm, s);
            })();
        }());
    }, 1000);
    </script>
</body>
</html>