This commit is contained in:
xuhe@fangjia.com
2018-04-12 16:32:12 +08:00
parent f7f70e8cd5
commit 66dfe8c9e4
3 changed files with 2 additions and 15 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ var mapConfig = {
/* 打开银行、餐饮等tab大类*/
$('.bar,#aroundLink').on('click', 'a', function () {
var $this = $(this);
//$this.addClass('current').siblings().removeClass('current');
$this.addClass('active').siblings().removeClass('active');
var id = $this.attr('id');
that.hidden_all_mark()
that.openTypeWrap(id);
@@ -713,21 +713,16 @@ function loadRentTrends(city, region, name){
}
}).then(function (response) {
var re = response.data.data
var categories = new Array();
var series = new Array();
var m = re.times;
var pm = re.distMap
var rooms = re.rooms;
if(m && rooms.length>0){
for(var i=0;i<m.length;i++){
categories.push(m[i]);
}
for(var k in rooms){
var room = rooms[k]
var distM = pm[room];
@@ -763,8 +758,6 @@ function loadRentTrends(city, region, name){
function showRentChart2(categories, series){
var option03 = {
tooltip: {
trigger: 'axis',