This commit is contained in:
zongzhimin
2018-04-12 20:11:57 +08:00
parent 11bbdd7bd2
commit faf273c9e2
3 changed files with 8 additions and 4 deletions
@@ -51,6 +51,7 @@ Vue.component('city_increase_ranking',{
axios.get("/rest/quotations/collectCity",{params:{city:city}}).then(function(response){
$(event.target).parent().children().removeClass("dn");
$(event.target).addClass("dn");
//plus.webview.getWebviewById('views/user/userInfo.html').reload()
}).catch(function(error){
console.log(error)
})
@@ -59,6 +60,7 @@ Vue.component('city_increase_ranking',{
axios.get("/rest/quotations/collectCity",{params:{city:city}}).then(function(response){
$(event.target).parent().children().removeClass("dn");
$(event.target).addClass("dn");
//plus.webview.getWebviewById('views/user/userInfo.html').reload()
}).catch(function(error){
console.log(error)
})
@@ -69,7 +69,7 @@ Vue.component('city_potential_ranking',{
axios.get("/rest/quotations/collectCity",{params:{city:city}}).then(function(response){
$(event.target).parent().children().removeClass("dn");
$(event.target).addClass("dn");
loadCityPotentialRanking()
plus.webview.getWebviewById('views/user/userInfo.html').reload();
}).catch(function(error){
console.log(error)
})
@@ -78,7 +78,7 @@ Vue.component('city_potential_ranking',{
axios.get("/rest/quotations/collectCity",{params:{city:city}}).then(function(response){
$(event.target).parent().children().removeClass("dn");
$(event.target).addClass("dn");
loadCityPotentialRanking()
plus.webview.getWebviewById('views/user/userInfo.html').reload();
}).catch(function(error){
console.log(error)
})
@@ -104,7 +104,7 @@
</li>
</ul>
</div>
<a class="ad" href=""><img src="../../images/adImg.png" id="img"></a>
<a class="ad"><img src="../../images/adImg.png" id="img"></a>
<div class="topic">
<div class="topicTitle" style="position:relative;">均价走势
<div class="content-block">
@@ -147,7 +147,6 @@ $.config = {router: false}
var self = plus.webview.currentWebview();
var hid = self.hid;
var houseStatus = ""
hid = '104631167348637696';
var house_info = new Vue({
el:'#house_info',
data:{
@@ -259,6 +258,9 @@ $.config = {router: false}
// }
// evaluate_msg.msg=h.evaluateMsg
$("#img").attr("src",BASE_PATH+"/img/"+h.imgId);
$("#img").click(function(){
clicked('/views/loan/loanInfo.html',true,false,{},{houseId: hid, city: h.city, mobile: ""},function(){})
})
loadingChart(h.city,h.region,h.name,2)
//按照时间范围加载数据
$(".avgPriceTrend a").click(function(){