demo.html 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta content="telephone=no" name="format-detection" />
  6. <link rel="shortcut icon" href="https://img14.360buyimg.com/imagetools/jfs/t1/167902/2/8762/791358/603742d7E9b4275e3/e09d8f9a8bf4c0ef.png" />
  7. <meta
  8. content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
  9. name="viewport"
  10. />
  11. <title>NutUI - 移动端Vue组件库</title>
  12. <script src="https://h5.m.jd.com/babelDiy/Zeus/2846ykuM7PwipD9E2RzMj2BGEQpA/plugin/share.min.js"></script>
  13. <style>
  14. html {
  15. background: #f7f7f7;
  16. }
  17. a[title="站长统计"] {
  18. display: none;
  19. }
  20. </style>
  21. <script type="module" crossorigin src="/nutui/3.1.5/mobile.b66caac5.js"></script>
  22. <link rel="modulepreload" href="/nutui/3.1.5/index.f7d754e2.js">
  23. <link rel="modulepreload" href="/nutui/3.1.5/vendor.92dabd7f.js">
  24. <link rel="stylesheet" href="/nutui/3.1.5/index.8dd4795f.css">
  25. <link rel="stylesheet" href="/nutui/3.1.5/mobile.ceef529e.css">
  26. <script type="module">!function(){try{new Function("m","return import(m)")}catch(o){console.warn("vite: loading legacy build because dynamic import is unsupported, syntax error above should be ignored");var e=document.getElementById("vite-legacy-polyfill"),n=document.createElement("script");n.src=e.src,n.onload=function(){System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))},document.body.appendChild(n)}}();</script>
  27. </head>
  28. <body>
  29. <noscript>
  30. <strong
  31. >We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
  32. properly without JavaScript enabled. Please enable it to
  33. continue.</strong
  34. >
  35. </noscript>
  36. <div id="app"></div>
  37. <script>
  38. //分享配置
  39. var shareOption = {
  40. iconUrl: "https://nutui.jd.com/img/logo_share.png",
  41. url: "https://nutui.jd.com/demo.html#/index",
  42. title: "轻量级移动端Vue组件库 - NutUI 3.0",
  43. desc: "京东风格的Vue组件库",
  44. };
  45. try {
  46. /*初始化分享*/
  47. share.shareInit(shareOption);
  48. } catch (e) {
  49. console.log(e);
  50. }
  51. </script>
  52. <script type="text/javascript">
  53. var jaq = jaq || [];
  54. jaq.push(["account", "JA2018_1831300"]);
  55. jaq.push(["domain", "jd.com"]);
  56. (function() {
  57. var ja = document.createElement("script");
  58. ja.type = "text/javascript";
  59. ja.async = true;
  60. ja.src = "//wl.jd.com/joya.js";
  61. var s = document.getElementsByTagName("script")[0];
  62. s.parentNode.insertBefore(ja, s);
  63. })();
  64. </script>
  65. <script
  66. type="text/javascript"
  67. src="https://s23.cnzz.com/z_stat.php?id=1276268086&web_id=1276268086"
  68. ></script>
  69. <script nomodule>!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",(function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()}),!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script>
  70. <script nomodule id="vite-legacy-polyfill" src="/nutui/3.1.5/polyfills-legacy.54b658d3.js"></script>
  71. <script nomodule id="vite-legacy-entry" data-src="/nutui/3.1.5/mobile-legacy.56c2e638.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
  72. </body>
  73. </html>