index.html 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  7. <meta http-equiv="X-Content-Type-Options" content="nosniff">
  8. <meta name="renderer" content="webkit">
  9. <meta name="viewport"
  10. content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, minimal-ui">
  11. <meta name="format-detection" content="telephone=no">
  12. <link rel="stylesheet" type="text/css" href="<%= VUE_APP_STATIC_DIR %>/js/lib/lunpan/hyglobal.min.css?20201226" />
  13. <link rel="icon" href="<%= BASE_URL %>logo.png">
  14. <title>新时代中国网络文明建设成果展云展示</title>
  15. <style>
  16. .broswertips {
  17. position: fixed;
  18. z-index: 99999999;
  19. width: 100%;
  20. height: 100%;
  21. overflow: hidden;
  22. display: none;
  23. background-repeat: no-repeat;
  24. background-color: #0015bb;
  25. background-size: cover;
  26. background-position: bottom right;
  27. display: flex;
  28. align-items: center;
  29. background-image: url(./tipsimages/bg.jpg);
  30. display: none;
  31. }
  32. .broswertips .h-con {
  33. width: 75%;
  34. margin: 0 auto;
  35. padding-top: 0;
  36. color: #fff;
  37. position: absolute;
  38. top: 50%;
  39. left: 50%;
  40. transform: translate(-50%,-50%);
  41. text-align: center;
  42. }
  43. .broswertips .h-con .h-title {
  44. width: 100%;
  45. }
  46. .broswertips .h-con .h-title>img {
  47. width: 90%;
  48. }
  49. .broswertips .h-con .tunits {
  50. width: 60%;
  51. margin: 40px auto 0;
  52. }
  53. .broswertips .h-con>p {
  54. font-size: 28px;
  55. margin-top: 20vh;
  56. font-weight: normal;
  57. }
  58. .broswertips .h-con>p>span {
  59. display: inline-block;
  60. margin-right: 60px;
  61. }
  62. </style>
  63. </head>
  64. <body>
  65. <script>
  66. with(document)with(body)with(insertBefore(createElement("script"),firstChild))setAttribute("exparams","v_id=&aplus&",id="tb-beacon-aplus",src=(location>"https"?"//js":"//js")+".data.cctv.com/__aplus_plugin_cctv.js,aplus_plugin_aplus_u.js")
  67. </script>
  68. <div class="broswertips" id="broswertips">
  69. <div class="h-con">
  70. <div class="h-title">
  71. <img src="./tipsimages/title.png" alt="" />
  72. </div>
  73. <p>本展览采用三维全景技术呈现,不兼容IE浏览器访问,<br/> 建议使用谷歌、360极速浏览器、火狐等主流浏览器。</p>
  74. </div>
  75. </div>
  76. <script>
  77. function versions() {
  78. var u = window.navigator.userAgent
  79. var uLowCase = u.toLowerCase()
  80. return {
  81. userAgent: u,
  82. // IE内核
  83. trident: u.indexOf('Trident') > -1,
  84. // opera内核
  85. presto: u.indexOf('Presto') > -1,
  86. // 苹果、谷歌内核
  87. webKit: u.indexOf('AppleWebKit') > -1,
  88. // 火狐内核
  89. gecko: u.indexOf('Gecko') > -1 && u.indexOf('KHTML') === -1,
  90. // 是否为移动终端 / Tablets use desktop version
  91. mobile: (/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) && !(/Tablet|iPad/i.test(navigator.userAgent)),
  92. // ios终端
  93. ios: !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),
  94. // android终端或者uc浏览器
  95. android: u.indexOf('Android') > -1 || u.indexOf('Linux') > -1,
  96. // 是否为iPhone或者安卓QQ浏览器
  97. iPhone: u.indexOf('iPhone') > -1 || u.indexOf('Mac') > -1,
  98. // 是否为iPad
  99. iPad: u.indexOf('iPad') > -1,
  100. // 是否为web应用程序,没有头部与底部
  101. webApp: u.indexOf('Safari') === -1,
  102. // 是否为微信浏览器
  103. weixin: ~u.indexOf('MicroMessenger'),
  104. // 火狐内核版本
  105. firefoxCore: uLowCase.match(/firefox\/([\d.]+)/),
  106. // chrome内核版本
  107. chromeCore: uLowCase.match(/chrome\/([\d.]+)/),
  108. // webkit内核版本
  109. webkitCore: uLowCase.match(/applewebkit\/([\d.]+)/),
  110. }
  111. }
  112. var broswer = versions()
  113. var dommmm = document.getElementById('broswertips')
  114. if (broswer.trident) {
  115. dommmm.style.display = 'block'
  116. }
  117. // 火狐
  118. else if (broswer.gecko) {
  119. var version = broswer.firefoxCore[1].split(".")[0]
  120. if (Number(version) < 80) {
  121. dommmm.style.display = 'block'
  122. }
  123. }
  124. // 谷歌
  125. else if (broswer.webKit) {
  126. var version = broswer.chromeCore[1].split(".")[0]
  127. if (Number(version) < 69) {
  128. dommmm.style.display = 'block'
  129. }
  130. }
  131. </script>
  132. <script src="<%= VUE_APP_STATIC_DIR %>/js/lib/jquery-2.1.1.min.js" class="build keep"></script>
  133. <script src="<%= VUE_APP_STATIC_DIR %>/js/lib/jweixin-1.6.0.js"></script>
  134. <script type="text/javascript" src="https://js.player.cntv.cn/creator/swfobject.js"></script>
  135. <script type="text/javascript" src="https://js.player.cntv.cn/creator/vodplayer.js"></script>
  136. <!-- <script src="<%= VUE_APP_STATIC_DIR %>/js/lib/vodplayer.js"></script> -->
  137. <script src="<%= VUE_APP_STATIC_DIR %>/js/lib/lunpan/jquery.arctext.js"></script>
  138. <script src="<%= VUE_APP_STATIC_DIR %>/js/lib/lunpan/wsruletts.min.js"></script>
  139. <div id="app"></div>
  140. </body>
  141. </html>