From d3d80496a3c3fcbff2c361b0b509cd316757888e Mon Sep 17 00:00:00 2001 From: gaojuan Date: Sat, 14 Apr 2018 15:05:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=BF=E4=BA=A7=E7=AE=A1=E7=90=86=E8=B5=B0?= =?UTF-8?q?=E5=8A=BF=E7=82=B9=E5=87=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fangija-zsyf/js/district/districtDetail.js | 11 +++++++++++ fangija-zsyf/views/district/detail.html | 12 +----------- fangija-zsyf/views/house/detail.html | 14 ++++++-------- 3 files changed, 18 insertions(+), 19 deletions(-) diff --git a/fangija-zsyf/js/district/districtDetail.js b/fangija-zsyf/js/district/districtDetail.js index 0dcd6d5..0a6c3fb 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 @@
@@ -249,12 +249,10 @@
- 半年 - 一年 -
-
- + 半年 + 一年
+