index.html 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  6. <meta name="renderer" content="webkit" />
  7. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
  8. <!-- 强制Chromium内核,作用于360浏览器、QQ浏览器等国产双核浏览器 -->
  9. <meta name="renderer" content="webkit" />
  10. <link rel="icon" href="<%= BASE_URL %>/logo.ico">
  11. <!-- 强制Chromium内核,作用于其他双核浏览器 -->
  12. <meta name="force-rendering" content="webkit" />
  13. <% if (process.env.NODE_ENV === 'production') { %>
  14. <!-- 自动将HTTP请求升级成安全的HTTPS请求 -->
  15. <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
  16. <% } %>
  17. <!-- 如果有安装 Google Chrome Frame 插件则强制为Chromium内核,否则强制本机支持的最高版本IE内核,作用于IE浏览器 -->
  18. <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
  19. <link rel="manifest" href="<%= BASE_URL %>/manifest.json" />
  20. <!-- <link rel="icon" href="<%= BASE_URL %>/logo.ico"> -->
  21. <% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.css[process.env.VUE_APP_PACKAGE_ENV]) { %>
  22. <link href="<%= htmlWebpackPlugin.options.cdn.css[process.env.VUE_APP_PACKAGE_ENV][i] %>" rel="stylesheet">
  23. <% } %>
  24. <script src="./js/echarts.min.js"></script>
  25. <title>招粮云仓</title>
  26. <link rel="icon" href="<%= BASE_URL %>/logo.ico">
  27. <% if (process.env.NODE_ENV === 'production') { %>
  28. <!-- <script>
  29. !(function(c,i,e,b){var h = i.createElement("script");var f = i.getElementsByTagName("script")[0];h.type = "text/javascript";h.crossorigin = true;h.onload = function(){try {c[b]||(c[b] = new c.wpkReporter({bid: 'qj3rmxes-10jz7agi',spa: true, plugins: []}));c[b].installAll();} catch (e) {console.error('init wpkReporter fail', e);}};f.parentNode.insertBefore(h, f);h.src = e})(window, document, "https://g.alicdn.com/woodpeckerx/jssdk??wpkReporter.js", "__wpk");
  30. </script> -->
  31. <% } %>
  32. <style>
  33. html,
  34. body,
  35. #app {
  36. height: 100%;
  37. margin: 0;
  38. padding: 0;
  39. }
  40. .winseaview-home {
  41. background-color: #303133;
  42. height: 100%;
  43. display: flex;
  44. flex-direction: column;
  45. }
  46. .winseaview-home__main {
  47. user-select: none;
  48. width: 100%;
  49. flex-grow: 1;
  50. display: flex;
  51. justify-content: center;
  52. align-items: center;
  53. flex-direction: column;
  54. }
  55. .winseaview-home__footer {
  56. width: 100%;
  57. flex-grow: 0;
  58. text-align: center;
  59. padding: 1em 0;
  60. }
  61. .winseaview-home__footer > a {
  62. font-size: 12px;
  63. color: #ababab;
  64. text-decoration: none;
  65. }
  66. .winseaview-home__loading {
  67. height: 32px;
  68. width: 32px;
  69. margin-bottom: 20px;
  70. }
  71. .winseaview-home__title {
  72. color: #fff;
  73. font-size: 14px;
  74. margin-bottom: 10px;
  75. }
  76. .winseaview-home__sub-title {
  77. color: #ababab;
  78. font-size: 12px;
  79. }
  80. </style>
  81. </head>
  82. <body>
  83. <noscript>
  84. <strong>We're sorry but t1 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
  85. </noscript>
  86. <div id="app">
  87. <div class="winseaview-home">
  88. <div class="winseaview-home__main">
  89. <img
  90. class="winseaview-home__loading"
  91. src="./img/loading-spin.svg"
  92. alt="loading"
  93. />
  94. <div class="winseaview-home__title">
  95. 正在加载资源
  96. </div>
  97. <div class="winseaview-home__sub-title d">
  98. 初次加载资源可能需要较多时间 请耐心等待
  99. </div>
  100. </div>
  101. </div>
  102. </div>
  103. <!-- built files will be auto injected -->
  104. <% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.js[process.env.VUE_APP_PACKAGE_ENV]) { %>
  105. <script src="<%= htmlWebpackPlugin.options.cdn.js[process.env.VUE_APP_PACKAGE_ENV][i] %>" charset="utf-8"></script>
  106. <% } %>
  107. </body>
  108. </html>