From 09ed8e5d293167e8b4d04cf2d2f9587b18a8bd25 Mon Sep 17 00:00:00 2001 From: liuguowei Date: Tue, 25 May 2021 08:42:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BF=AE=E6=94=B9-=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E9=81=97=E4=BA=A7=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- areaList.html | 4 ++-- js/areaList.js | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) 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] + '
  • ' }