template.h5.html 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. <style type="text/css">
  39. input:-webkit-autofill{
  40. -webkit-box-shadow: 0 0 0 1000px #F7F7F7 inset; //使用足够大的纯色内阴影覆盖黄色背景
  41. }
  42. </style>
  43. <link rel="stylesheet" href="<%= BASE_URL %>static/index.<%= VUE_APP_INDEX_CSS_HASH %>.css" />
  44. <script src="//res.wx.qq.com/open/js/jweixin-1.6.0.js" type="text/javascript" charset="utf-8"></script>
  45. </head>
  46. <body>
  47. <!-- 该文件为 H5 平台的模板 HTML,并非应用入口。 -->
  48. <!-- 请勿在此文件编写页面代码或直接运行此文件。 -->
  49. <!-- 详见文档:https://uniapp.dcloud.io/collocation/manifest?id=h5-template -->
  50. <noscript>
  51. <strong>Please enable JavaScript to continue.</strong>
  52. </noscript>
  53. <div id="app"></div>
  54. <!-- built files will be auto injected -->
  55. <script>
  56. /*BAIDU_STAT*/
  57. </script>
  58. </body>
  59. </html>