index.html 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <!DOCTYPE html>
  2. <html lang="zh-Hans">
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  6. <link rel="icon" href="<%= BASE_URL %>favicon.png" />
  7. <meta
  8. name="viewport"
  9. content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, viewport-fit=cover"
  10. />
  11. <meta name="msapplication-tap-highlight" content="no" />
  12. <meta name="format-detection" content="telphone=no" />
  13. <meta name="format-detection" content="email=no" />
  14. <meta name="screen-orientation" content="portrait" />
  15. <meta name="x5-orientation" content="portrait" />
  16. <meta name="full-screen" content="yes" />
  17. <meta name="x5-fullscreen" content="true" />
  18. <meta name="theme-color" content="#000000" />
  19. <script src="https://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
  20. <% if (htmlWebpackPlugin.options.app) { %>
  21. <script src="cordova.js"></script>
  22. <% } %>
  23. <title><%= htmlWebpackPlugin.options.title %></title>
  24. </head>
  25. <body>
  26. <noscript>
  27. <strong>
  28. We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
  29. Please enable it to continue.
  30. </strong>
  31. </noscript>
  32. <div id="app"></div>
  33. <!-- built files will be auto injected -->
  34. </body>
  35. <script>
  36. function goFetch(path) {
  37. window.$vm.$dialog.close();
  38. window.$vm.$router.push(path);
  39. }
  40. </script>
  41. </html>