index.html 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <!DOCTYPE html>
  2. <html lang="" class="has-bottombar">
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  6. <meta name="viewport" content="width=device-width,initial-scale=1.0" />
  7. <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport" />
  8. <link rel="icon" href="<%= BASE_URL %>favicon.ico" />
  9. <title><%= htmlWebpackPlugin.options.title %></title>
  10. <meta name="wpk-bid" content="dta_2_131175" />
  11. <script>
  12. var isDingtalk = navigator && /DingTalk/.test(navigator.userAgent);
  13. var isProductEnv =
  14. window &&
  15. window.location &&
  16. window.location.host &&
  17. window.location.host.indexOf("127.0.0.1") === -1 &&
  18. window.location.host.indexOf("localhost") === -1 &&
  19. window.location.host.indexOf("192.168.") === -1;
  20. // 如果有其它测试域名,请一起排掉,减少测试环境对生产环境监控的干扰
  21. if (isProductEnv) {
  22. !(function (c, i, e, b) {
  23. var h = i.createElement("script");
  24. var f = i.getElementsByTagName("script")[0];
  25. h.type = "text/javascript";
  26. h.crossorigin = true;
  27. h.onload = function () {
  28. c[b] || (c[b] = new c.wpkReporter({
  29. bid: "dta_2_131175"
  30. }));
  31. c[b].installAll();
  32. };
  33. f.parentNode.insertBefore(h, f);
  34. h.src = e;
  35. })(window, document, "https://g.alicdn.com/woodpeckerx/jssdk??wpkReporter.js", "__wpk");
  36. }
  37. </script>
  38. <!-- 引入uni-app sdk -->
  39. <!-- <script type="text/javascript" src="https://unpkg.com/@dcloudio/uni-webview-js@0.0.3/index.js"></script> -->
  40. <!-- <script src="../src/hybrid_html_uni.webview.1.5.5.js"></script> -->
  41. <script type="text/javascript"
  42. src="https://gitcode.net/dcloud/hello-uni-app-x/-/blob/alpha/hybrid/html/uni.webview.1.5.5.js"></script>
  43. </head>
  44. <header>
  45. </header>
  46. <body>
  47. <noscript>
  48. <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
  49. Please enable it to continue.</strong>
  50. </noscript>
  51. <div id="app"></div>
  52. <!-- built files will be auto injected -->
  53. </body>
  54. </html>