index.html 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <!DOCTYPE html>
  2. <html lang="zh">
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1" />
  6. <meta name="theme-color" content="#000000" />
  7. <meta name="description" content="Web site created using create-react-app" />
  8. <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
  9. <link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
  10. <title>义乌市博物馆馆藏管理系统</title>
  11. <script>
  12. // 域名地址
  13. const baseUrlTempOne = 'https://sit-yiwubwg.4dage.com'
  14. // const baseUrlTempOne = 'http://192.168.20.61:8096'
  15. // 钉钉模式
  16. const isDingTemp = false
  17. // const script = document.createElement('script')
  18. // script.src = `//${window.g_config.cdnHost}/gdt/dd-web-dev-center/3.12.0/assets/js/app_567f70b3-6512-4dca-8683-c2b5e2755fd0.js`
  19. // document.head.appendChild(script)
  20. // script.onload(() => {
  21. // h5RemoteDebugSdk.init({
  22. // uuid: 'dbaa9959-4fcf-49c8-ba99-3922e45e22ca',
  23. // observerElement: document.documentElement
  24. // })
  25. // })
  26. </script>
  27. <!-- 埋点开始 -->
  28. <script
  29. src="https://wpkgate-emas.ding.zj.gov.cn/static/wpk-jssdk.1.0.2/wpkReporter.js"
  30. crossorigin="true"
  31. ></script>
  32. <script>
  33. try {
  34. const config = {
  35. bid: 'YWBWGGCXT_zzdpro',
  36. signkey: '1234567890abcdef',
  37. gateway: 'https://wpkgate-emas.ding.zj.gov.cn'
  38. }
  39. const wpk = new wpkReporter(config)
  40. wpk.installAll()
  41. window._wpk = wpk
  42. } catch (err) {
  43. console.error('WpkReporterinitfail', err)
  44. }
  45. ;(function (w, d, s, q, i) {
  46. w[q] = w[q] || []
  47. var f = d.getElementsByTagName(s)[0],
  48. j = d.createElement(s)
  49. j.async = true
  50. j.id = 'beacon-aplus'
  51. j.src = 'https://alidt.alicdn.com/alilog/mlog/aplus_cloud.js'
  52. f.parentNode.insertBefore(j, f)
  53. })(window, document, 'script', 'aplus_queue')
  54. aplus_queue.push({
  55. action: 'aplus.setMetaInfo',
  56. //专有云应用,第二个参数在部署时请替换为正确的专有云地址
  57. arguments: ['aplus-rhost-v', 'alog-api.ding.zj.gov.cn']
  58. })
  59. aplus_queue.push({
  60. action: 'aplus.setMetaInfo',
  61. //专有云应用,第二个参数在部署时请替换为正确的专有云地址
  62. arguments: ['aplus-rhost-g', 'alog-api.ding.zj.gov.cn']
  63. })
  64. var u = navigator.userAgent
  65. var isAndroid = u.indexOf('Android') > -1
  66. var isIOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)
  67. aplus_queue.push({
  68. action: 'aplus.setMetaInfo',
  69. arguments: ['appId', isAndroid ? '28302650' : isIOS ? '28328447' : '47130293']
  70. })
  71. </script>
  72. <!-- 埋点结束 -->
  73. </head>
  74. <body>
  75. <noscript>You need to enable JavaScript to run this app.</noscript>
  76. <div id="root"></div>
  77. </body>
  78. </html>