amap.js 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497
  1. (function () {
  2. var infoWindow;
  3. var lnglat;
  4. var mainMap;
  5. var getVehicleData;
  6. var vehicleMarker;
  7. var overlayData;
  8. var vehicleMarker;
  9. var circle;
  10. var page = {
  11. init: function ($page) {
  12. //初始化顶部导航栏
  13. function init_nav(){
  14. var _html = '';
  15. _html += '<div class="my">';
  16. _html += '<i class="iconfont icon-people"></i>';
  17. _html += '</div>';
  18. /*
  19. _html += '\
  20. <div class="searchBox">\
  21. <i class="iconfont icon-search"></i>\
  22. <div class="search" >搜索应用</div>\
  23. </div>';
  24. */
  25. _html += '\
  26. <div class="f-page-title alarm">\
  27. <button type="button" class="lr-btn" style="font-size:16px;line-height:1;color:#0c86d8;">\
  28. 110丢失报警\
  29. </button>\
  30. </div>';
  31. _html += '<div class="chart">';
  32. _html += '<i class="iconfont icon-rank"></i>';
  33. _html += '</div>';
  34. _html += '<div class="message">';
  35. _html += '<i class="iconfont icon-community"></i>';
  36. _html += '<span class="red"></span>';
  37. _html += '</div>';
  38. // $page.parent().find('.f-page-header').addClass('lr-workspace-header').html(_html);
  39. $('.f-page-header').addClass('lr-workspace-header').html(_html);
  40. /*
  41. // 点击搜索框
  42. $page.parent().find('.searchBox').on('tap', function () {
  43. learun.nav.go({ path: 'workspace/search', title: '', isBack: true, isHead: true });
  44. });
  45. */
  46. // 点击报警
  47. // $page.parent().find('.alarm').on('tap', function () {
  48. // learun.nav.go({ path: 'baojingindex', title: '110丢失报警', isBack: true, isHead: true,type:'right' });
  49. // if(infoWindow){infoWindow.close( );}
  50. // });
  51. // // 点击图表
  52. // $page.parent().find('.chart').on('tap', function () {
  53. // learun.nav.go({ path: 'tongji', title: '统计', isBack: true, isHead: true,type:'right' });
  54. // if(infoWindow){infoWindow.close( );}
  55. // });
  56. // // 点击消息图标
  57. // $page.parent().find('.message').on('tap', function () {
  58. // learun.nav.go({ path: 'baojinginfo', title: '消息', isBack: true, isHead: true,type:'right' });
  59. // if(infoWindow){infoWindow.close( );}
  60. // });
  61. // $page.parent().find('.my').on('tap', function () {
  62. // learun.nav.go({ path: 'my', title: '我的', isBack: true, isHead: true,type:'right' });
  63. // if(infoWindow){infoWindow.close( );}
  64. // });
  65. // // 注册扫描
  66. // $page.parent().find('.scanner').on('tap', function () {
  67. // learun.code.scan(function (res) {
  68. // if (res.status === 'success') {
  69. // learun.layer.toast(res.msg);
  70. // }
  71. // else {
  72. // learun.layer.toast('扫描失败:' + res.msg);
  73. // }
  74. // });
  75. // });
  76. $('.alarm').on('tap', function () {
  77. learun.nav.go({ path: 'baojingindex', title: '110丢失报警', isBack: true, isHead: true,type:'right' });
  78. if(infoWindow){infoWindow.close( );}
  79. });
  80. // 点击图表
  81. $('.chart').on('tap', function () {
  82. learun.nav.go({ path: 'tongji', title: '统计', isBack: true, isHead: true,type:'right' });
  83. if(infoWindow){infoWindow.close( );}
  84. });
  85. // 点击消息图标
  86. $('.message').on('tap', function () {
  87. learun.nav.go({ path: 'baojinginfo', title: '消息', isBack: true, isHead: true,type:'right' });
  88. if(infoWindow){infoWindow.close( );}
  89. });
  90. $('.my').on('tap', function () {
  91. learun.nav.go({ path: 'my', title: '我的', isBack: true, isHead: true,type:'right' });
  92. if(infoWindow){infoWindow.close( );}
  93. });
  94. // 注册扫描
  95. $('.scanner').on('tap', function () {
  96. learun.code.scan(function (res) {
  97. if (res.status === 'success') {
  98. learun.layer.toast(res.msg);
  99. }
  100. else {
  101. learun.layer.toast('扫描失败:' + res.msg);
  102. }
  103. });
  104. });
  105. }
  106. //获取手机GPS位置
  107. var locationFlag = true;
  108. function get_mobile_gps_location(onSuccess,onError){
  109. var onSuccess = function(position) {
  110. // alert('Latitude: ' + position.coords.latitude + '\n' +
  111. // 'Longitude: ' + position.coords.longitude + '\n' +
  112. // 'Altitude: ' + position.coords.altitude + '\n' +
  113. // 'Accuracy: ' + position.coords.accuracy + '\n' +
  114. // 'Altitude Accuracy: ' + position.coords.altitudeAccuracy + '\n' +
  115. // 'Heading: ' + position.coords.heading + '\n' +
  116. // 'Speed: ' + position.coords.speed + '\n' +
  117. // 'Timestamp: ' + position.timestamp + '\n');
  118. var lnglat = new AMap.LngLat(position.coords.longitude, position.coords.latitude);
  119. startEnd.start = lnglat;
  120. userMarker.setPosition(lnglat);
  121. userMarker.setMap(mainMap);
  122. if(locationFlag){
  123. if(latlngSign){
  124. mainMap.setFitView();
  125. }else{
  126. mainMap.setFitView([userMarker]);
  127. }
  128. locationFlag = false;
  129. }else{
  130. if(latlngSign){
  131. mainMap.setFitView([vehicleMarker]);
  132. }
  133. locationFlag = true;
  134. }
  135. };
  136. // onError Callback receives a PositionError object
  137. //
  138. function onError(error) {
  139. console.log('code: ' + error.code + '\n' +
  140. 'message: ' + error.message + '\n');
  141. }
  142. navigator.geolocation.getCurrentPosition(onSuccess, onError);
  143. }
  144. var userinfo = learun.storage.get('userinfo');
  145. //上报客户端极光注册信息
  146. function update_jg_registrationid(){
  147. var onGetRegistrationID = function(data) {
  148. try {
  149. if (data.length == 0) {
  150. var t1 = window.setTimeout(getRegistrationID, 1000);
  151. }else{
  152. var post_data = {
  153. "regid":data,
  154. "uid":userinfo.baseinfo.userId
  155. };
  156. learun.httppost(config.webapi+'?s=api/update_jg_registrationid',post_data,function(res){
  157. });
  158. }
  159. } catch (exception) {
  160. }
  161. };
  162. var getRegistrationID = function() {
  163. window.JPush.getRegistrationID(onGetRegistrationID);
  164. };
  165. window.setTimeout(getRegistrationID, 1000);
  166. }
  167. learun.layer.loading(true, "加载数据中");
  168. if(window.lrmui.isreal){
  169. //上报用户极光推注册信息
  170. update_jg_registrationid();
  171. //获取手机GPS位置信息
  172. get_mobile_gps_location();
  173. }
  174. init_nav();
  175. //地图
  176. var startEnd = {start: null, end: null};
  177. var routePageData = null;
  178. var userIcon = new AMap.Icon({size: new AMap.Size(23,23), image:'./images/location.png', imageSize:new AMap.Size(23,23)})
  179. var userMarker = new AMap.Marker({icon: userIcon, offset:new AMap.Pixel(-16, -28)});
  180. get_mobile_gps_location();
  181. //车辆信息初始化
  182. var timeInterval = 10000;
  183. //地图初始化
  184. if(!mainMap){
  185. mainMap = new AMap.Map('amapcontainer', {
  186. center: [120.210649,30.246071],
  187. zoom: 15
  188. });
  189. }
  190. mainMap.on('complete', function(){
  191. get_mobile_gps_location()
  192. learun.layer.loading(false);
  193. });
  194. var bicycleIcon = new AMap.Icon({size: new AMap.Size(32,32), image:'./images/bicycle-2.png', imageSize:new AMap.Size(32,32)})
  195. if(!vehicleMarker){
  196. vehicleMarker = new AMap.Marker({icon:bicycleIcon, offset:new AMap.Pixel(0, -51)});
  197. }
  198. if(!circle){
  199. circle = new AMap.Circle({
  200. radius: 0,
  201. center: [0, 0],
  202. borderWeight: 3,
  203. strokeColor: "#FF33FF",
  204. strokeOpacity: 1,
  205. strokeWeight: 6,
  206. strokeOpacity: 0.2,
  207. fillOpacity: 0.2,
  208. strokeStyle: 'dashed',
  209. strokeDasharray: [10, 10],
  210. // 线样式还支持 'dashed'
  211. fillColor : '#1791fc',
  212. zIndex: 50,
  213. });
  214. }
  215. circle.setMap(mainMap);
  216. if(!overlayData){
  217. overlayData = {map:mainMap, vehicle:vehicleMarker, circle:circle};
  218. }
  219. var latlngSign = null;
  220. getVehicleData = function(t, first=false){
  221. var deviceNumber = learun.storage.get('userinfo').baseinfo['deviceNumber'];
  222. var mapData = null;
  223. learun.httpget(config.webapi+"/?s=api/get_map_index_data", {deviceNumber:deviceNumber}, function (_res) {
  224. mapData = _res.data;
  225. if(!mapData){
  226. learun.layer.warning('无地图数据,请检测网络或联系管理员!', function () { }, '提示', '关闭');
  227. return;
  228. }
  229. latlngSign = mapData.vehicleLocation.longitude;
  230. if(!latlngSign){
  231. first = false;
  232. }else{
  233. var vehiclePt = new AMap.LngLat(+mapData.vehicleLocation.longitude, +mapData.vehicleLocation.latitude);
  234. startEnd.end = vehiclePt;
  235. t.vehicle.setPosition(vehiclePt);
  236. t.vehicle.setMap(t.map);
  237. }
  238. if(first){
  239. t.map.setZoomAndCenter(15,vehiclePt);
  240. }
  241. $('#battery').html(mapData.battery+'%');
  242. //在线状态
  243. if(mapData.onlineTime){
  244. if(parseInt(mapData.onlineTime) < 0 ){
  245. $('#on-off-online').text('未在线过');
  246. $('#on-off-online').css({color:"gray"})
  247. var routeTime = new Date(0);
  248. routePageData = {speed: mapData.speed == null ? 0 : mapData.speed, lastTime:routeTime.Format("yyyy-MM-dd hh:mm:ss")};
  249. }else{
  250. var routeTime = new Date(mapData.onlineTime*1000);
  251. routePageData = {speed: mapData.speed == null ? 0 : mapData.speed, lastTime:routeTime.Format("yyyy-MM-dd hh:mm:ss")};
  252. var interval = parseInt(new Date().getTime()/1000) - mapData.onlineTime;
  253. if(interval < 24*3600){
  254. $('#on-off-online').text('在线中');
  255. $('#on-off-online').css({color:"green"})
  256. }else{
  257. var day = parseInt(interval/24/3600);
  258. $('#on-off-online').text('离线'+day+'天');
  259. $('#on-off-online').css({color:"gray"})
  260. }
  261. }
  262. }
  263. var fence = mapData.fenceShapeInfo;
  264. if(fence){
  265. fence = JSON.parse(fence);
  266. if(fence.type == 'circle'){
  267. t.circle.setCenter(new AMap.LngLat(fence.data.center.lng, fence.data.center.lat));
  268. t.circle.setRadius(fence.data.radius);
  269. t.circle.setMap(t.map);
  270. }
  271. }
  272. if(mapData.lockStatus == 1){
  273. $('#lockStatus').removeClass('icon-jiesuo');
  274. $('#lockStatus').addClass('icon-suo');
  275. $('#lock-text').text('解锁');
  276. }else{
  277. $('#lock-text').text('锁车');
  278. }
  279. });
  280. };
  281. //定位
  282. $('#user-location').on('tap', function(){
  283. get_mobile_gps_location();
  284. });
  285. //锁车
  286. $('#car-lock').on('tap', function(){
  287. var lockStatus = $('#lockStatus');
  288. var postData = {
  289. deviceNumber: userinfo.baseinfo.deviceNumber,
  290. lockStatus: lockStatus.hasClass('icon-jiesuo') ? 1 : 0
  291. }
  292. learun.httppost(config.webapi+'?s=api/change_lock_status',postData,function(res){
  293. if(!res.success){
  294. // learun.layer.toast('锁车失败');
  295. return;
  296. }
  297. if(lockStatus.hasClass('icon-jiesuo')){
  298. lockStatus.removeClass('icon-jiesuo');
  299. lockStatus.addClass('icon-suo');
  300. $('#lock-text').text('解锁');
  301. // learun.layer.toast('车辆已锁定');
  302. }else{
  303. lockStatus.removeClass('icon-suo');
  304. lockStatus.addClass('icon-jiesuo');
  305. $('#lock-text').text('锁车');
  306. // learun.layer.toast('车辆已解锁');
  307. }
  308. });
  309. });
  310. //test
  311. getVehicleData(overlayData, true);
  312. var geocoder;
  313. AMapUI.defineTpl("ui/overlay/SimpleInfoWindow/tpl/container.html", [], function() {
  314. return document.getElementById('my-infowin-tpl').innerHTML;
  315. });
  316. AMapUI.loadUI(['overlay/SimpleInfoWindow'], function(SimpleInfoWindow) {
  317. lnglat = vehicleMarker.getPosition();
  318. var address = '坐标未解析成功';
  319. if(!geocoder){
  320. geocoder = new AMap.Geocoder({
  321. city: "0571", //城市设为北京,默认:“全国”
  322. radius: 500 //范围,默认:500
  323. });
  324. }
  325. geocoder.getAddress(lnglat, function(status, result) {
  326. if (status === 'complete' && result.regeocode) {
  327. address = result.regeocode.formattedAddress;
  328. if(!infoWindow){
  329. infoWindow = new SimpleInfoWindow({
  330. infoBody: '<span>'+address+'</span>',
  331. //基点指向marker的头部位置
  332. offset: new AMap.Pixel(50, -64)
  333. });
  334. }
  335. infoWindow.open(mainMap, lnglat);
  336. infoWindow.get$Container().on('click', function(){
  337. learun.nav.go({ path: 'amap/navigation', title: '导航', isBack: true, isHead: true, param: startEnd });
  338. if(infoWindow){infoWindow.close( );}
  339. });
  340. }else{
  341. // learun.layer.toast(JSON.stringify(result));
  342. }
  343. });
  344. });
  345. //坐标解析地址
  346. //实时路况图层
  347. var trafficLayer = new AMap.TileLayer.Traffic({
  348. zIndex: 10
  349. });
  350. var trafficLayerAble = false;
  351. trafficLayer.hide();
  352. trafficLayer.setMap(mainMap);
  353. var routeSituationToggle = function (){
  354. if (trafficLayerAble) {
  355. trafficLayer.hide();
  356. trafficLayerAble = false;
  357. $('#route-situation').html('<svg class="icon" aria-hidden="true"><use xlink:href="#icon-lukuang"></use></svg>');
  358. } else {
  359. trafficLayer.show();
  360. trafficLayerAble = true;
  361. $('#route-situation').html('<svg class="icon" aria-hidden="true"><use xlink:href="#icon-lukuang1"></use></svg>');
  362. }
  363. }
  364. $('#route-situation').on('tap', function () {
  365. routeSituationToggle();
  366. });
  367. //地图显示切换(卫星和常规)
  368. var satelliteLayer = new AMap.TileLayer.Satellite();
  369. var isSatelieteAble = false;
  370. learun.mapLayerChange = function (){
  371. if (isSatelieteAble) {
  372. mainMap.remove(satelliteLayer);
  373. isSatelieteAble = false;
  374. $('#layer-change').html('<svg class="icon" aria-hidden="true"><use xlink:href="#icon-qiehuan1"></use></svg>');
  375. } else {
  376. mainMap.add(satelliteLayer);
  377. isSatelieteAble = true;
  378. $('#layer-change').html('<svg class="icon" aria-hidden="true"><use xlink:href="#icon-qiehuan"></use></svg>');
  379. }
  380. }
  381. $('#layer-change').on('tap', function () {
  382. learun.mapLayerChange();
  383. });
  384. //轨迹页跳转
  385. $('#route-play').on('tap', function () {
  386. learun.nav.go({ path: 'amap/route', title: '轨迹回放', isBack: true, isHead: true, param: routePageData });
  387. if(infoWindow){infoWindow.close( );}
  388. });
  389. //围栏页跳转
  390. $('#electric-fence').on('tap', function () {
  391. learun.nav.go({ path: 'amap/fence', title: '围栏设置', isBack: true, isHead: true, param: 'test' });
  392. if(infoWindow){infoWindow.close( );}
  393. });
  394. //保险页跳转
  395. $('.insurance-img').on('tap', function () {
  396. learun.nav.go({ path: 'insure', title: '保险理赔', isBack: true, isHead: true, param: 'test' });
  397. if(infoWindow){infoWindow.close( );}
  398. });
  399. //定时刷新数据
  400. // var mainPageInterval = setInterval(function(){
  401. // if($('.f-page').length > 1){
  402. // // clearTimeout(mainPageInterval);
  403. // return;
  404. // }
  405. // getVehicleData(overlayData);
  406. // }, timeInterval);
  407. },
  408. reload: function ($page, pageinfo) {
  409. if(infoWindow){
  410. infoWindow.open(mainMap, lnglat);
  411. }
  412. getVehicleData(overlayData);
  413. console.log($page);
  414. console.log(pageinfo);
  415. },
  416. destroy: function(pageinfo){
  417. console.log('destroy amap')
  418. }
  419. };
  420. return page;
  421. })();
  422. //icon.js
  423. !function(h){var t,l='<svg><symbol id="icon-suo" viewBox="0 0 1024 1024"><path d="M825.344 400.853H185.899a99.904 99.904 0 0 0-100.011 99.819v423.339a99.883 99.883 0 0 0 100.01 99.797h639.446a99.904 99.904 0 0 0 100.01-99.797V500.693c0-55.125-44.8-99.818-100.01-99.818z m-277.61 308.63v111.104a42.112 42.112 0 1 1-84.225 0V709.483a84.139 84.139 0 0 1-42.133-72.896 84.224 84.224 0 1 1 126.357 72.896zM298.111 401.216h-87.339v-99.37C210.773 130.858 342.784 0.703 505.6 0.703c162.859 0 294.87 130.133 294.87 301.141v99.35h-84.31V298.41c0-115.99-94.25-210.048-210.56-210.048-116.267 0-210.539 94.08-210.539 210.048l3.051 102.784z" ></path></symbol><symbol id="icon-yonghuzuguanli" viewBox="0 0 1024 1024"><path d="M218.764 556.218c32.581-13.963 58.181-18.618 58.181-30.254 0-20.946-20.945-30.255-44.218-44.219-30.254-18.618-72.145-58.181-72.145-132.654 0-65.164 34.909-109.382 88.436-132.655 13.964-6.981 41.891-16.29 30.255-44.218-6.982-18.618-46.546-13.963-72.146 0-60.509 30.255-102.4 95.418-102.4 174.546 0 72.145 34.91 125.672 88.437 160.581C69.818 558.545 0 663.273 0 805.236c0 16.291 13.964 30.255 30.255 30.255s30.254-13.964 30.254-30.255C58.182 663.273 146.62 588.8 218.764 556.218z m616.727-46.545c53.527-37.237 86.109-88.437 86.109-160.582 0-81.455-41.89-146.618-102.4-176.873-25.6-13.963-65.164-18.618-72.145 0-11.637 27.927 13.963 37.237 27.927 44.218 53.527 23.273 86.109 67.491 86.109 132.655 0 72.145-44.218 114.036-72.146 132.654-20.945 13.964-44.218 23.273-44.218 44.219 0 11.636 25.6 16.29 58.182 30.254C875.055 588.8 961.164 665.6 961.164 805.236c0 16.291 13.963 30.255 27.927 30.255 16.29 0 27.927-13.964 27.927-30.255 6.982-141.963-60.509-246.69-181.527-295.563z m-197.818 23.272c65.163-41.89 107.054-114.036 107.054-197.818 0-130.327-104.727-235.054-235.054-235.054S274.618 204.8 274.618 335.127c0 81.455 41.891 155.928 107.055 197.818-151.273 53.528-265.31 200.146-265.31 374.691 0 16.291 13.964 30.255 30.255 30.255 16.291 0 30.255-13.964 30.255-30.255 0-186.181 151.272-337.454 337.454-337.454s337.455 151.273 337.455 337.454c0 16.291 13.963 30.255 30.254 30.255 16.291 0 30.255-13.964 30.255-30.255-4.655-174.545-118.691-321.163-274.618-374.69zM512 512c-97.745 0-174.545-79.127-174.545-174.545 0-97.746 79.127-174.546 174.545-174.546 97.745 0 174.545 79.127 174.545 174.546S609.745 512 512 512z" ></path></symbol><symbol id="icon-lukuang" viewBox="0 0 1024 1024"><path d="M513.210571 422.651043c-46.612621 0-84.393085 37.784558-84.393085 84.397178s37.780465 84.397179 84.393085 84.397179 84.397179-37.784558 84.397179-84.397179-37.784558-84.397179-84.397179-84.397178z m210.988342-168.793335h-421.980777c-139.832745 0-253.190513 113.357767-253.190513 253.190513s113.357767 253.190513 253.190513 253.190513h421.980777c139.837862 0 253.195629-113.357767 253.19563-253.190513S864.035752 253.857708 724.198913 253.857708z m0 421.984871h-421.980777c-93.225241 0-168.794357-75.573209-168.794357-168.794358 0-93.225241 75.569116-168.794357 168.794357-168.794357h421.980777c93.225241 0 168.798451 75.569116 168.798451 168.794357 0 93.221148-75.573209 168.794357-168.798451 168.794358z m0-253.191536c-46.604434 0-84.393085 37.784558-84.393085 84.397178s37.788651 84.397179 84.393085 84.397179c46.612621 0 84.401272-37.784558 84.401272-84.397179s-37.788651-84.397179-84.401272-84.397178z m-421.980777 0c-46.612621 0-84.397179 37.784558-84.397179 84.397178s37.784558 84.397179 84.397179 84.397179 84.397179-37.784558 84.397179-84.397179-37.784558-84.397179-84.397179-84.397178z" fill="#666666" ></path></symbol><symbol id="icon-ziyuan" viewBox="0 0 1411 1024"><path d="M1126.84915 909.251735a420.939538 420.939538 0 1 0-831.153566 92.709546H1116.711339a429.020402 429.020402 0 0 0 10.137811-92.709546z" fill="#BAD4FF" ></path><path d="M822.861749 481.994431a255.061444 255.061444 0 1 0-232.8758 0A443.565957 443.565957 0 0 0 263.078279 909.251735a448.855249 448.855249 0 0 0 11.166285 97.558064 22.038719 22.038719 0 0 0 21.45102 17.190201H1116.711339a22.038719 22.038719 0 0 0 21.45102-17.190201A440.774385 440.774385 0 0 0 822.861749 481.994431zM495.072531 255.436396A210.984006 210.984006 0 1 1 705.321913 466.273478a211.130931 211.130931 0 0 1-210.249382-210.837082z m603.126284 724.486165H313.767334a390.67303 390.67303 0 0 1-6.611616-70.670826 398.900819 398.900819 0 1 1 797.654713 0 389.497632 389.497632 0 0 1-6.611616 70.670826z" fill="#2081D1" ></path><path d="M140.396075 847.690246H48.274229A281.214058 281.214058 0 0 1 44.160334 799.792763a295.318838 295.318838 0 0 1 295.024989-294.878064 23.067193 23.067193 0 0 0 9.843961-2.350797 22.038719 22.038719 0 0 0 1.469248-38.641221 22.920268 22.920268 0 0 0-11.019359-3.085421H338.009925a153.389486 153.389486 0 0 1-20.422547-305.456649 21.891794 21.891794 0 0 0 18.806374-24.683366 22.185644 22.185644 0 0 0-24.83029-18.953298 197.173075 197.173075 0 0 0-74.050097 364.667341A337.927029 337.927029 0 0 0 8.604534 874.577483 22.038719 22.038719 0 0 0 29.467855 891.767684h110.92822a22.038719 22.038719 0 0 0 0-44.077438zM1173.865085 476.411288a197.173075 197.173075 0 0 0-73.462398-364.520416 22.038719 22.038719 0 1 0-6.023917 44.077438A153.389486 153.389486 0 0 1 1072.633901 460.83726a22.038719 22.038719 0 1 0 0 44.077439 295.318838 295.318838 0 0 1 294.584214 294.878064 281.214058 281.214058 0 0 1-4.113894 47.897483h-91.681072a22.038719 22.038719 0 0 0 0 44.077438H1381.175971a22.038719 22.038719 0 0 0 21.45102-17.190201 337.927029 337.927029 0 0 0-228.761906-398.166195z" fill="#2081D1" ></path></symbol><symbol id="icon-lukuang1" viewBox="0 0 1026 1024"><path d="M513.001817 418.726663c-51.518351 0-93.270267 41.757033-93.270267 93.270267 0 51.518351 41.751916 93.275383 93.270267 93.275383 51.513234 0 93.269243-41.756009 93.269243-93.275383 0.001023-51.513234-41.754986-93.270267-93.269243-93.270267z" fill="#F9AE00" ></path><path d="M746.177484 232.181013H279.815917c-154.534586 0-279.815917 125.282355-279.815917 279.815917 0 154.539702 125.282355 279.822057 279.815917 279.822057h466.361567c154.545842 0 279.82615-125.282355 279.82615-279.822057 0-154.534586-125.280308-279.815917-279.82615-279.815917z m0 466.367707H279.815917c-103.026468 0-186.54565-83.524299-186.54565-186.550767S176.789449 325.45128 279.815917 325.45128h466.361567c103.031585 0 186.550767 83.519182 186.550766 186.54565S849.210092 698.54872 746.177484 698.54872z" fill="#8D8D8E" ></path><path d="M746.177484 418.726663c-51.508117 0-93.270267 41.757033-93.270267 93.270267 0 51.518351 41.763173 93.275383 93.270267 93.275383 51.513234 0 93.27436-41.756009 93.27436-93.275383 0.001023-51.513234-41.761126-93.270267-93.27436-93.270267z" fill="#6EBE6E" ></path><path d="M279.815917 418.726663c-51.513234 0-93.270267 41.757033-93.270267 93.270267 0 51.518351 41.757033 93.275383 93.270267 93.275383 51.518351 0 93.27436-41.756009 93.27436-93.275383 0-51.513234-41.756009-93.270267-93.27436-93.270267z" fill="#F1344C" ></path></symbol><symbol id="icon-qiehuan" viewBox="0 0 1040 1024"><path d="M690.238402 52.962084c39.422905 0 71.478903 32.852421 71.478903 73.171301v562.971029c0 40.31888-32.055998 73.171301-71.478903 73.171301H120.099572c-39.422905 0-71.478903-32.852421-71.478903-73.171301V126.232938c0-40.31888 32.055998-73.171301 71.478903-73.171301h570.13883m0-48.581761H120.099572C53.797414 4.479876 0.038907 58.935252 0.038907 126.232938v562.971029c0 67.198133 53.758507 121.753062 120.060665 121.753062h570.13883c66.302158 0 120.060665-54.455376 120.060665-121.753062V126.232938c0-67.297686-53.758507-121.753062-120.060665-121.753062z" fill="#7D7D7D" ></path><path d="M345.188431 217.522847h570.138829c66.302158 0 120.060665 54.455376 120.060665 121.753062v562.971029c0 67.198133-53.758507 121.753062-120.060665 121.753062H345.188431c-66.302158 0-120.060665-54.455376-120.060665-121.753062V339.176356c0-67.198133 53.758507-121.65351 120.060665-121.653509z" fill="#FFB734" ></path></symbol><symbol id="icon-qiehuan1" viewBox="0 0 1024 1024"><path d="M904.9 218.2H803.7v466.9c0 66.8-53.3 120.8-119.1 120.8H220.3v91.5c0 66.8 53.3 120.8 119.1 120.8h565.5c65.8 0 119.1-54.1 119.1-120.8V338.9c0-66.7-53.3-120.7-119.1-120.7z" fill="#FFB734" ></path><path d="M119.1 781.7c-52.4 0-95-43.4-95-96.7V126.6c0-53.3 42.6-96.7 95-96.7h565.5c52.4 0 95 43.4 95 96.7V685c0 53.3-42.6 96.7-95 96.7H119.1z" fill="#FFFFFF" ></path><path d="M684.6 54.1c39.1 0 70.9 32.5 70.9 72.6v558.4c0 40-31.8 72.6-70.9 72.6H119.1c-39.1 0-70.9-32.5-70.9-72.6V126.6c0-40 31.8-72.6 70.9-72.6h565.5m0-48.1H119.1C53.3 5.9 0 59.9 0 126.6V685c0 66.7 53.3 120.8 119.1 120.8h565.5c65.8 0 119.1-54 119.1-120.8V126.7c0-66.8-53.3-120.8-119.1-120.8z" fill="#7D7D7D" ></path></symbol><symbol id="icon-jiesuo" viewBox="0 0 1024 1024"><path d="M810.927 408.343H579.399v-0.486h-207.41V261.798c0-77.256 62.88-140.172 140.093-140.172 77.22 0 139.984 62.916 139.984 140.172l0.002 55.467h87.209v-59.172c0-125.435-101.887-227.433-227.248-227.433S284.663 132.658 284.663 258.093v149.764h-64.31c-31.009 0-56.14 25.146-56.14 56.177v410.059c0 31.079 25.131 56.226 56.14 56.226h583.346c31.016 0 56.088-25.146 56.088-56.226v-410.06c-0.004-28.562-21.288-52.116-48.86-55.69zM543.559 679.741v89.545c0 4.004-3.308 7.369-7.373 7.369H487.93c-4.115 0-7.426-3.371-7.426-7.369v-89.545c-22.674-11.596-38.381-34.853-38.381-62.115 0-38.568 31.302-69.939 69.851-69.939 38.608 0 69.909 31.371 69.909 69.939 0.053 27.263-15.651 50.52-38.324 62.115z" fill="#5A5B5B" ></path></symbol><symbol id="icon-guijichaxun" viewBox="0 0 1024 1024"><path d="M693.76 716.8H215.04c-52.736 0-95.232-42.496-95.232-95.232s42.496-95.232 95.232-95.232h186.368c84.48 0 153.6-68.608 153.6-153.6s-68.608-153.6-153.6-153.6H299.52c2.048 9.216 3.072 18.944 3.072 29.184s-1.024 19.968-3.072 29.184h101.888c52.736 0 95.232 42.496 95.232 95.232s-42.496 95.232-95.232 95.232H215.04c-84.48 0-153.6 68.608-153.6 153.6s68.608 153.6 153.6 153.6h478.72c-2.048-9.216-3.072-18.944-3.072-29.184s1.024-19.968 3.072-29.184zM840.704 654.336c-50.176 0-91.136 40.96-91.136 91.136s40.96 91.136 91.136 91.136 91.136-40.96 91.136-91.136-40.96-91.136-91.136-91.136zM123.392 161.792C87.552 174.08 61.44 208.384 61.44 248.32c0 50.176 40.96 91.136 91.136 91.136s91.136-40.96 91.136-91.136c0-39.936-26.112-74.24-61.952-86.528 0 0-26.112-9.728-58.368 0z" fill="#2C7DFA" ></path></symbol><symbol id="icon-dianziweilan" viewBox="0 0 1024 1024"><path d="M982.22 585.165A475.136 475.136 0 0 1 585.166 987.29V1024H438.784v-36.71A475.085 475.085 0 0 1 41.728 585.114H0V438.886h43.469A475.34 475.34 0 0 1 438.784 48.794V0h146.33v48.947A475.443 475.443 0 0 1 980.48 438.784H1024v146.33h-41.78z m-506.777 393.42h73.114v-73.164h-73.114v73.216zM45.363 475.444v73.114h73.216v-73.114H45.363z m503.194-430.08h-73.114v73.216h73.114V45.363z m33.28 77.415v40.14H442.163V122.88a401.869 401.869 0 0 0-324.71 319.488h45.21v139.725h-47.105a401.613 401.613 0 0 0 326.605 331.213v-51.764h139.674v51.712A401.715 401.715 0 0 0 908.39 582.093h-47.052V442.419h45.21A401.92 401.92 0 0 0 581.836 122.88v-0.051z m396.8 352.665v73.114H905.42v-73.114h73.216zM284.416 512a227.533 227.533 0 1 1 455.066 0 227.533 227.533 0 0 1-455.066 0z" fill="" ></path></symbol></svg>',c=(t=document.getElementsByTagName("script"))[t.length-1].getAttribute("data-injectcss");if(c&&!h.__iconfont__svg__cssinject__){h.__iconfont__svg__cssinject__=!0;try{document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>")}catch(t){console&&console.log(t)}}!function(t){if(document.addEventListener)if(~["complete","loaded","interactive"].indexOf(document.readyState))setTimeout(t,0);else{var c=function(){document.removeEventListener("DOMContentLoaded",c,!1),t()};document.addEventListener("DOMContentLoaded",c,!1)}else document.attachEvent&&(e=t,i=h.document,a=!1,o=function(){a||(a=!0,e())},(l=function(){try{i.documentElement.doScroll("left")}catch(t){return void setTimeout(l,50)}o()})(),i.onreadystatechange=function(){"complete"==i.readyState&&(i.onreadystatechange=null,o())});var e,i,a,o,l}(function(){var t,c,e,i,a,o;(t=document.createElement("div")).innerHTML=l,l=null,(c=t.getElementsByTagName("svg")[0])&&(c.setAttribute("aria-hidden","true"),c.style.position="absolute",c.style.width=0,c.style.height=0,c.style.overflow="hidden",e=c,(i=document.body).firstChild?(a=e,(o=i.firstChild).parentNode.insertBefore(a,o)):i.appendChild(e))})}(window);