YOUFANG
This commit is contained in:
@@ -8,7 +8,6 @@ Vue.component('map-component', {
|
||||
},
|
||||
methods: {
|
||||
loadMap:function(){
|
||||
alert("map:"+lat+"address:"+address);
|
||||
baseInfo.address = address;
|
||||
if(lat && lng && address){
|
||||
|
||||
@@ -37,7 +36,6 @@ Vue.component('map-component', {
|
||||
}
|
||||
},
|
||||
mounted:function(){
|
||||
alert("map start.....")
|
||||
this.loadMap();
|
||||
}
|
||||
})
|
||||
@@ -102,7 +102,7 @@
|
||||
<i class="icon icon-evaluation03"></i>
|
||||
<span>我要置换</span>
|
||||
</div>-->
|
||||
<div onclick="openNewView('/views/loan/loanInfo.html')">
|
||||
<div onclick="gotoLoanApply()">
|
||||
<i class="icon icon-personal03"></i>
|
||||
<span>我要贷款</span>
|
||||
</div>
|
||||
@@ -504,9 +504,11 @@ $("#tabRentDiv").on("click", function () {
|
||||
$("#tabChart1").css("z-index","-1");
|
||||
});
|
||||
function openNewView(viewHtml) {
|
||||
alert(viewHtml)
|
||||
clicked(viewHtml,true,false,{},{city:oriCity,region:oriRegion,name:oriName})
|
||||
}
|
||||
function gotoLoanApply(){
|
||||
clicked('/views/loan/loanInfo.html',true,false,{},{houseId: houseId, city: oriCity, mobile: ""},function(){})
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
@@ -169,8 +169,9 @@
|
||||
<div class="card cardPrice cardPrice01 cardCity01" v-bind:hrefid="myCityMap.hrefId">
|
||||
<div class="card-header">
|
||||
<label>{{myCityMap.city}}</label>
|
||||
<a class="button theme collection collection01">关注</a>
|
||||
<a class="button collection collection02 dn">取消</a>
|
||||
<a v-if="myCityMap.colled" class="button collection collection02 " @click="collectCity(myCityMap.city, index)">取消</a>
|
||||
<a v-else class="button theme collection collection01" @click="collectCity(myCityMap.city, index)">关注</a>
|
||||
|
||||
</div>
|
||||
<div class="card-header">
|
||||
<span>当前参考均价</span>
|
||||
@@ -184,7 +185,7 @@
|
||||
<label>近30天涨跌幅</label>
|
||||
</span>
|
||||
<span v-else>
|
||||
<em><strong>{{myCityMap.oneMonthUpDownRange*100}}</strong>%<i class="icon icon-arrow-green"></i></em>
|
||||
<em><strong>{{myCityMap.oneMonthUpDownRange}}</strong>%<i class="icon icon-arrow-green"></i></em>
|
||||
<label>近30天涨跌幅</label>
|
||||
</span>
|
||||
<span>
|
||||
@@ -235,8 +236,8 @@
|
||||
<div class="topicContent" style="padding:0;">
|
||||
<div class="cardNearbyBox cardNearbyBox01">
|
||||
<div class="cardNearbyWin" style="width: 38rem;">
|
||||
<div class="card cardNearby" v-for="nearDist in myCityMap.nears" @click="showDistrict(index, myCityMap.city)">
|
||||
<div class="card-header">{{nearDist.name}}</div>
|
||||
<div class="card cardNearby" v-for="nearDist in myCityMap.nears" @click="showDistrictDetail(index, myCityMap.city)">
|
||||
<div class="card-header">{{nearDist.sname}}</div>
|
||||
<div class="card-content">
|
||||
<div class="card-content-inner">{{nearDist.avgPrice}}元/㎡</div>
|
||||
</div>
|
||||
@@ -345,11 +346,9 @@ $.config = {router: false}
|
||||
city = city.substring(0, city.length-1)
|
||||
myCollectCitys.push(city);
|
||||
}
|
||||
|
||||
|
||||
lng = p.coords.longitude;//获取到当前位置的经度
|
||||
lat = p.coords.latitude;//获取到当前位置的纬度;
|
||||
alert("ww:"+myCollectCitys+" lng:"+lng+" lat:"+lat)
|
||||
//lng = p.coords.longitude;//获取到当前位置的经度
|
||||
//lat = p.coords.latitude;//获取到当前位置的纬度;
|
||||
loadMyCollectCity();
|
||||
}, function(e){
|
||||
},
|
||||
{
|
||||
@@ -534,6 +533,9 @@ $(document).ready(function () {
|
||||
});
|
||||
});
|
||||
|
||||
$("a[href='#tabQuotation1'],a[href='#tabQuotation0']").click(function(){
|
||||
$("#tabCityDiv a").removeClass("active");
|
||||
})
|
||||
|
||||
function clickCity(val){
|
||||
$("#tabCityDiv a").removeClass("active");
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<div class="page-group">
|
||||
<div class="page page-current" id="regionInfo">
|
||||
<header class="bar bar-nav barBorder">
|
||||
<button class="button button-link button-nav pull-left" onclick="history.go(-1)">
|
||||
<button class="button button-link button-nav pull-left" onclick="back(),plus.nativeUI.closeWaiting();">
|
||||
<span class="icon icon-left"></span>
|
||||
</button>
|
||||
<h1 class="title">{{city}}各区县涨跌排行</h1>
|
||||
|
||||
@@ -307,9 +307,6 @@ function gotoLoanApply(houseId, city){
|
||||
}
|
||||
//跳转到小区详情
|
||||
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(){})
|
||||
}
|
||||
//跳转房产详情
|
||||
|
||||
Reference in New Issue
Block a user