chooseAddress.js.map 9.9 KB

1
  1. {"version":3,"sources":["uni-app:///main.js","webpack:////Users/wanglili/Documents/liuniu/jxred/pages/applic/chooseAddress.vue?9e75","webpack:////Users/wanglili/Documents/liuniu/jxred/pages/applic/chooseAddress.vue?8c90","webpack:////Users/wanglili/Documents/liuniu/jxred/pages/applic/chooseAddress.vue?778c","webpack:////Users/wanglili/Documents/liuniu/jxred/pages/applic/chooseAddress.vue?2207","uni-app:///pages/applic/chooseAddress.vue"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,8G;AACAA,UAAU,CAACC,sBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAA0H;AAC1H;AACiE;AACL;;;AAG5D;AACgN;AAChN,gBAAgB,iNAAU;AAC1B,EAAE,mFAAM;AACR,EAAE,wFAAM;AACR,EAAE,iGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,4FAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACtBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAA20B,CAAgB,2yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;ACU/1B,2D;;;;;AAKA;AACA,MADA,kBACA;AACA;AACA;AACA;AACA;AACA;AAJA;AAMA,GARA;AASA,QATA,oBASA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;;;AAIA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAhFA;AAiFA;AACA;AACA,aAFA,qBAEA,CAFA,EAEA;AACA;AACA,KAJA;AAKA,YALA,sBAKA;AACA,mBADA,GACA,KADA;AAEA;AACA;AACA;AACA,mCADA;AAEA,qCAFA;AAGA,sCAHA;AAIA,oBAJA,CAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAjBA,EAiBA,KAjBA,CAiBA;AACA;AACA;AACA;AACA;AACA,+BADA;AAEA,6CAFA;;AAIA,iBAzBA,EAJA;AA8BA,KAnCA,EAjFA,E","file":"pages/applic/chooseAddress.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/applic/chooseAddress.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./chooseAddress.vue?vue&type=template&id=16ca988c&\"\nvar renderjs\nimport script from \"./chooseAddress.vue?vue&type=script&lang=js&\"\nexport * from \"./chooseAddress.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/applic/chooseAddress.vue\"\nexport default component.exports","export * from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./chooseAddress.vue?vue&type=template&id=16ca988c&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./chooseAddress.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./chooseAddress.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"content\">\n\t\t<view id=\"map\" class=\"map\">\n\t\t\t<map @updated='mapChange' id=\"map_1\" ref='map_1' style=\"width:750rpx; height: 600rpx\" :latitude=\"latitude\"\n\t\t\t :longitude=\"longitude\" ></map>\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\timport {\n\t\tgetcomAddress\n\t\t// getdis,\n\t\t// tocall\n\t} from '@/api/index.js';\n\texport default{\n\t\tdata() {\n\t\t\treturn{\n\t\t\t\t// longitude:'',\n\t\t\t\t// latitude:'',\n\t\t\t\t// longitude:39.909,\n\t\t\t\t// latitude: 116.39742,\n\t\t\t}\n\t\t},\n\t\tonLoad() {\n\t\t\t// window.location.href = `https://uri.amap.com/marker?position=${longitude},${latitude}&name=${address}`\n\t\t\t// window.location.href = `https://apis.map.qq.com/ws/geocoder/v1/?location=39.984154,116.307490&key=OB4BZ-D4W3U-B7VVO-4PJWW-6TKDJ-WPB77&get_poi=1`\n\t\t\twindow.location.href = `https://apis.map.qq.com/tools/locpicker?search=1&type=0&backurl=http://3gimg.qq.com/lightmap/components/locationPicker2/back.html&key=yourkey&referer=myapp`\n\t\t\tconsole.log(window.location.href)\n\t\t\t\n\t\t\t\t// let obj = this;\n\t\t\t\t// console.log('开始加载事件');\n\t\t\t\t// uni.showLoading({\n\t\t\t\t// \ttitle: '加载中',\n\t\t\t\t// \tmask: true\n\t\t\t\t// });\n\t\t\t\t// try {\n\t\t\t\t// \tlet locationAddress\n\t\t\t\t// \t// #ifdef H5\n\t\t\t\t// \tlet wxOjb = require('jweixin-module');\n\t\t\t\t// \tlocationAddress = wxOjb.getLocation;\n\t\t\t\t// \t// #endif\n\t\t\t\t// \t// #ifdef MP\n\t\t\t\t// \tlocationAddress = uni.getLocation;\n\t\t\t\t// \t// #endif\n\t\t\t\t// \twxOjb.ready(()=>{\n\t\t\t\t// \t\tconsole.log('加载完毕注册事件');\n\t\t\t\t// \t\tlocationAddress({\n\t\t\t\t// \t\t\ttype: 'gcj02',\n\t\t\t\t// \t\t\tsuccess: function(res) {\n\t\t\t\t// \t\t\t\tconsole.log('获取经纬度', res);\n\t\t\t\t// \t\t\t\tobj.longitude = res.longitude\n\t\t\t\t// \t\t\t\tobj.latitude = res.latitude\n\t\t\t\t// \t\t\t\tobj.loadData();\n\t\t\t\t// \t\t\t},\n\t\t\t\t// \t\t\tfail(e) {\n\t\t\t\t// \t\t\t\tconsole.log('失败', e);\n\t\t\t\t// \t\t\t\twindow.location.reload();\n\t\t\t\t// \t\t\t}\n\t\t\t\t// \t\t});\n\t\t\t\t// \t})\n\t\t\t\t\t\n\t\t\t\t// } catch (e) {\n\t\t\t\t// \tconsole.log(e);\n\t\t\t\t// \tlet locationAddress\n\t\t\t\t// \t// #ifdef H5\n\t\t\t\t// \tlet wxOjb = require('jweixin-module');\n\t\t\t\t// \tlocationAddress = wxOjb.getLocation;\n\t\t\t\t// \t// #endif\n\t\t\t\t// \t// #ifdef MP\n\t\t\t\t// \tlocationAddress = uni.getLocation;\n\t\t\t\t// \t// #endif\n\t\t\t\t// \twxOjb.ready(()=>{\n\t\t\t\t// \t\tconsole.log('加载完毕注册事件');\n\t\t\t\t\t\t\n\t\t\t\t// \t\tlocationAddress({\n\t\t\t\t// \t\t\ttype: 'gcj02',\n\t\t\t\t// \t\t\tsuccess: function(res) {\n\t\t\t\t// \t\t\t\tuni.showModal({\n\t\t\t\t// \t\t\t\t\ttitle:'获取经纬度',\n\t\t\t\t// \t\t\t\t\tcontent: JSON.stringify(res)\n\t\t\t\t// \t\t\t\t})\n\t\t\t\t// \t\t\t\tconsole.log('获取经纬度', res);\n\t\t\t\t// \t\t\t\tobj.longitude = res.longitude\n\t\t\t\t// \t\t\t\tobj.latitude = res.latitude\n\t\t\t\t// \t\t\t\tobj.loadData();\n\t\t\t\t// \t\t\t},\n\t\t\t\t// \t\t\tfail(e) {\n\t\t\t\t// \t\t\t\tconsole.log('失败', e);\n\t\t\t\t// \t\t\t}\n\t\t\t\t// \t\t});\n\t\t\t\t// \t})\n\t\t\t\t\t\n\t\t\t\t// }\n\t\t\tthis.loadData()\n\t\t},\n\t\tmethods:{\n\t\t\t// 地图渲染完毕事件\n\t\t\tmapChange(e) {\n\t\t\t\tconsole.log(e);\n\t\t\t},\n\t\t\tasync loadData() {\n\t\t\t\tlet obj = this;\n\t\t\t\t// get_commonly\n\t\t\t\tconsole.log('进入loadData')\n\t\t\t\tgetcomAddress({\n\t\t\t\t\tlongitude:39.909,\n\t\t\t\t\tlatitude: 116.39742,\n\t\t\t\t\tcommon_address:'首都'\n\t\t\t\t}).then((res) => {\n\t\t\t\t\tconsole.log(res)\n\t\t\t\t\tconsole.log('进入getcomAddress的成功')\n\t\t\t\t\tlet data = res.data;\n\t\t\t\t\tuni.hideLoading();\n\t\t\t\t\tconsole.log('请求数据', data);\n\t\t\t\t\t// data = data.map(d => {\n\t\t\t\t\t// \treturn {\n\t\t\t\t\t// \t\t...d,\n\t\t\t\t\t// \t\tiscall: true\n\t\t\t\t\t// \t}\n\t\t\t\t\t// })\n\t\t\t\t\t// obj.list = data;\n\t\t\t\t}).catch(err => {\n\t\t\t\t\tconsole.log('进入getcomAddress的失败')\n\t\t\t\t\tconsole.log(err);\n\t\t\t\t\tuni.hideLoading();\n\t\t\t\t\tuni.showModal({\n\t\t\t\t\t\ttitle: '失败',\n\t\t\t\t\t\tcontent: JSON.stringify()\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t},\n\t\t}\n\t}\n</script>\n\n<style>\n</style>\n"],"sourceRoot":""}