diff --git a/fangija-zsyf/js/district/districtDetail.js b/fangija-zsyf/js/district/districtDetail.js index 9c2d1d0..76648f9 100644 --- a/fangija-zsyf/js/district/districtDetail.js +++ b/fangija-zsyf/js/district/districtDetail.js @@ -105,6 +105,17 @@ function loadMap(){ } } }*/ +function showLoadRentTrends(type) { + if(type == 3) { + document.getElementById("trendDivTab3").setAttribute("class","tab-link button active"); + document.getElementById("trendDivTab2").setAttribute("class","tab-link button"); + } else { + document.getElementById("trendDivTab3").setAttribute("class","tab-link button"); + document.getElementById("trendDivTab2").setAttribute("class","tab-link button active"); + } + + loadRentTrends(city, region, name,type); +} //小区详情 function loadDistrictInfo(){ diff --git a/fangija-zsyf/views/district/detail.html b/fangija-zsyf/views/district/detail.html index 83e23d6..52345cd 100644 --- a/fangija-zsyf/views/district/detail.html +++ b/fangija-zsyf/views/district/detail.html @@ -314,17 +314,7 @@ function onPlusReady() { loadRentTrends(city, region, name,2); } -function showLoadRentTrends(type) { - if(type == 3) { - document.getElementById("trendDivTab3").setAttribute("class","tab-link button active"); - document.getElementById("trendDivTab2").setAttribute("class","tab-link button"); - } else { - document.getElementById("trendDivTab3").setAttribute("class","tab-link button"); - document.getElementById("trendDivTab2").setAttribute("class","tab-link button active"); - } - - loadRentTrends(city, region, name,type); -} + /*baseInfo = new Vue({ el: '#districtBaseInfo', diff --git a/fangija-zsyf/views/house/detail.html b/fangija-zsyf/views/house/detail.html index 3c42d20..8005ab2 100644 --- a/fangija-zsyf/views/house/detail.html +++ b/fangija-zsyf/views/house/detail.html @@ -239,9 +239,9 @@