amap.js 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464
  1. (function () {
  2. var infoWindow;
  3. var lnglat;
  4. var mainMap;
  5. var page = {
  6. init: function ($page) {
  7. //初始化顶部导航栏
  8. function init_nav(){
  9. var _html = '';
  10. _html += '<div class="my">';
  11. _html += '<i class="iconfont icon-people"></i>';
  12. _html += '</div>';
  13. /*
  14. _html += '\
  15. <div class="searchBox">\
  16. <i class="iconfont icon-search"></i>\
  17. <div class="search" >搜索应用</div>\
  18. </div>';
  19. */
  20. _html += '\
  21. <div class="f-page-title alarm">\
  22. <button type="button" class="lr-btn" style="font-size:16px;line-height:1;color:#0c86d8;">\
  23. 110丢失报警\
  24. </button>\
  25. </div>';
  26. _html += '<div class="chart">';
  27. _html += '<i class="iconfont icon-rank"></i>';
  28. _html += '</div>';
  29. _html += '<div class="message">';
  30. _html += '<i class="iconfont icon-community"></i>';
  31. _html += '<span class="red"></span>';
  32. _html += '</div>';
  33. $page.parent().find('.f-page-header').addClass('lr-workspace-header').html(_html);
  34. /*
  35. // 点击搜索框
  36. $page.parent().find('.searchBox').on('tap', function () {
  37. learun.nav.go({ path: 'workspace/search', title: '', isBack: true, isHead: true });
  38. });
  39. */
  40. // 点击报警
  41. $page.parent().find('.alarm').on('tap', function () {
  42. learun.nav.go({ path: 'baojingindex', title: '110丢失报警', isBack: true, isHead: true,type:'right' });
  43. if(infoWindow){infoWindow.close( );}
  44. });
  45. // 点击图表
  46. $page.parent().find('.chart').on('tap', function () {
  47. learun.nav.go({ path: 'tongji', title: '统计', isBack: true, isHead: true,type:'right' });
  48. if(infoWindow){infoWindow.close( );}
  49. });
  50. // 点击消息图标
  51. $page.parent().find('.message').on('tap', function () {
  52. learun.nav.go({ path: 'baojinginfo', title: '消息', isBack: true, isHead: true,type:'right' });
  53. if(infoWindow){infoWindow.close( );}
  54. });
  55. $page.parent().find('.my').on('tap', function () {
  56. learun.nav.go({ path: 'my', title: '我的', isBack: true, isHead: true,type:'right' });
  57. if(infoWindow){infoWindow.close( );}
  58. });
  59. // 注册扫描
  60. $page.parent().find('.scanner').on('tap', function () {
  61. learun.code.scan(function (res) {
  62. if (res.status === 'success') {
  63. learun.layer.toast(res.msg);
  64. }
  65. else {
  66. learun.layer.toast('扫描失败:' + res.msg);
  67. }
  68. });
  69. });
  70. }
  71. //获取手机GPS位置
  72. var locationFlag = true;
  73. function get_mobile_gps_location(onSuccess,onError){
  74. var onSuccess = function(position) {
  75. // alert('Latitude: ' + position.coords.latitude + '\n' +
  76. // 'Longitude: ' + position.coords.longitude + '\n' +
  77. // 'Altitude: ' + position.coords.altitude + '\n' +
  78. // 'Accuracy: ' + position.coords.accuracy + '\n' +
  79. // 'Altitude Accuracy: ' + position.coords.altitudeAccuracy + '\n' +
  80. // 'Heading: ' + position.coords.heading + '\n' +
  81. // 'Speed: ' + position.coords.speed + '\n' +
  82. // 'Timestamp: ' + position.timestamp + '\n');
  83. var lnglat = new AMap.LngLat(position.coords.longitude, position.coords.latitude);
  84. startEnd.start = lnglat;
  85. userMarker.setPosition(lnglat);
  86. userMarker.setMap(mainMap);
  87. if(locationFlag){
  88. if(latlngSign){
  89. mainMap.setFitView();
  90. }else{
  91. mainMap.setFitView([userMarker]);
  92. }
  93. locationFlag = false;
  94. }else{
  95. if(latlngSign){
  96. mainMap.setFitView([vehicleMarker]);
  97. }
  98. locationFlag = true;
  99. }
  100. };
  101. // onError Callback receives a PositionError object
  102. //
  103. function onError(error) {
  104. console.log('code: ' + error.code + '\n' +
  105. 'message: ' + error.message + '\n');
  106. }
  107. navigator.geolocation.getCurrentPosition(onSuccess, onError);
  108. }
  109. var userinfo = learun.storage.get('userinfo');
  110. //上报客户端极光注册信息
  111. function update_jg_registrationid(){
  112. var onGetRegistrationID = function(data) {
  113. try {
  114. if (data.length == 0) {
  115. var t1 = window.setTimeout(getRegistrationID, 1000);
  116. }else{
  117. var post_data = {
  118. "regid":data,
  119. "uid":userinfo.baseinfo.userId
  120. };
  121. learun.httppost(config.webapi+'?s=api/update_jg_registrationid',post_data,function(res){
  122. });
  123. }
  124. } catch (exception) {
  125. }
  126. };
  127. var getRegistrationID = function() {
  128. window.JPush.getRegistrationID(onGetRegistrationID);
  129. };
  130. window.setTimeout(getRegistrationID, 1000);
  131. }
  132. learun.layer.loading(true, "加载数据中");
  133. if(window.lrmui.isreal){
  134. //上报用户极光推注册信息
  135. update_jg_registrationid();
  136. //获取手机GPS位置信息
  137. get_mobile_gps_location();
  138. }
  139. init_nav();
  140. //地图
  141. var startEnd = {start: null, end: null};
  142. var fencePageData = null;
  143. var routePageData = null;
  144. var userIcon = new AMap.Icon({size: new AMap.Size(23,23), image:'./images/location.png', imageSize:new AMap.Size(23,23)})
  145. var userMarker = new AMap.Marker({icon: userIcon, offset:new AMap.Pixel(-16, -28)});
  146. get_mobile_gps_location();
  147. //车辆信息初始化
  148. var timeInterval = 10000;
  149. //地图初始化
  150. mainMap = new AMap.Map('amapcontainer', {
  151. center: [120.210649,30.246071],
  152. zoom: 15
  153. });
  154. mainMap.on('complete', function(){
  155. get_mobile_gps_location()
  156. learun.layer.loading(false);
  157. });
  158. var bicycleIcon = new AMap.Icon({size: new AMap.Size(32,32), image:'./images/bicycle-2.png', imageSize:new AMap.Size(32,32)})
  159. var vehicleMarker = new AMap.Marker({icon:bicycleIcon, offset:new AMap.Pixel(0, -51)});
  160. var circle = new AMap.Circle({
  161. radius: 0,
  162. center: [0, 0],
  163. borderWeight: 3,
  164. strokeColor: "#FF33FF",
  165. strokeOpacity: 1,
  166. strokeWeight: 6,
  167. strokeOpacity: 0.2,
  168. fillOpacity: 0.2,
  169. strokeStyle: 'dashed',
  170. strokeDasharray: [10, 10],
  171. // 线样式还支持 'dashed'
  172. fillColor : '#1791fc',
  173. zIndex: 50,
  174. });
  175. circle.setMap(mainMap);
  176. var overlayData = {map:mainMap, vehicle:vehicleMarker, circle:circle};
  177. var latlngSign = null;
  178. var getVehicleData = function(t, first=false){
  179. var deviceNumber = userinfo.baseinfo['deviceNumber'];
  180. var mapData = null;
  181. learun.httpget(config.webapi+"/?s=api/get_map_index_data", {deviceNumber:deviceNumber}, function (_res) {
  182. mapData = _res.data;
  183. console.log(mapData);
  184. if(!mapData){
  185. learun.layer.warning('无地图数据,请检测网络或联系管理员!', function () { }, '提示', '关闭');
  186. return;
  187. }
  188. latlngSign = mapData.vehicleLocation.longitude;
  189. if(!latlngSign){
  190. first = false;
  191. }else{
  192. var vehiclePt = new AMap.LngLat(+mapData.vehicleLocation.longitude, +mapData.vehicleLocation.latitude);
  193. startEnd.end = vehiclePt;
  194. t.vehicle.setPosition(vehiclePt);
  195. t.vehicle.setMap(t.map);
  196. }
  197. console.log(startEnd)
  198. if(first){
  199. t.map.setZoomAndCenter(15,vehiclePt);
  200. }
  201. $page.find('#battery').html(mapData.battery+'%');
  202. //在线状态
  203. if(mapData.onlineTime){
  204. if(parseInt(mapData.onlineTime) < 0 ){
  205. $('#on-off-online').text('未在线过');
  206. $('#on-off-online').css({color:"gray"})
  207. var routeTime = new Date(0);
  208. routePageData = {speed: mapData.speed == null ? 0 : mapData.speed, lastTime:routeTime.Format("yyyy-MM-dd hh:mm:ss")}
  209. }else{
  210. var routeTime = new Date(mapData.onlineTime*1000);
  211. routePageData = {speed: mapData.speed == null ? 0 : mapData.speed, lastTime:routeTime.Format("yyyy-MM-dd hh:mm:ss")}
  212. console.log('testtime')
  213. var interval = parseInt(new Date().getTime()/1000) - mapData.onlineTime;
  214. if(interval < 24*3600){
  215. $('#on-off-online').text('在线中');
  216. $('#on-off-online').css({color:"green"})
  217. }else{
  218. var day = parseInt(interval/24/3600);
  219. $('#on-off-online').text('离线'+day+'天');
  220. $('#on-off-online').css({color:"gray"})
  221. console.log(mapData.onlineTime);
  222. console.log(new Date().getTime());
  223. }
  224. }
  225. }
  226. var fence = mapData.fenceShapeInfo;
  227. if(fence){
  228. fence = JSON.parse(fence);
  229. if(fence.type == 'circle'){
  230. t.circle.setCenter(new AMap.LngLat(fence.data.center.lng, fence.data.center.lat));
  231. t.circle.setRadius(fence.data.radius);
  232. t.circle.setMap(t.map);
  233. }
  234. }
  235. if(mapData.lockStatus == 1){
  236. $page.find('#lockStatus').removeClass('icon-jiesuo');
  237. $page.find('#lockStatus').addClass('icon-suo');
  238. }
  239. fencePageData = {fenceInfo: fence, defaultLocation: vehiclePt, fenceStatus:mapData.fenceAlarmStatus};
  240. });
  241. };
  242. //定位
  243. $page.find('#user-location').on('tap', function(){
  244. get_mobile_gps_location();
  245. });
  246. //锁车
  247. $page.find('#car-lock').on('tap', function(){
  248. var lockStatus = $page.find('#lockStatus');
  249. var postData = {
  250. deviceNumber: userinfo.baseinfo.deviceNumber,
  251. lockStatus: lockStatus.hasClass('icon-jiesuo') ? 1 : 0
  252. }
  253. learun.httppost(config.webapi+'?s=api/change_lock_status',postData,function(res){
  254. if(!res.success){
  255. learun.layer.toast('锁车失败');
  256. return;
  257. }
  258. if(lockStatus.hasClass('icon-jiesuo')){
  259. lockStatus.removeClass('icon-jiesuo');
  260. lockStatus.addClass('icon-suo');
  261. learun.layer.toast('车辆已锁定');
  262. }else{
  263. lockStatus.removeClass('icon-suo');
  264. lockStatus.addClass('icon-jiesuo');
  265. learun.layer.toast('车辆已解锁');
  266. }
  267. });
  268. });
  269. //test
  270. getVehicleData(overlayData, true);
  271. var geocoder;
  272. AMapUI.defineTpl("ui/overlay/SimpleInfoWindow/tpl/container.html", [], function() {
  273. return document.getElementById('my-infowin-tpl').innerHTML;
  274. });
  275. console.log('ccc')
  276. AMapUI.loadUI(['overlay/SimpleInfoWindow'], function(SimpleInfoWindow) {
  277. lnglat = vehicleMarker.getPosition();
  278. console.log(lnglat+'vehicle-location');
  279. var address = '坐标未解析成功';
  280. if(!geocoder){
  281. geocoder = new AMap.Geocoder({
  282. city: "0571", //城市设为北京,默认:“全国”
  283. radius: 500 //范围,默认:500
  284. });
  285. }
  286. geocoder.getAddress(lnglat, function(status, result) {
  287. if (status === 'complete' && result.regeocode) {
  288. address = result.regeocode.formattedAddress;
  289. if(!infoWindow){
  290. infoWindow = new SimpleInfoWindow({
  291. infoBody: '<span>'+address+'</span>',
  292. //基点指向marker的头部位置
  293. offset: new AMap.Pixel(50, -64)
  294. });
  295. console.log('aaa')
  296. }
  297. console.log('vvv')
  298. infoWindow.open(mainMap, lnglat);
  299. infoWindow.get$Container().on('click', function(){
  300. learun.nav.go({ path: 'amap/navigation', title: '导航', isBack: true, isHead: true, param: startEnd });
  301. if(infoWindow){infoWindow.close( );}
  302. });
  303. }else{
  304. // learun.layer.toast(JSON.stringify(result));
  305. }
  306. });
  307. });
  308. //坐标解析地址
  309. //实时路况图层
  310. var trafficLayer = new AMap.TileLayer.Traffic({
  311. zIndex: 10
  312. });
  313. var trafficLayerAble = false;
  314. trafficLayer.hide();
  315. trafficLayer.setMap(mainMap);
  316. var routeSituationToggle = function (){
  317. if (trafficLayerAble) {
  318. trafficLayer.hide();
  319. trafficLayerAble = false;
  320. $page.find('#route-situation').html('<svg class="icon" aria-hidden="true"><use xlink:href="#icon-lukuang"></use></svg>');
  321. } else {
  322. trafficLayer.show();
  323. trafficLayerAble = true;
  324. $page.find('#route-situation').html('<svg class="icon" aria-hidden="true"><use xlink:href="#icon-lukuang1"></use></svg>');
  325. }
  326. }
  327. $page.find('#route-situation').on('tap', function () {
  328. routeSituationToggle();
  329. });
  330. //地图显示切换(卫星和常规)
  331. var satelliteLayer = new AMap.TileLayer.Satellite();
  332. var isSatelieteAble = false;
  333. learun.mapLayerChange = function (){
  334. if (isSatelieteAble) {
  335. mainMap.remove(satelliteLayer);
  336. isSatelieteAble = false;
  337. $page.find('#layer-change').html('<svg class="icon" aria-hidden="true"><use xlink:href="#icon-qiehuan1"></use></svg>');
  338. } else {
  339. mainMap.add(satelliteLayer);
  340. isSatelieteAble = true;
  341. $page.find('#layer-change').html('<svg class="icon" aria-hidden="true"><use xlink:href="#icon-qiehuan"></use></svg>');
  342. }
  343. }
  344. $page.find('#layer-change').on('tap', function () {
  345. learun.mapLayerChange();
  346. });
  347. //轨迹页跳转
  348. $page.find('#route-play').on('tap', function () {
  349. learun.nav.go({ path: 'amap/route', title: '轨迹回放', isBack: true, isHead: true, param: routePageData });
  350. if(infoWindow){infoWindow.close( );}
  351. });
  352. //围栏页跳转
  353. $page.find('#electric-fence').on('tap', function () {
  354. learun.nav.go({ path: 'amap/fence', title: '围栏设置', isBack: true, isHead: true, param: fencePageData });
  355. if(infoWindow){infoWindow.close( );}
  356. });
  357. //保险页跳转
  358. $page.find('.insurance-img').on('tap', function () {
  359. learun.nav.go({ path: 'insure', title: '保险理赔', isBack: true, isHead: true, param: 'test' });
  360. if(infoWindow){infoWindow.close( );}
  361. });
  362. //定时刷新数据
  363. // var mainPageInterval = setInterval(function(){
  364. // if($('.f-page').length > 1){
  365. // clearTimeout(mainPageInterval);
  366. // }
  367. // console.log('dd');
  368. // getVehicleData(overlayData);
  369. // }, timeInterval);
  370. },
  371. reload: function ($page, pageinfo) {
  372. if(infoWindow){
  373. infoWindow.open(mainMap, lnglat);
  374. }
  375. console.log(pageinfo);
  376. console.log(learun.storage.get('userinfo').baseinfo)
  377. console.log(learun.nav.getpage('amap'));
  378. },
  379. destroy: function (pageinfo) {
  380. console.log('destory page')
  381. },
  382. };
  383. return page;
  384. })();
  385. //icon.js
  386. !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);