index.html 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <script src='https://zd-wpkgate-emas.bigdatacq.com:32383/static/wpk-jssdk.1.0.2/wpkReporter.js' crossorigin='true'></script>
  6. <script>
  7. var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
  8. CSS.supports('top: constant(a)'))
  9. document.write(
  10. '<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
  11. (coverSupport ? ', viewport-fit=cover' : '') + '" />')
  12. try {
  13. const config = {
  14. bid: 'zyyyyjs-cqljxqshfzj_kmift2ec_orm4loju',
  15. signkey: '1234567890abcdef',
  16. gateway: 'https://zd-wpkgate-emas.bigdatacq.com:32383'
  17. };
  18. const wpk = new wpkReporter(config);
  19. wpk.installAll();
  20. window._wpk = wpk;
  21. } catch (err) {
  22. console.error('WpkReporter init fail', err);
  23. }
  24. </script>
  25. <title></title>
  26. <!--preload-links-->
  27. <!--app-context-->
  28. </head>
  29. <body>
  30. <div id="app"><!--app-html--></div>
  31. <script type="module" src="/main.js"></script>
  32. </body>
  33. </html>