index.html 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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. <!-- 强制Chromium内核,作用于其他双核浏览器 -->
  11. <meta name="force-rendering" content="webkit" />
  12. <!-- 如果有安装 Google Chrome Frame 插件则强制为Chromium内核,否则强制本机支持的最高版本IE内核,作用于IE浏览器 -->
  13. <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
  14. <link rel="manifest" href="<%= BASE_URL %>/manifest.json" />
  15. <link rel="icon" href="<%= BASE_URL %>/winseaLogo.ico" />
  16. <% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.css[process.env.VUE_APP_PACKAGE_ENV]) { %>
  17. <link href="<%= htmlWebpackPlugin.options.cdn.css[process.env.VUE_APP_PACKAGE_ENV][i] %>" rel="stylesheet">
  18. <% } %>
  19. <title>WinSea | 专注船舶管理服务</title>
  20. <% if (process.env.NODE_ENV === 'production') { %>
  21. <script>
  22. !(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");
  23. </script>
  24. <% } %>
  25. <style>
  26. html,
  27. body,
  28. #app {
  29. height: 100%;
  30. margin: 0;
  31. padding: 0;
  32. }
  33. .winseaview-home {
  34. background-color: #303133;
  35. height: 100%;
  36. display: flex;
  37. flex-direction: column;
  38. }
  39. .winseaview-home__main {
  40. user-select: none;
  41. width: 100%;
  42. flex-grow: 1;
  43. display: flex;
  44. justify-content: center;
  45. align-items: center;
  46. flex-direction: column;
  47. }
  48. .winseaview-home__footer {
  49. width: 100%;
  50. flex-grow: 0;
  51. text-align: center;
  52. padding: 1em 0;
  53. }
  54. .winseaview-home__footer > a {
  55. font-size: 12px;
  56. color: #ababab;
  57. text-decoration: none;
  58. }
  59. .winseaview-home__loading {
  60. height: 32px;
  61. width: 32px;
  62. margin-bottom: 20px;
  63. }
  64. .winseaview-home__title {
  65. color: #fff;
  66. font-size: 14px;
  67. margin-bottom: 10px;
  68. }
  69. .winseaview-home__sub-title {
  70. color: #ababab;
  71. font-size: 12px;
  72. }
  73. </style>
  74. </head>
  75. <body>
  76. <noscript>
  77. <strong>We're sorry but t1 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
  78. </noscript>
  79. <div id="app">
  80. <div class="winseaview-home">
  81. <div class="winseaview-home__main">
  82. <img
  83. class="winseaview-home__loading"
  84. src="./img/loading-spin.svg"
  85. alt="loading"
  86. />
  87. <div class="winseaview-home__title">
  88. 正在加载资源
  89. </div>
  90. <div class="winseaview-home__sub-title d">
  91. 初次加载资源可能需要较多时间 请耐心等待
  92. </div>
  93. </div>
  94. </div>
  95. </div>
  96. <!-- built files will be auto injected -->
  97. <% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.js[process.env.VUE_APP_PACKAGE_ENV]) { %>
  98. <script src="<%= htmlWebpackPlugin.options.cdn.js[process.env.VUE_APP_PACKAGE_ENV][i] %>" charset="utf-8"></script>
  99. <% } %>
  100. </body>
  101. </html>