diff --git a/areaList.html b/areaList.html index 261eecd..4d24784 100644 --- a/areaList.html +++ b/areaList.html @@ -47,6 +47,6 @@ 请选择世界遗产 - - + + \ No newline at end of file diff --git a/js/areaList.js b/js/areaList.js index f88b678..8a798ee 100644 --- a/js/areaList.js +++ b/js/areaList.js @@ -53,8 +53,8 @@ $('.wrap').css('height', $(window).height()); //左侧点击事件 $('.leftList ul').on('click', 'li', function(e) { var rightCont = ''; - console.log(e) - console.log(data[$(this).index()].bowuguan) + //console.log(e) + //console.log(data[$(this).index()].bowuguan) var bList = data[$(this).index()].bowuguan; $.each(bList, function(i, item) { if(idList.indexOf(item.id) == -1) { @@ -118,7 +118,7 @@ $('.wrap').css('height', $(window).height()); $.each(datalist, function(index_1, val_1) { // console.log(index_1) if(split[0] == val_1.id) { - console.log(val_1) + //console.log(val_1) if(chooseArr.length > 0) { var ifOf = true; for(var i = 0; i < chooseArr.length; i++) { @@ -214,7 +214,7 @@ $('.wrap').css('height', $(window).height()); }) }); - console.log(chooseArr) + //console.log(chooseArr) xuanzhong() } @@ -357,7 +357,7 @@ $('.wrap').css('height', $(window).height()); $.each(chooseArr, function(ind, vals) { var dist = vals.bName.length; for(var j = 0; j < dist; j++) { - console.log(j) + //console.log(j) cseArr += '
  • ' + vals.bName[j] + '
  • ' }