updateBrowser.html 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=10,chrome=1" />
  6. <meta http-equiv="Expires" content="0" />
  7. <meta http-equiv="imagetoolbar" content="no" />
  8. <meta http-equiv="Pragma" content="no-cache" />
  9. <title></title>
  10. <style type="text/css">
  11. *{
  12. margin: 0;
  13. padding: 0;
  14. }
  15. html {
  16. width: 100%;
  17. height: 100%;
  18. overflow: hidden;
  19. }
  20. body {
  21. width: 100%;
  22. height: 100%;
  23. overflow: hidden;
  24. background: url(../images/layout/logo-loading.png) no-repeat center center;
  25. padding: 0px;
  26. margin:0px;
  27. }
  28. #logo{
  29. position: absolute;
  30. top: 10px;
  31. left: 10px;
  32. z-index: 9;
  33. }
  34. #mapHolder {
  35. width: 100%;
  36. height: 100%;
  37. }
  38. .leaflet-control-container{
  39. position: absolute;
  40. bottom: 80px;
  41. right: -50px;
  42. width: 100px;
  43. }
  44. #mapHolder .leaflet-control-attribution {
  45. /*display: none;*/
  46. }
  47. #mapHolder .leaflet-control-zoom {
  48. /*display: none;*/
  49. }
  50. .leaflet-bar a.leaflet-control-zoom-in{
  51. border-radius: 0 !important;
  52. }
  53. #update,#updateWin7{
  54. position: absolute;
  55. top: 50%;
  56. left: 50%;
  57. z-index: 999;
  58. margin-top: -260px;
  59. margin-left: -400px;
  60. }
  61. #update .close,#updateWin7 .close {
  62. width: 18px;
  63. height: 18px;
  64. position: absolute;
  65. top: 18px;
  66. right: 15px;
  67. background: url(images/layout/close_popUp.png) no-repeat;
  68. border: none;
  69. cursor: pointer;
  70. }
  71. #update .dc a {
  72. display: inline-block;
  73. color: #fff;
  74. border: none;
  75. padding: 6px 1px 6px 55px;
  76. border-radius: 35px;
  77. font-size: 18px;
  78. background: #336ae0 url(images/dibanben/down.png) 24px center no-repeat;
  79. margin: 25px 5px 0;
  80. cursor: pointer;
  81. width: 165px;
  82. background-size: 18px;
  83. text-decoration: none;
  84. }
  85. #updateWin7{
  86. display: none;
  87. }
  88. #updateWin7 .dc{
  89. position: absolute;
  90. left: 285px;
  91. top: 350px;
  92. cursor: pointer;
  93. }
  94. #update .dc{
  95. position: absolute;
  96. left: 266px;
  97. top: 350px;
  98. cursor: pointer;
  99. }
  100. #updateWin7 a{
  101. display: inline-block;
  102. color: #fff;
  103. border: none;
  104. padding: 6px 1px 6px 58px;
  105. border-radius: 35px;
  106. font-size: 18px;
  107. background: #336ae0 url(images/dibanben/down.png) 24px center no-repeat;
  108. margin: 25px 117px 0;
  109. cursor: pointer;
  110. width: 120px;
  111. background-size: 18px;
  112. text-decoration: none;
  113. }
  114. .zoomControl{
  115. position: absolute;
  116. top: -35px;
  117. font-size: 20px;
  118. width: 26px;
  119. height: 26px;
  120. background: #fff;
  121. line-height: 26px;
  122. text-align: center;
  123. }
  124. .map-list{
  125. position: absolute;
  126. top: 10%;
  127. right: 0;
  128. z-index: 9;
  129. }
  130. .map-list li{
  131. width: 64px;
  132. height: 44px;
  133. position: relative;
  134. cursor:pointer;
  135. color: #ffffff;
  136. list-style: none;
  137. display: inline-block;
  138. }
  139. .map-list li img{
  140. width: 64px;
  141. height: 44px;
  142. }
  143. .map-list li.active .mapchoose-border{
  144. background:url(images/layout/map-type-border-shadow.png) center center no-repeat;
  145. }
  146. /* .map-list li .mapchoose-border{
  147. position: absolute;
  148. top: 0px;
  149. left: 0px;
  150. width: 100%;
  151. height: 100%;
  152. background:url(images/layout/map-type-border.png) center center no-repeat;
  153. }*/
  154. .map-list li p {
  155. position: absolute;
  156. top: 30px;
  157. left: 0px;
  158. background: #1065ba;
  159. height: 12px;
  160. line-height: 12px;
  161. text-align: center;
  162. font-size: 12px;
  163. color: #fff;
  164. width: 100%;
  165. padding-top: 5px;
  166. }
  167. </style>
  168. <link rel="stylesheet" href="scripts/vendor/leaflet/leaflet.css">
  169. <link rel="stylesheet" href="styles/update.css">
  170. <script type="text/javascript" src="config/config.js"></script>
  171. <script type="text/javascript" src="scripts/vendor/jquery/jquery-1.9.0.js"></script>
  172. <script type="text/javascript" src="scripts/vendor/leaflet/leaflet.js"></script>
  173. <script data-main="scripts/updateBrowser.js" type="text/javascript" src="scripts/vendor/require/require.min.js"></script>
  174. </head>
  175. <body>
  176. <div id="logo"><img src="config/logo.png"></div>
  177. <div id="mapHolder"></div>
  178. <div id="tiShiGengXin">
  179. 请更新浏览器或插件体验更多功能 <a href="javascript:;">更新</a>
  180. <!-- <div class="closeTS"></div> -->
  181. </div>
  182. <div id="update">
  183. <button type="button" class="close"></button>
  184. <div class="dc">
  185. <a href="/soft/chrome_64.zip">本地下载(64位)</a>
  186. <a href="/soft/chrome_32.zip">本地下载(32位)</a></div>
  187. <!-- <a href="/soft/chrome.zip" class="downC"></a> -->
  188. <img src="images/layout/update.jpg">
  189. </div>
  190. <div id="updateWin7">
  191. <button type="button" class="close"></button>
  192. <div class="dc">
  193. <a href="/soft/IE11.zip">本地下载</a>
  194. </div>
  195. <img src="images/layout/update.png">
  196. </div>
  197. <ul class="map-list">
  198. <li class="baseSatellite active" mid="gr">
  199. <img src="images/layout/yingxiang.png">
  200. <p class="name">影像图</p>
  201. <div class="mapchoose-border"></div>
  202. </li>
  203. <li class="baseTerrain" mid="gt">
  204. <img src="images/layout/dishi.png">
  205. <p class="name">地势图</p>
  206. <div class="mapchoose-border"></div>
  207. </li>
  208. <li class="baseStreet" mid="gm">
  209. <img src="images/layout/jiaot.png">
  210. <p class="name">线划图</p>
  211. <div class="mapchoose-border"></div>
  212. </li>
  213. </ul>
  214. <script type="text/javascript">
  215. var version = navigator.userAgent;
  216. var verIdx = version.split("Windows NT ")[1];
  217. var cv = verIdx.slice(0,1);
  218. if(cv >= 6){
  219. $("#updateWin7").show();
  220. $("#updateWin7").addClass('updateV');
  221. $("#update").removeClass('updateV');
  222. $("#update").hide();
  223. }else if(cv < 6){
  224. $("#update").show();
  225. $("#update").addClass('updateV');
  226. $("#updateWin7").removeClass('updateV');
  227. $("#updateWin7").hide();
  228. }
  229. </script>
  230. </body>
  231. </html>