This commit is contained in:
xuhe@fangjia.com
2018-04-12 19:53:18 +08:00
parent 6ed1fa8fe7
commit 75fec8b1d3
3 changed files with 0 additions and 6 deletions
@@ -8,7 +8,6 @@ Vue.component('map-component', {
}, },
methods: { methods: {
loadMap:function(){ loadMap:function(){
alert("map:"+lat+"address:"+address);
baseInfo.address = address; baseInfo.address = address;
if(lat && lng && address){ if(lat && lng && address){
@@ -37,7 +36,6 @@ Vue.component('map-component', {
} }
}, },
mounted:function(){ mounted:function(){
alert("map start.....")
this.loadMap(); this.loadMap();
} }
}) })
@@ -349,7 +349,6 @@ $.config = {router: false}
lng = p.coords.longitude;//获取到当前位置的经度 lng = p.coords.longitude;//获取到当前位置的经度
lat = p.coords.latitude;//获取到当前位置的纬度; lat = p.coords.latitude;//获取到当前位置的纬度;
alert("ww:"+myCollectCitys+" lng:"+lng+" lat:"+lat)
}, function(e){ }, function(e){
}, },
{ {
-3
View File
@@ -307,9 +307,6 @@ function gotoLoanApply(houseId, city){
} }
//跳转到小区详情 //跳转到小区详情
function gotoDistrictDetail(city,region,name){ function gotoDistrictDetail(city,region,name){
alert(city)
alert(region)
alert(name)
clicked('/views/district/detail.html',true,false,{},{city:city,region:region,name:name},function(){}) clicked('/views/district/detail.html',true,false,{},{city:city,region:region,name:name},function(){})
} }
//跳转房产详情 //跳转房产详情