app.3164bda5.js.map 68 KB

1
  1. {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/App.vue?7e02","webpack:///./src/App.vue?eac0","webpack:///./src/components/Map.vue?c9fd","webpack:///./src/common/date.js","webpack:///src/components/Map.vue","webpack:///./src/components/Map.vue?3baf","webpack:///./src/components/Map.vue","webpack:///src/App.vue","webpack:///./src/App.vue?1160","webpack:///./src/App.vue","webpack:///./src/main.js","webpack:///./src/components/Map.vue?d1ef"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","_vm","this","_h","$createElement","_c","_self","attrs","staticRenderFns","staticClass","_v","_m","domProps","start","text","on","$event","type","indexOf","_k","keyCode","analysisKeyword","staticStyle","clear","addViaPoint","_l","viaPoint","removeViaPoint","destination","title","city","address","selectLocation","_s","letterMaps","getTrack","ref","form","model","bikeInfo","callback","$$v","$set","expression","getDefautTime","slot","getImg","zoom","point","waypoints","drivingComplete","markersset","_e","keyword","searchcomplete","getStart","getViaPoint","getDestination","_f","start_time","end_time","kilometre","bike_no","toUpperCase","formatDate","date","fmt","test","replace","RegExp","$1","getFullYear","substr","getMonth","getDate","getHours","getMinutes","getSeconds","k","str","padLeftZero","center","viaPoints","isEmpty","isShowDrivingStatus","currentStatusValue","searchResult","mileage","waitInterval","created","console","log","no","$refs","methods","prepare","svgElem","each","canvas","style","position","node","width","height","left","top","img","src","btoa","svg_xml","onload","ctx","drawImage","index","parentNode","appendChild","nodesToRemove","parent","child","nodesToRecover","removeChild","setInterval","isComplete","clearInterval","useCORS","download","a","display","document","body","filename","triggerDownload","click","randomNum","arguments","PrefixZero","parseInt","Math","random","minNum","Array","join","num","resultshtmlset","e","len","marker","Yc","innerHTML","Um","wayPointIconHtml","location","taxiFare","distance","toFixed","Hr","$message","analysisAddress","loadTrack","res","map","item","isArray","arr","Geo","BMap","Geocoder","adds","addressList","searchGeo","computed","points","parseFloat","filters","Date","time","component","components","Map","Vue","use","BaiduMap","ak","config","productionTip","render","h","App","$mount"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAAgBY,KAAcF,GAAY,GAE3CA,IACFL,EAAgBQ,OAAOpB,IAAK,GAC5Be,EAASM,EAAoBA,EAAoBC,EAAIN,EAAe,KAItE,OAAOD,EAIR,IAAIQ,EAAmB,GAKnBhB,EAAkB,CACrB,IAAO,GAGJK,EAAkB,GAGtB,SAASS,EAAoB1B,GAG5B,GAAG4B,EAAiB5B,GACnB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AK9E,SACRwF,EAAOzN,KAAK+M,EAAKjH,UAGd2H,GAET9G,UAXJ,WAYM,OAAO+G,WAAW1K,KAAKqC,SAASgD,WAGpCsF,QAAS,CACP7G,WADJ,SACA,GACM,IAAIC,EAAO,IAAI6G,KAKf,OAJIC,IACF9G,EAAO,IAAI6G,KAAKC,IAGX,EAAb,4BCjuB6U,I,wBCQzUC,EAAY,eACd,EACA,EACA,GACA,EACA,KACA,WACA,MAIa,EAAAA,E,QCVf,GACExM,KAAM,MACNyM,WAAY,CACVC,IAAJ,ICZ8T,ICQ1T,G,UAAY,eACd,EACA,EACA1K,GACA,EACA,KACA,KACA,OAIa,I,6BCdf2K,aAAIC,IAAJ,KACAD,aAAIC,IAAJ,KACAD,aAAIC,IAAJ,KACAD,aAAIC,IAAJ,KACAD,aAAIC,IAAJ,KACAD,aAAIrO,UAAU8M,SAAd,IACAuB,aAAIC,IAAIC,IAAU,CAEhBC,GAAI,qCAGNH,aAAII,OAAOC,eAAgB,EAE3B,IAAIL,aAAI,CACNM,OAAQ,SAACC,GAAD,OAAOA,EAAEC,MAChBC,OAAO,S,2DCpBV","file":"js/app.3164bda5.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('Map')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"mapPage\"},[_c('div',{staticClass:\"left\"},[_c('div',{staticClass:\"routebox\"},[_c('div',{staticClass:\"title\"},[_vm._v(\"规划轨迹\")]),_c('div',{staticClass:\"searchbox-content-common routebox-content\"},[_vm._m(0),_c('div',{staticClass:\"routebox-inputs\"},[_c('div',{staticClass:\"routebox-input route-start\"},[_c('div',{staticClass:\"route-input-icon\"}),_c('input',{staticClass:\"route-start-input\",attrs:{\"autocomplete\":\"off\",\"maxlength\":\"256\",\"placeholder\":\"输入起点或在图区上选点\",\"type\":\"text\"},domProps:{\"value\":_vm.start.text},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.analysisKeyword('start', $event)}}}),_c('div',{staticClass:\"input-clear\",staticStyle:{\"display\":\"block\"},attrs:{\"title\":\"清空\"},on:{\"click\":function($event){return _vm.clear('start')}}}),_c('div',{staticClass:\"route-input-add-icon\",on:{\"click\":_vm.addViaPoint}})]),_vm._l((_vm.viaPoints),function(viaPoint,key){return _c('div',{key:key,staticClass:\"routebox-input route-through\"},[_c('div',{staticClass:\"route-input-icon\"}),_c('input',{staticClass:\"route-through-input\",attrs:{\"autocomplete\":\"off\",\"maxlength\":\"256\",\"placeholder\":\"输入途经点\",\"type\":\"text\"},domProps:{\"value\":viaPoint.text},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.analysisKeyword('viaPoint', $event, key)}}}),_c('div',{staticClass:\"input-clear\",staticStyle:{\"display\":\"block\"},attrs:{\"title\":\"清空\"},on:{\"click\":function($event){return _vm.clear('viaPoints', key)}}}),_c('div',{staticClass:\"route-input-remove-icon\",attrs:{\"data-index\":\"0\"},on:{\"click\":function($event){return _vm.removeViaPoint(key)}}})])}),_c('div',{staticClass:\"routebox-input route-end\"},[_c('div',{staticClass:\"route-input-icon\"}),_c('input',{staticClass:\"route-end-input\",attrs:{\"autocomplete\":\"off\",\"maxlength\":\"256\",\"placeholder\":\"输入终点或在图区上选点\",\"type\":\"text\"},domProps:{\"value\":_vm.destination.text},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.analysisKeyword('destination', $event)}}}),_c('div',{staticClass:\"input-clear\",attrs:{\"title\":\"清空\"},on:{\"click\":function($event){return _vm.clear('destination')}}})])],2)])]),_c('div',{staticClass:\"ui3-suggest-wrap\",staticStyle:{\"width\":\"368px\"}},[_c('ul',_vm._l((_vm.searchResult),function(result,key){return _c('li',{key:key,staticClass:\"ui3-suggest-item\",staticStyle:{\"width\":\"368px\"},attrs:{\"data-type\":\"sug\",\"data-key\":result.title,\"data-location\":result.city + result.address},on:{\"click\":function($event){return _vm.selectLocation(result)}}},[_c('a',[_c('i',{staticClass:\"default\"},[_vm._v(_vm._s(_vm.letterMaps[key])+\" \"+_vm._s(result.title))]),_c('em',[_vm._v(_vm._s(result.city)+_vm._s(result.address))])])])}),0)]),_c('button',{attrs:{\"id\":\"search-button\",\"data-title\":\"搜索\",\"data-tooltip\":\"1\"},on:{\"click\":_vm.getTrack}},[_vm._v(\" 搜索 \")]),_c('div',{staticClass:\"bike-box\"},[_c('div',{staticClass:\"title\"},[_vm._v(\"车辆配置\")]),_c('div',{staticClass:\"info\"},[_c('el-form',{ref:\"form\",attrs:{\"model\":_vm.form,\"label-width\":\"90px\"}},[_c('el-form-item',{attrs:{\"label\":\"车牌号:\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入车牌号\",\"minlength\":7,\"maxlength\":7,\"show-word-limit\":true},model:{value:(_vm.bikeInfo.bike_no),callback:function ($$v) {_vm.$set(_vm.bikeInfo, \"bike_no\", $$v)},expression:\"bikeInfo.bike_no\"}})],1),_c('el-form-item',{attrs:{\"label\":\"开始时间:\"}},[_c('el-date-picker',{staticStyle:{\"width\":\"100%\"},attrs:{\"type\":\"datetime\",\"placeholder\":\"选择开始时间\",\"default-time\":_vm.getDefautTime(0)},model:{value:(_vm.bikeInfo.start_time),callback:function ($$v) {_vm.$set(_vm.bikeInfo, \"start_time\", $$v)},expression:\"bikeInfo.start_time\"}})],1),_c('el-form-item',{attrs:{\"label\":\"结束时间:\"}},[_c('el-date-picker',{staticStyle:{\"width\":\"100%\"},attrs:{\"type\":\"datetime\",\"placeholder\":\"选择结束时间\",\"default-time\":_vm.getDefautTime(1)},model:{value:(_vm.bikeInfo.end_time),callback:function ($$v) {_vm.$set(_vm.bikeInfo, \"end_time\", $$v)},expression:\"bikeInfo.end_time\"}})],1),_c('el-form-item',{attrs:{\"label\":\"行驶里程:\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入行驶里程\"},model:{value:(_vm.bikeInfo.mileage),callback:function ($$v) {_vm.$set(_vm.bikeInfo, \"mileage\", $$v)},expression:\"bikeInfo.mileage\"}},[_c('template',{slot:\"append\"},[_vm._v(\"km\")])],2)],1)],1)],1)]),_c('button',{attrs:{\"id\":\"down-img-button\",\"data-title\":\"下载图片\"},on:{\"click\":_vm.getImg}},[_vm._v(\" 下载图片 \")])]),_c('div',{ref:\"imageTofile\",attrs:{\"id\":\"imageTofile\"}},[_c('baidu-map',{staticClass:\"map\",attrs:{\"center\":\"郑州\",\"zoom\":_vm.zoom,\"scroll-wheel-zoom\":true}},[(_vm.isShowDrivingStatus)?_c('div',[(_vm.isShowDrivingStatus)?_c('bm-driving',{attrs:{\"start\":_vm.start.point,\"end\":_vm.destination.point,\"auto-viewport\":true,\"panel\":false,\"location\":\"郑州\",\"waypoints\":_vm.waypoints},on:{\"searchcomplete\":_vm.drivingComplete,\"markersset\":_vm.markersset}}):_vm._e()],1):_vm._e(),_c('bm-local-search',{attrs:{\"keyword\":_vm.keyword,\"auto-viewport\":true,\"panel\":false},on:{\"searchcomplete\":_vm.searchcomplete}}),_c('bm-navigation',{attrs:{\"anchor\":\"BMAP_ANCHOR_TOP_LEFT\"}}),_c('bm-context-menu',{staticClass:\"BMap_contextMenu\"},[_c('bm-context-menu-item',{staticClass:\"item\",attrs:{\"callback\":_vm.getStart,\"text\":\"以此为起点\"}}),_c('bm-context-menu-item',{staticClass:\"item\",attrs:{\"callback\":_vm.getViaPoint,\"text\":\"以此为途经点\"}}),_c('bm-context-menu-item',{staticClass:\"item\",attrs:{\"callback\":_vm.getDestination,\"text\":\"以此为终点\"}})],1),_c('bm-control',[_c('div',{staticStyle:{\"position\":\"fixed\",\"inset\":\"10px 10px auto auto\",\"white-space\":\"nowrap\",\"cursor\":\"pointer\",\"z-index\":\"\",\"text-size-adjust\":\"none\"}},[_c('div',{staticStyle:{\"float\":\"left\"}},[_c('div',{staticStyle:{\"box-shadow\":\"rgba(0, 0, 0, 0.35) 2px 2px 3px\",\"border-left\":\"1px solid rgb(139, 164, 220)\",\"border-top\":\"1px solid rgb(139, 164, 220)\",\"border-bottom\":\"1px solid rgb(139, 164, 220)\",\"background\":\"rgb(142, 168, 224)\",\"padding\":\"2px 6px\",\"font\":\"bold 12px / 1.3em arial, sans-serif\",\"text-align\":\"center\",\"white-space\":\"nowrap\",\"border-radius\":\"3px 0px 0px 3px\",\"color\":\"rgb(255, 255, 255)\"},attrs:{\"title\":\"显示普通地图\"}},[_vm._v(\" 地图 \")])]),_c('div',{staticStyle:{\"float\":\"left\"}},[_c('div',{staticStyle:{\"box-shadow\":\"rgba(0, 0, 0, 0.35) 2px 2px 3px\",\"border-left\":\"1px solid rgb(139, 164, 220)\",\"border-top\":\"1px solid rgb(139, 164, 220)\",\"border-bottom\":\"1px solid rgb(139, 164, 220)\",\"background\":\"rgb(255, 255, 255)\",\"padding\":\"2px 6px\",\"font-style\":\"normal\",\"font-variant\":\"normal\",\"font-stretch\":\"normal\",\"font-size\":\"12px\",\"line-height\":\"1.3em\",\"font-family\":\"arial, sans-serif\",\"text-align\":\"center\",\"white-space\":\"nowrap\",\"color\":\"rgb(0, 0, 0)\"},attrs:{\"title\":\"显示卫星影像\"}},[_vm._v(\" 卫星 \")]),_c('div',{staticStyle:{\"position\":\"absolute\",\"top\":\"21px\",\"left\":\"37px\",\"z-index\":\"-1\",\"display\":\"none\"}},[_c('div',{staticStyle:{\"border-right\":\"1px solid #8ba4dc\",\"border-bottom\":\"1px solid #8ba4dc\",\"border-left\":\"1px solid #8ba4dc\",\"background\":\"white\",\"font\":\"12px arial,sans-serif\",\"padding\":\"0 8px 0 6px\",\"line-height\":\"1.6em\",\"box-shadow\":\"2px 2px 3px rgba(0, 0, 0, 0.35)\"},attrs:{\"title\":\"显示带有街道的卫星影像\"}},[_c('span',{staticClass:\"BMap_checkbox checked\",attrs:{\"checked\":\"checked\"}}),_c('label',{staticStyle:{\"vertical-align\":\"middle\",\"cursor\":\"pointer\"}},[_vm._v(\"混合\")])])])]),_c('div',{staticStyle:{\"float\":\"left\"}},[_c('div',{staticStyle:{\"box-shadow\":\"rgba(0, 0, 0, 0.35) 2px 2px 3px\",\"border-width\":\"1px\",\"border-style\":\"solid\",\"border-color\":\"rgb(139, 164, 220)\",\"background\":\"rgb(255, 255, 255)\",\"padding\":\"2px 6px\",\"font-style\":\"normal\",\"font-variant\":\"normal\",\"font-stretch\":\"normal\",\"font-size\":\"12px\",\"line-height\":\"1.3em\",\"font-family\":\"arial, sans-serif\",\"text-align\":\"center\",\"white-space\":\"nowrap\",\"border-radius\":\"0px 3px 3px 0px\",\"color\":\"rgb(0, 0, 0)\"},attrs:{\"title\":\"显示三维地图\"}},[_vm._v(\" 三维 \")])])]),_c('div',{staticClass:\"maplibTcBtn_deskTop BMap_noprint anchorTR maplibTcBtnOff_deskTop\",staticStyle:{\"position\":\"fixed\",\"z-index\":\"10\",\"text-size-adjust\":\"none\",\"inset\":\"10px 10px auto auto\"},attrs:{\"title\":\"显示交通流量\",\"id\":\"tcBtn\"}})]),_c('bm-control',[(_vm.bikeInfo.bike_no)?_c('div',{staticClass:\"info-box\"},[_c('p',[_vm._v(\"开始时间:\"+_vm._s(_vm._f(\"formatDate\")(_vm.bikeInfo.start_time)))]),_c('p',[_vm._v(\"结束时间:\"+_vm._s(_vm._f(\"formatDate\")(_vm.bikeInfo.end_time)))]),_c('p',[_vm._v(\"公里总数:\"+_vm._s(_vm.kilometre)+\"公里\")]),_c('p',[_vm._v(\"车牌:\"+_vm._s(_vm.bikeInfo.bike_no.toUpperCase()))])]):_vm._e()])],1)],1),_c('div',{attrs:{\"id\":\"mapPage\"}})])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"routebox-revert\",attrs:{\"title\":\"切换起终点\"}},[_c('div',{staticClass:\"routebox-revert-icon\"})])}]\n\nexport { render, staticRenderFns }","// 这个函数 网上 随处可见,我也是应用了别人的。\nexport function formatDate(date, fmt) {\n if (/(y+)/.test(fmt)) {\n fmt = fmt.replace(\n RegExp.$1,\n (date.getFullYear() + \"\").substr(4 - RegExp.$1.length)\n );\n }\n let o = {\n \"M+\": date.getMonth() + 1,\n \"d+\": date.getDate(),\n \"h+\": date.getHours(),\n \"m+\": date.getMinutes(),\n \"s+\": date.getSeconds(),\n };\n for (let k in o) {\n if (new RegExp(`(${k})`).test(fmt)) {\n let str = o[k] + \"\";\n fmt = fmt.replace(\n RegExp.$1,\n RegExp.$1.length === 1 ? str : padLeftZero(str)\n );\n }\n }\n return fmt;\n}\n\nfunction padLeftZero(str) {\n return (\"00\" + str).substr(str.length);\n}\n","<template>\n <div class=\"mapPage\">\n <div class=\"left\">\n <div class=\"routebox\">\n <div class=\"title\">规划轨迹</div>\n <div class=\"searchbox-content-common routebox-content\">\n <div class=\"routebox-revert\" title=\"切换起终点\">\n <div class=\"routebox-revert-icon\"></div>\n </div>\n <div class=\"routebox-inputs\">\n <div class=\"routebox-input route-start\">\n <div class=\"route-input-icon\"></div>\n <input\n autocomplete=\"off\"\n maxlength=\"256\"\n placeholder=\"输入起点或在图区上选点\"\n class=\"route-start-input\"\n type=\"text\"\n :value=\"start.text\"\n @keyup.enter=\"analysisKeyword('start', $event)\"\n />\n <div\n class=\"input-clear\"\n title=\"清空\"\n style=\"display: block;\"\n @click=\"clear('start')\"\n ></div>\n <div class=\"route-input-add-icon\" @click=\"addViaPoint\"></div>\n </div>\n <div\n class=\"routebox-input route-through\"\n v-for=\"(viaPoint, key) in viaPoints\"\n :key=\"key\"\n >\n <div class=\"route-input-icon\"></div>\n <input\n autocomplete=\"off\"\n maxlength=\"256\"\n placeholder=\"输入途经点\"\n class=\"route-through-input\"\n type=\"text\"\n :value=\"viaPoint.text\"\n @keyup.enter=\"analysisKeyword('viaPoint', $event, key)\"\n />\n <div\n class=\"input-clear\"\n title=\"清空\"\n style=\"display: block;\"\n @click=\"clear('viaPoints', key)\"\n ></div>\n <div\n class=\"route-input-remove-icon\"\n @click=\"removeViaPoint(key)\"\n data-index=\"0\"\n ></div>\n </div>\n <div class=\"routebox-input route-end\">\n <div class=\"route-input-icon\"></div>\n <input\n autocomplete=\"off\"\n maxlength=\"256\"\n placeholder=\"输入终点或在图区上选点\"\n class=\"route-end-input\"\n type=\"text\"\n :value=\"destination.text\"\n @keyup.enter=\"analysisKeyword('destination', $event)\"\n />\n <div\n class=\"input-clear\"\n title=\"清空\"\n @click=\"clear('destination')\"\n ></div>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"ui3-suggest-wrap\" style=\"width: 368px;\">\n <ul>\n <li\n class=\"ui3-suggest-item\"\n data-type=\"sug\"\n :data-key=\"result.title\"\n :data-location=\"result.city + result.address\"\n style=\"width: 368px;\"\n v-for=\"(result, key) in searchResult\"\n :key=\"key\"\n @click=\"selectLocation(result)\"\n >\n <a>\n <i class=\"default\"\n >{{ letterMaps[key] }}&nbsp;&nbsp;&nbsp;&nbsp;{{\n result.title\n }}</i\n >\n <em>{{ result.city }}{{ result.address }}</em>\n </a>\n </li>\n </ul>\n </div>\n\n <button\n id=\"search-button\"\n @click=\"getTrack\"\n data-title=\"搜索\"\n data-tooltip=\"1\"\n >\n 搜索\n </button>\n\n <div class=\"bike-box\">\n <div class=\"title\">车辆配置</div>\n <div class=\"info\">\n <el-form ref=\"form\" :model=\"form\" label-width=\"90px\">\n <el-form-item label=\"车牌号:\">\n <el-input\n v-model=\"bikeInfo.bike_no\"\n placeholder=\"请输入车牌号\"\n :minlength=\"7\"\n :maxlength=\"7\"\n :show-word-limit=\"true\"\n ></el-input>\n </el-form-item>\n <el-form-item label=\"开始时间:\">\n <el-date-picker\n style=\"width:100%;\"\n v-model=\"bikeInfo.start_time\"\n type=\"datetime\"\n placeholder=\"选择开始时间\"\n :default-time=\"getDefautTime(0)\"\n >\n </el-date-picker>\n </el-form-item>\n <el-form-item label=\"结束时间:\">\n <el-date-picker\n style=\"width:100%;\"\n v-model=\"bikeInfo.end_time\"\n type=\"datetime\"\n placeholder=\"选择结束时间\"\n :default-time=\"getDefautTime(1)\"\n >\n </el-date-picker>\n </el-form-item>\n <el-form-item label=\"行驶里程:\">\n <el-input v-model=\"bikeInfo.mileage\" placeholder=\"请输入行驶里程\"\n ><template slot=\"append\">km</template></el-input\n >\n </el-form-item>\n </el-form>\n </div>\n </div>\n\n <button id=\"down-img-button\" @click=\"getImg\" data-title=\"下载图片\">\n 下载图片\n </button>\n </div>\n <!-- 地图 -->\n <div id=\"imageTofile\" ref=\"imageTofile\">\n <baidu-map\n class=\"map\"\n center=\"郑州\"\n :zoom=\"zoom\"\n :scroll-wheel-zoom=\"true\"\n >\n <div v-if=\"isShowDrivingStatus\">\n <bm-driving\n v-if=\"isShowDrivingStatus\"\n :start=\"start.point\"\n :end=\"destination.point\"\n :auto-viewport=\"true\"\n :panel=\"false\"\n location=\"郑州\"\n :waypoints=\"waypoints\"\n @searchcomplete=\"drivingComplete\"\n @markersset=\"markersset\"\n ></bm-driving>\n </div>\n <bm-local-search\n :keyword=\"keyword\"\n :auto-viewport=\"true\"\n :panel=\"false\"\n @searchcomplete=\"searchcomplete\"\n />\n\n <!-- <bm-marker :position=\"postionMap\">\n <bm-info-window\n :show=\"show\"\n @close=\"infoWindowClose\"\n @open=\"infoWindowOpen\"\n style=\"font-size: 14px\"\n >\n <p>站点:{{ add.siteName }}</p>\n <p>站点地址:{{ add.site }}</p>\n </bm-info-window>\n </bm-marker> -->\n\n <bm-navigation anchor=\"BMAP_ANCHOR_TOP_LEFT\"></bm-navigation>\n <bm-context-menu class=\"BMap_contextMenu\">\n <bm-context-menu-item\n class=\"item\"\n :callback=\"getStart\"\n text=\"以此为起点\"\n ></bm-context-menu-item>\n <bm-context-menu-item\n class=\"item\"\n :callback=\"getViaPoint\"\n text=\"以此为途经点\"\n ></bm-context-menu-item>\n <bm-context-menu-item\n class=\"item\"\n :callback=\"getDestination\"\n text=\"以此为终点\"\n ></bm-context-menu-item>\n </bm-context-menu>\n <bm-control>\n <div\n style=\"position: fixed;inset: 10px 10px auto auto;white-space: nowrap;cursor: pointer;z-index: ;text-size-adjust: none;\"\n >\n <div style=\"float: left;\">\n <div\n title=\"显示普通地图\"\n style=\"box-shadow: rgba(0, 0, 0, 0.35) 2px 2px 3px; border-left: 1px solid rgb(139, 164, 220); border-top: 1px solid rgb(139, 164, 220); border-bottom: 1px solid rgb(139, 164, 220); background: rgb(142, 168, 224); padding: 2px 6px; font: bold 12px / 1.3em arial, sans-serif; text-align: center; white-space: nowrap; border-radius: 3px 0px 0px 3px; color: rgb(255, 255, 255);\"\n >\n 地图\n </div>\n </div>\n <div style=\"float: left;\">\n <div\n title=\"显示卫星影像\"\n style=\"box-shadow: rgba(0, 0, 0, 0.35) 2px 2px 3px; border-left: 1px solid rgb(139, 164, 220); border-top: 1px solid rgb(139, 164, 220); border-bottom: 1px solid rgb(139, 164, 220); background: rgb(255, 255, 255); padding: 2px 6px; font-style: normal; font-variant: normal; font-stretch: normal; font-size: 12px; line-height: 1.3em; font-family: arial, sans-serif; text-align: center; white-space: nowrap; color: rgb(0, 0, 0);\"\n >\n 卫星\n </div>\n <div\n style=\"position: absolute; top: 21px; left: 37px; z-index: -1; display: none;\"\n >\n <div\n title=\"显示带有街道的卫星影像\"\n style=\"border-right:1px solid #8ba4dc;border-bottom:1px solid #8ba4dc;border-left:1px solid #8ba4dc;background:white;font:12px arial,sans-serif;padding:0 8px 0 6px;line-height:1.6em;box-shadow:2px 2px 3px rgba(0, 0, 0, 0.35)\"\n >\n <span checked=\"checked\" class=\"BMap_checkbox checked\"></span\n ><label style=\"vertical-align: middle; cursor: pointer;\"\n >混合</label\n >\n </div>\n </div>\n </div>\n <div style=\"float: left;\">\n <div\n title=\"显示三维地图\"\n style=\"box-shadow: rgba(0, 0, 0, 0.35) 2px 2px 3px; border-width: 1px; border-style: solid; border-color: rgb(139, 164, 220); background: rgb(255, 255, 255); padding: 2px 6px; font-style: normal; font-variant: normal; font-stretch: normal; font-size: 12px; line-height: 1.3em; font-family: arial, sans-serif; text-align: center; white-space: nowrap; border-radius: 0px 3px 3px 0px; color: rgb(0, 0, 0);\"\n >\n 三维\n </div>\n </div>\n </div>\n <div\n title=\"显示交通流量\"\n id=\"tcBtn\"\n class=\"maplibTcBtn_deskTop BMap_noprint anchorTR maplibTcBtnOff_deskTop\"\n style=\"position: fixed; z-index: 10; text-size-adjust: none; inset: 10px 10px auto auto;\"\n ></div>\n </bm-control>\n <bm-control\n ><div class=\"info-box\" v-if=\"bikeInfo.bike_no\">\n <p>开始时间:{{ bikeInfo.start_time | formatDate }}</p>\n <p>结束时间:{{ bikeInfo.end_time | formatDate }}</p>\n <p>公里总数:{{ kilometre }}公里</p>\n <p>车牌:{{ bikeInfo.bike_no.toUpperCase() }}</p>\n </div></bm-control\n >\n </baidu-map>\n </div>\n <div id=\"mapPage\"></div>\n </div>\n</template>\n\n<script>\nimport { formatDate } from \"@/common/date.js\";\nimport html2canvas from \"html2canvas\";\nimport canvg from \"canvg\";\nimport $ from \"jquery\";\nimport { setTimeout } from \"timers\";\nexport default {\n name: \"map\",\n data() {\n return {\n letterMaps: [\n \"A\",\n \"B\",\n \"C\",\n \"D\",\n \"E\",\n \"F\",\n \"G\",\n \"H\",\n \"I\",\n \"J\",\n \"K\",\n \"L\",\n \"M\",\n \"N\",\n \"O\",\n \"P\",\n \"Q\",\n \"R\",\n \"S\",\n \"T\",\n \"W\",\n \"X\",\n \"Y\",\n \"Z\",\n ],\n center: { lng: 0, lat: 0 },\n zoom: 15,\n // start: {\n // point: { lat: \"34.777104\", lng: \"113.612767\" },\n // text: \"河南省郑州市中原区\",\n // isEmpty: false,\n // },\n // destination: {\n // point: { lat: \"34.750177\", lng: \"113.662066\" },\n // text: \"河南省郑州市二七区太和路253\",\n // isEmpty: false,\n // },\n viaPoints: [\n // {\n // point: { lat: \"33.744868\", lng: \"112.914394\" },\n // text: \"鲁山\",\n // isEmpty: false,\n // },\n { point: { lat: \"\", lng: \"\" }, text: \"\", isEmpty: true },\n { point: { lat: \"\", lng: \"\" }, text: \"\", isEmpty: true },\n { point: { lat: \"\", lng: \"\" }, text: \"\", isEmpty: true },\n { point: { lat: \"\", lng: \"\" }, text: \"\", isEmpty: true },\n { point: { lat: \"\", lng: \"\" }, text: \"\", isEmpty: true },\n { point: { lat: \"\", lng: \"\" }, text: \"\", isEmpty: true },\n ],\n start: {\n point: { lat: \"\", lng: \"7\" },\n text: \"\",\n isEmpty: true,\n },\n destination: {\n point: { lat: \"\", lng: \"\" },\n text: \"\",\n isEmpty: true,\n },\n isShowDrivingStatus: true,\n keyword: \"\",\n currentStatusValue: {\n type: \"\",\n key: 0,\n },\n searchResult: [],\n bikeInfo: {\n bike_no: \"\",\n start_time: \"\",\n end_time: \"\",\n mileage: 0,\n },\n waitInterval: null,\n };\n },\n created() {\n let no = \"豫AWF838\";\n console.log(no.length);\n console.log(this.$refs);\n },\n methods: {\n getImg() {\n // svg转canvas\n let nodesToRecover = [];\n let nodesToRemove = [];\n let svgElem = $(\"#imageTofile\").find(\"svg\"); // divReport为需要截取成图片的dom的id\n let prepare = [];\n for (let i = 0; i < svgElem.length; i++) {\n prepare.push(0);\n }\n svgElem.each(function(index, node) {\n let parentNode = node.parentNode;\n let svg = node.outerHTML;\n let canvas = document.createElement(\"canvas\");\n canvg(canvas, svg);\n canvas.style.position = node.style.position;\n canvas.style.width = node.style.width;\n canvas.style.height = node.style.height;\n canvas.style.left = 0;\n canvas.style.top = 0;\n let ctx = canvas.getContext(\"2d\");\n let svg_xml = new XMLSerializer().serializeToString(node);\n let img = new Image();\n img.src = \"data:image/svg+xml;base64,\" + window.btoa(svg_xml);\n img.onload = function() {\n ctx.drawImage(img, 0, 0);\n prepare[index] = 1;\n // download(canvas.toDataURL(\"image/png\")); // 调试用\n };\n parentNode.appendChild(canvas); // 使用canvas代替svg进行截图\n nodesToRemove.push({\n // 完成截图后删除canvas\n parent: parentNode,\n child: canvas,\n });\n nodesToRecover.push({\n // 完成截图后恢复svg\n parent: parentNode,\n child: node,\n });\n parentNode.removeChild(node); // 暂时移除svg\n });\n\n this.waitInterval = setInterval(() => {\n let isComplete = true;\n for (let i = 0; i < prepare.length; i++) {\n if (prepare[i] == 0) {\n isComplete = false;\n break;\n }\n }\n console.log(isComplete);\n if (isComplete) {\n clearInterval(this.waitInterval);\n // div转canvas截图\n html2canvas(document.getElementById(\"imageTofile\"), {\n useCORS: true,\n }).then((cnv) => {\n let imgUrl = cnv.toDataURL(\"image/png\"); // 将canvas转换成img的src流,base64\n for (let i = 0; i < nodesToRecover.length; i++) {\n nodesToRecover[i].parent.appendChild(nodesToRecover[i].child);\n }\n for (let i = 0; i < nodesToRemove.length; i++) {\n nodesToRemove[i].parent.removeChild(nodesToRemove[i].child);\n }\n this.download(imgUrl);\n });\n }\n }, 5);\n },\n download(url) {\n let a = document.createElement(\"a\");\n a.style.display = \"none\";\n document.body.appendChild(a);\n let filename = (new Date().getTime() / 1000).toFixed(0);\n if (this.bikeInfo.bike_no != \"\") {\n filename = this.bikeInfo.bike_no;\n }\n let triggerDownload = $(a)\n .attr(\"href\", url)\n .attr(\"download\", filename + \".png\");\n triggerDownload[0].click();\n document.body.removeChild(a);\n },\n getDefautTime(type) {\n if (type) {\n //下午\n // return (\n // this.randomNum(12, 20) +\n // \":\" +\n // this.randomNum(0, 60) +\n // \":\" +\n // this.randomNum(0, 60)\n // );\n return \"23:59:59\";\n } else {\n //上午\n // return (\n // this.randomNum(8, 12) +\n // \":\" +\n // this.randomNum(0, 60) +\n // \":\" +\n // this.randomNum(0, 60)\n // );\n return \"00:00:00\";\n }\n },\n randomNum(minNum, maxNum) {\n switch (arguments.length) {\n case 1:\n return this.PrefixZero(parseInt(Math.random() * minNum + 1, 10), 2);\n case 2:\n return this.PrefixZero(\n parseInt(Math.random() * (maxNum - minNum + 1) + minNum, 10),\n 2\n );\n default:\n return \"00\";\n }\n },\n PrefixZero(num, n) {\n return (Array(n).join(0) + num).slice(-n);\n },\n resultshtmlset(e) {\n console.log(e);\n },\n markersset(e) {\n //https://resource.bike.hanyiyun.com/admin/work_riding.png\n let len = e.length;\n if (len >= 2) {\n e[0].marker.Yc.innerHTML =\n // '<img src=\"http://map.aliyun.hanyiyun.com/dest_markers.png\" style=\"display: block; border:none;margin-left:0px; margin-top:0px; \">';\n '<img src=\"http://map.aliyun.hanyiyun.com/start.png\" style=\"display: block; border:none;margin-left:0px; margin-top:0px; \">';\n e[len - 1].marker.Yc.innerHTML =\n // '<img src=\"http://map.aliyun.hanyiyun.com/dest_markers.png\" style=\"display: block; border:none;margin-left:0px; margin-top:-34px; \">';\n '<img src=\"http://map.aliyun.hanyiyun.com/end.png\" style=\"display: block; border:none;margin-left:0px; margin-top:0px; \">';\n }\n let wayPointIconHtml =\n '<img src=\"http://map.aliyun.hanyiyun.com/tujingdian.png\" style=\"display: block;width:28px; border:none;\">';\n\n if (len > 2) {\n for (var i = 1; i < len; i++) {\n console.log(e[i].Um);\n e[i].Um.Yc.innerHTML = wayPointIconHtml;\n }\n }\n },\n selectLocation(location) {\n console.log(location);\n let type = this.currentStatusValue.type;\n switch (type) {\n case \"start\":\n this.start.text = location.title;\n this.start.point = location.point;\n this.start.isEmpty = false;\n break;\n case \"viaPoint\":\n var k = this.currentStatusValue.key;\n var point = {\n point: location.point,\n text: location.title,\n isEmpty: false,\n };\n this.viaPoints.splice(k, 1, point);\n break;\n case \"destination\":\n this.destination.text = location.title;\n this.destination.point = location.point;\n this.destination.isEmpty = false;\n break;\n }\n this.keyword = \"\";\n this.searchResult = [];\n },\n drivingComplete(e) {\n if (e.taxiFare == null) return false;\n this.bikeInfo.mileage = (e.taxiFare.distance / 1000).toFixed(2);\n },\n searchcomplete(e) {\n this.searchResult = [];\n if (!e) return;\n if (e.Hr.length == 0) {\n this.$message(\"没有找到该地点\");\n return;\n }\n this.searchResult = e.Hr;\n },\n analysisKeyword(type, event, key = 0) {\n let value = event.currentTarget.value;\n this.keyword = value;\n this.currentStatusValue.type = type;\n this.currentStatusValue.key = key;\n switch (type) {\n case \"start\":\n this.start.text = value;\n break;\n case \"viaPoint\":\n this.viaPoints[key].text = value;\n break;\n case \"destination\":\n this.destination.text = value;\n break;\n }\n },\n //规划轨迹\n getTrack() {\n if (this.start.isEmpty) {\n this.$message(\"起点不能为空\");\n return;\n }\n if (this.destination.isEmpty) {\n this.$message(\"终点不能为空\");\n return;\n }\n this.isShowDrivingStatus = true;\n },\n getStart(e) {\n this.start.point = { lng: e.point.lng, lat: e.point.lat };\n this.analysisAddress([this.start.point], (res) => {\n this.start.text = res[0];\n });\n this.start.isEmpty = false;\n },\n loadTrack() {\n setTimeout(() => {\n this.isShowDrivingStatus = true;\n }, 100);\n },\n getViaPoint(e) {\n this.isShowDrivingStatus = false;\n let len = this.viaPoints.length;\n let point = {\n point: { lng: e.point.lng, lat: e.point.lat },\n text: \"\",\n isEmpty: false,\n };\n this.analysisAddress([point.point], (res) => {\n point.text = res[0];\n });\n if (len == 0) {\n this.viaPoints.push(point);\n this.loadTrack();\n return;\n }\n let index = null;\n this.viaPoints.map((item, key) => {\n if (item.isEmpty && index == null) {\n index = key;\n }\n });\n if (index == null) {\n this.viaPoints.push(point);\n this.loadTrack();\n return;\n }\n\n this.viaPoints.splice(index, 1, point);\n this.loadTrack();\n },\n getDestination(e) {\n this.destination.point = { lng: e.point.lng, lat: e.point.lat };\n this.analysisAddress([this.destination.point], (res) => {\n this.destination.text = res[0];\n });\n console.log(this.destination);\n this.destination.isEmpty = false;\n },\n //清楚数据\n clear(type, key = 0) {\n let point = {\n point: { lng: \"\", lat: \"\" },\n text: \"\",\n isEmpty: true,\n };\n switch (type) {\n case \"start\":\n this.start = point;\n break;\n case \"viaPoints\":\n console.log(key);\n this.viaPoints.splice(key, 1, point);\n break;\n case \"destination\":\n this.destination = point;\n break;\n }\n },\n //移除途经点\n removeViaPoint(key) {\n this.viaPoints.splice(key, 1);\n },\n //点击途经点\n addViaPoint() {\n this.viaPoints.push({\n point: { lng: \"\", lat: \"\" },\n text: \"\",\n isEmpty: true,\n });\n },\n analysisAddress: (arr, callBack) => {\n // 判断传入的arr是否为数组\n if (!Array.isArray(arr) || arr.length === 0) {\n // eslint-disable-next-line no-throw-literal\n throw \"arr not a Array or arr not is null Array!\";\n }\n\n // eslint-disable-next-line no-undef\n var Geo = new BMap.Geocoder();\n var adds = arr;\n var addressList = [];\n let i = 0;\n\n // 逐个逆向解析\n async function searchGeo() {\n // 传入的坐标必须是数字\n if (isNaN(adds[i].lng) || isNaN(adds[i].lat)) {\n // eslint-disable-next-line no-throw-literal\n throw \"adds[i].lng or adds[i].lat is not a number!\";\n }\n\n // eslint-disable-next-line no-undef\n let point = new BMap.Point(adds[i].lng, adds[i].lat);\n await Geo.getLocation(point, (rs) => {\n var addComp = rs.addressComponents;\n addressList.push(\n addComp.province +\n \"\" +\n addComp.city +\n \"\" +\n addComp.district +\n \"\" +\n addComp.street +\n \"\" +\n addComp.streetNumber\n );\n if (i < arr.length - 1) {\n i++;\n return searchGeo();\n } else {\n callBack(addressList);\n }\n });\n }\n return searchGeo();\n },\n },\n computed: {\n // 计算属性的 getter\n waypoints: function() {\n let points = [];\n this.viaPoints.map((item) => {\n if (!item.isEmpty) {\n points.push(item.point);\n }\n });\n return points;\n },\n kilometre() {\n return parseFloat(this.bikeInfo.mileage);\n },\n },\n filters: {\n formatDate(time) {\n var date = new Date();\n if (time) {\n date = new Date(time);\n }\n\n return formatDate(date, \"yyyy-MM-dd hh:mm:ss\");\n },\n },\n};\n</script>\n\n<style scoped>\n/* /deep/ .BMap_Marker {\n display: none;\n} */\n\n.bike-box {\n width: 368px;\n border-top: 1px solid #e4e6e7;\n position: fixed;\n bottom: 50px;\n}\n\n.info {\n padding: 20px;\n}\n\n#down-img-button {\n position: fixed;\n bottom: 0;\n width: 368px;\n height: 50px;\n background-color: red;\n color: #fff;\n display: block;\n border: none;\n font-size: 16px;\n}\n\n.info-box {\n position: fixed;\n /* left: 418px; */\n left: 478px;\n bottom: 50px;\n padding: 15px 10px;\n background-color: #fff;\n border: 1px solid #000;\n border-radius: 10px;\n opacity: 0.7;\n font-size: 14px;\n}\n.ui3-suggest-item-hover a,\n.ui3-suggest-item:hover a {\n background-color: #ebebeb;\n}\n.ui3-suggest-wrap {\n max-height: 250px;\n overflow: hidden;\n overflow-y: scroll;\n font-size: 12px;\n}\n.ui3-suggest-wrap .ui3-suggest-item em {\n margin-left: 10px;\n margin-right: 20px;\n font-style: normal;\n color: #999;\n}\n.ui3-suggest-wrap .ui3-suggest-item a {\n display: block;\n height: 35px;\n line-height: 35px;\n padding-right: 10px;\n text-decoration: none;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n cursor: pointer;\n}\n.ui3-suggest-wrap .ui3-suggest-item i {\n padding-left: 39px;\n font-style: normal;\n color: #666;\n position: relative;\n z-index: 1;\n /* padding-top: 1px; */\n}\n.ui3-suggest-wrap .ui3-suggest-item i.default {\n background: url(//webmap1.bdimg.com/wolfman/static/common/images/ui3/tools/suggestion-icon_a0251d1.png)\n no-repeat 12px -12px;\n}\n.BMap_contextMenu {\n position: absolute;\n border: 1px solid #bbb;\n padding: 0;\n margin: 0;\n width: auto;\n visibility: hidden;\n background: #fff;\n z-index: 10000000;\n box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.3);\n font-size: 12px;\n cursor: -webkit-grab;\n left: 582px;\n top: 256px;\n visibility: visible;\n}\n.BMap_contextMenu div {\n padding: 10px 6px;\n margin: 0px 2px;\n line-height: 30px;\n width: 90px;\n color: rgb(101, 101, 101);\n cursor: pointer;\n border-bottom: 1px solid #dadada;\n}\n.title {\n text-align: center;\n color: #333;\n\n line-height: 32px;\n padding: 10px;\n}\n#search-button {\n margin: 20px auto;\n color: #fff;\n pointer-events: auto;\n text-align: center;\n background: #3385ff;\n width: 80%;\n height: 38px;\n border: 0;\n padding: 0;\n cursor: pointer;\n display: block;\n border-radius: 5px;\n}\n.routebox-content .routebox-revert .routebox-revert-icon {\n background: url(//webmap1.bdimg.com/wolfman/static/common/images/retina/new-route-retian_d99addb.png)\n no-repeat -248px -22px;\n background-size: 428px auto;\n}\n.routebox .routebox-content .routebox-revert .routebox-revert-icon {\n position: absolute;\n left: 50%;\n top: 50%;\n width: 18px;\n height: 14px;\n margin-left: -9px;\n margin-top: -7px;\n background: url(//webmap1.bdimg.com/wolfman/static/common/images/new/revert_172bb58.png)\n no-repeat 0 0;\n}\n.routebox .routebox-content .routebox-inputs {\n margin-left: 39px;\n}\n.routebox-content {\n border-bottom: 1px solid #e4e6e7;\n border-top: 1px solid #e4e6e7;\n position: relative;\n}\n.routebox .routebox-content .routebox-input {\n height: 40px;\n width: 300px;\n /* width: 315px; */\n border-bottom: 1px solid #eaebed;\n position: relative;\n}\n.routebox-input.route-end {\n border-bottom: none !important;\n}\n.routebox .routebox-content .routebox-input.route-end .route-input-icon {\n background: url(//webmap0.bdimg.com/wolfman/static/common/images/new/end_e68ad9a.png)\n no-repeat 0 0;\n}\n.routebox-input .route-input-add-icon {\n width: 16px;\n height: 16px;\n position: absolute;\n background: url(//webmap1.bdimg.com/wolfman/static/common/images/ui3/mo_banner_7cae444.png)\n no-repeat -1px -223px;\n top: 12px;\n right: 5px;\n display: block;\n cursor: pointer;\n}\n\n.input-clear {\n cursor: pointer;\n position: absolute;\n width: 27px;\n height: 37px;\n top: 0;\n background: url(//webmap1.bdimg.com/wolfman/static/common/images/new/searchbox_5c0d97d.png)\n no-repeat 0 -114px #fff;\n display: block;\n}\n.routebox .routebox-content .routebox-input .input-clear {\n left: auto;\n right: 0;\n top: 1px;\n}\n.route-searchbox-content.drive .routebox .routebox-content .input-clear {\n right: 22px;\n}\n.routebox .routebox-content .routebox-input .route-input-remove-icon {\n width: 16px;\n height: 16px;\n position: absolute;\n background: url(//webmap1.bdimg.com/wolfman/static/common/images/ui3/mo_banner_7cae444.png)\n no-repeat -19px -223px;\n top: 12px;\n right: 5px;\n cursor: pointer;\n}\n.routebox .routebox-content .routebox-input .route-input-icon {\n width: 11px;\n height: 10px;\n background: url(//webmap1.bdimg.com/wolfman/static/common/images/new/start_ee17f81.png)\n no-repeat 0 0;\n position: absolute;\n top: 15px;\n left: 3px;\n}\n.routebox .routebox-content .routebox-input input {\n box-sizing: border-box;\n border: 0;\n height: 100%;\n width: 100%;\n padding: 10px 0;\n font-size: 14px;\n border-left: 20px solid transparent;\n border-right: 27px solid transparent;\n line-height: 20px;\n}\n.routebox .routebox-content .routebox-revert {\n width: 39px;\n height: 100%;\n position: absolute;\n left: 0;\n top: 0;\n cursor: pointer;\n}\n\n.maplibTcBtn_deskTop {\n background: url(http://api.map.baidu.com/images/bgs.gif) no-repeat scroll 0 -271px\n transparent;\n cursor: pointer;\n height: 22px;\n width: 73px;\n z-index: 10;\n position: absolute;\n background-position: 0 -249px;\n}\n\n.routebox {\n position: relative;\n max-height: calc(100% - 500px);\n overflow-y: scroll;\n overflow-x: hidden;\n}\n\n.routebox .routebox-content .route-through .input-clear {\n right: 22px;\n}\n.routebox .routebox-content .input-clear {\n right: 22px !important;\n}\n.maplibTcBtn_deskTop.BMap_noprint.anchorTR {\n right: 137px !important;\n top: 12px !important;\n}\n.left {\n width: 368px;\n height: 100%;\n border-right: 1px solid rgb(213, 220, 237);\n float: left;\n /* padding: 10px; */\n}\n#imageTofile {\n display: block;\n width: calc(100% - 368px);\n height: 100%;\n float: left;\n}\n.map {\n display: block;\n /* width: calc(100% - 368px); */\n width: 100%;\n height: 100%;\n /* float: left; */\n}\n.mapPage {\n width: 100%;\n height: 100%;\n}\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Map.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Map.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Map.vue?vue&type=template&id=85d3db18&scoped=true&\"\nimport script from \"./Map.vue?vue&type=script&lang=js&\"\nexport * from \"./Map.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Map.vue?vue&type=style&index=0&id=85d3db18&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"85d3db18\",\n null\n \n)\n\nexport default component.exports","<template>\n <div id=\"app\">\n <Map />\n </div>\n</template>\n\n<script>\nimport Map from \"./components/Map.vue\";\n\nexport default {\n name: \"App\",\n components: {\n Map,\n },\n};\n</script>\n\n<style>\n#app {\n width: 100%;\n height: 100%;\n}\nhtml,\nbody {\n width: 100;\n height: 100%;\n padding: 0px;\n margin: 0px;\n}\n* {\n box-sizing: border-box;\n padding: 0px;\n margin: 0px;\n}\n</style>\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=9a25fea2&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import Vue from \"vue\";\nimport App from \"./App.vue\";\nimport BaiduMap from \"vue-baidu-map\";\nimport { Input, Form, FormItem, DatePicker, Button, Message } from \"element-ui\";\n\nVue.use(Input);\nVue.use(Form);\nVue.use(FormItem);\nVue.use(DatePicker);\nVue.use(Button);\nVue.prototype.$message = Message;\nVue.use(BaiduMap, {\n /* Visit http://lbsyun.baidu.com/apiconsole/key for details about app key. */\n ak: \"8xVRsWlEl4tU8ZCtQWjiEOTBj6IRmSt2\",\n});\n\nVue.config.productionTip = false;\n\nnew Vue({\n render: (h) => h(App),\n}).$mount(\"#app\");\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Map.vue?vue&type=style&index=0&id=85d3db18&scoped=true&lang=css&\""],"sourceRoot":""}