<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0,viewport-fit=cover">
    <!-- 打开和关闭DNS预读取 -->
    <meta http-equiv="x-dns-prefetch-control" content="on">
    <!-- 强制查询特定主机名 -->
    <link rel="dns-prefetch" href="<%= process.env.VUE_APP_SERVICE_URL %>">
    <link rel="icon" type="image/x-icon" href="<%= VUE_APP_OSS_URL %>static/img/logo.png">
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
    <title>云鹊医-赋能基层医生</title>
    <style>
        ._ {
            position: fixed;
            z-index: 999;
            background: #eee;
            border-radius: 4px;
            animation: mn-skeleton-blink 1.2s ease-in-out infinite;
        }
        
        .__ {
            top: 0%;
            left: 0%;
            width: 100%;
        }
        
        .skeleton-component {
            position: fixed;
            top: 0;
            left: 0;
            z-index: 999;
            width: 100vw;
            height: 100vh;
            background: #fff;
        }
        
        @keyframes mn-skeleton-blink {
            50% {
                opacity: 0.6;
            }
        }
    </style>
</head>

<body>
    <noscript>
    <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
      Please enable it to continue.</strong>
  </noscript>
    <div id="skeleton"></div>
    <div id="app"></div>
    <script>
        function setSkeletonByName() {
            var pathNameSplitList = location.pathname.split('/');
            var lastName = pathNameSplitList[pathNameSplitList.length - 1];
            var el = document.querySelector('.skeleton-component-' + lastName);
            if (el) {
                el.style.dispaly = 'block';
            }
        };

        setSkeletonByName();

        (function(window) {
            function logToLocaleString(method) {
                var date = new Date();
                console.log(date.toLocaleString() + ':' + date.getMilliseconds(), method);
            }

            window.onNativeLCEvent = logToLocaleString;
            window.onload = function() {
                logToLocaleString('onload');
            }

            document.addEventListener('DOMContentLoaded', function() {
                logToLocaleString('DOMContentLoaded');
                setSkeletonByName();
            });
            document.addEventListener('readystatechange', function() {
                if (document.readyState == 'interactive') {
                    logToLocaleString('interactive');
                }
                if (document.readyState == 'complete') {
                    logToLocaleString('complete');
                }
            })
        }(window));
    </script>
    <!-- built files will be auto injected -->
    <script src="<%= VUE_APP_OSS_URL %>static/js/vue-2.6.11.js"></script>
    <script src="<%= VUE_APP_OSS_URL %>static/js/vuex-3.4.0.js"></script>
    <script src="<%= VUE_APP_OSS_URL %>static/js/vant.min-2.12.26.js"></script>
    <script src="<%= VUE_APP_OSS_URL %>static/js/vue-router-3.3.2.js"></script>
    <script src="<%= VUE_APP_OSS_URL %>static/js/axios-0.19.0.js"></script>
    <script src="<%= VUE_APP_OSS_URL %>static/js/element-ui@2.6.1.js"></script>
    <script src="<%= VUE_APP_OSS_URL %>static/js/jsencrypt.min-3.0.0.js"></script>
    <script src="<%= VUE_APP_OSS_URL %>static/js/crypto.min-4.0.0.js"></script>
    <script src="<%= VUE_APP_OSS_URL %>static/js/lodash-4.17.15.js"></script>
    <script src="<%= VUE_APP_OSS_URL %>static/js/vconsole-3.3.4.js"></script>
    <script src="<%= VUE_APP_OSS_URL %>static/js/tim-js@2.13.1.js"></script>
    <script src="<%= VUE_APP_OSS_URL %>static/js/trtc-js-sdk@4.11.5.js"></script>
    
</body>

</html>