index.html 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width,minimum-scale=1,minimum-scale=1,maximum-scale=1,viewport-fit=cover">
  6. <meta name="referrer" content="never">
  7. <title>城发中心</title>
  8. <script src='https://wpk-gate.zjzwfw.gov.cn/static/wpk-jssdk.1.0.2/wpkReporter.js' crossorigin='true'></script>
  9. <!-- <script src="https://cdn.bootcdn.net/ajax/libs/vConsole/3.9.0/vconsole.min.js"></script> -->
  10. <script>
  11. try {
  12. const config = {
  13. bid: 'phwj_h5_zzdpro',
  14. signkey: '1234567890abcdef',
  15. gateway: 'https://wpk-gate.zjzwfw.gov.cn'
  16. };
  17. const wpk = new wpkReporter(config);
  18. wpk.installAll();
  19. window._wpk = wpk;
  20. } catch (err) {
  21. console.error('WpkReporter init fail', err);
  22. }
  23. </script>
  24. <script>
  25. (function(w, d, s, q, i) {
  26. w[q] = w[q] || [];
  27. var f = d.getElementsByTagName(s)[0],j = d.createElement(s);
  28. j.async = true;
  29. j.id = 'beacon-aplus';
  30. j.src = 'https://alidt.alicdn.com/alilog/mlog/aplus_cloud.js';
  31. f.parentNode.insertBefore(j, f);
  32. })(window, document, 'script', 'aplus_queue');
  33. aplus_queue.push({
  34. action: 'aplus.setMetaInfo',
  35. arguments: ['aplus-rhost-v', 'alog.zjzwfw.gov.cn']
  36. });
  37. aplus_queue.push({
  38. action: 'aplus.setMetaInfo',
  39. arguments: ['aplus-rhost-g', 'alog.zjzwfw.gov.cn']
  40. });
  41. var u = navigator.userAgent
  42. var isAndroid = u.indexOf('Android') > -1
  43. var isIOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)
  44. aplus_queue.push({
  45. action: 'aplus.setMetaInfo',
  46. arguments: ['appId', isAndroid ? '28302650' : isIOS ? '28328447' : '47130293']
  47. });
  48. // 基础埋点
  49. // 单页应用 或 “单个页面”需异步补充PV日志参数还需进行如下埋点:
  50. aplus_queue.push({
  51. action: 'aplus.setMetaInfo',
  52. arguments: ['aplus-waiting', 'MAN']
  53. });//
  54. // 单页应用路由切换后 或 在异步获取到pv日志所需的参数后再执行sendPV:
  55. </script>
  56. </head>
  57. <body>
  58. <div id="app"></div>
  59. <!-- built files will be auto injected -->
  60. </body>
  61. </html>