You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

template.h5.html 2.9 KiB

4 years ago
3 years ago
3 years ago
3 years ago
4 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  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, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  7. <title>
  8. <%= htmlWebpackPlugin.options.title %>
  9. </title>
  10. <!-- 正式发布的时候使用,开发期间不启用。↓ -->
  11. <!-- <script src="/h5/touch-emulator.js"></script>
  12. <script>
  13. TouchEmulator();
  14. if (document.documentElement.clientWidth > 1024) {
  15. window.location.href = '/h5/pcguide.html#'+location.pathname+location.search;
  16. }
  17. </script>
  18. <style>
  19. ::-webkit-scrollbar{
  20. display: none;
  21. }
  22. </style>
  23. <script>
  24. var _hmt = _hmt || [];
  25. (function() {
  26. var hm = document.createElement("script");
  27. hm.src = "https://hm.baidu.com/hm.js?";// 百度统计key
  28. var s = document.getElementsByTagName("script")[0];
  29. s.parentNode.insertBefore(hm, s);
  30. })();
  31. </script> -->
  32. <!-- 正式发布的时候使用,开发期间不启用。↑ -->
  33. <script>
  34. document.addEventListener('DOMContentLoaded', function() {
  35. document.documentElement.style.fontSize = document.documentElement.clientWidth / 20 + 'px'
  36. })
  37. </script>
  38. <link rel="stylesheet" href="<%= BASE_URL %>static/index.css" />
  39. <!-- TikTok Pixel Code Start -->
  40. <script>
  41. !function (w, d, t) {
  42. w.TiktokAnalyticsObject=t;var ttq=w[t]=w[t]||[];ttq.methods=["page","track","identify","instances","debug","on","off","once","ready","alias","group","enableCookie","disableCookie"],ttq.setAndDefer=function(t,e){t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}};for(var i=0;i<ttq.methods.length;i++)ttq.setAndDefer(ttq,ttq.methods[i]);ttq.instance=function(t){for(var e=ttq._i[t]||[],n=0;n<ttq.methods.length;n++)ttq.setAndDefer(e,ttq.methods[n]);return e},ttq.load=function(e,n){var i="https://analytics.tiktok.com/i18n/pixel/events.js";ttq._i=ttq._i||{},ttq._i[e]=[],ttq._i[e]._u=i,ttq._t=ttq._t||{},ttq._t[e]=+new Date,ttq._o=ttq._o||{},ttq._o[e]=n||{};var o=document.createElement("script");o.type="text/javascript",o.async=!0,o.src=i+"?sdkid="+e+"&lib="+t;var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(o,a)};
  43. ttq.load('C2EIC3IQV140ORDINJS0');
  44. ttq.page();
  45. }(window, document, 'ttq');
  46. </script>
  47. <!-- TikTok Pixel Code End -->
  48. </head>
  49. <body>
  50. <!-- 该文件为 H5 平台的模板 HTML,并非应用入口。 -->
  51. <!-- 请勿在此文件编写页面代码或直接运行此文件。 -->
  52. <!-- 详见文档:https://uniapp.dcloud.io/collocation/manifest?id=h5-template -->
  53. <noscript>
  54. <strong>Please enable JavaScript to continue.</strong>
  55. </noscript>
  56. <div id="app"></div>
  57. <!-- built files will be auto injected -->
  58. <script>
  59. /*BAIDU_STAT*/
  60. </script>
  61. </body>
  62. </html>