From 2ce3a95642deaff8426f7dfb76b516b5d4e9ec36 Mon Sep 17 00:00:00 2001 From: ZHAOTONGHUA <2066753415@qq.com> Date: Wed, 20 Nov 2019 17:53:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A8=A1=E6=80=81=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/web/assets/js/model.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/web/assets/js/model.js b/frontend/web/assets/js/model.js index 261777a..0e4387f 100644 --- a/frontend/web/assets/js/model.js +++ b/frontend/web/assets/js/model.js @@ -10,11 +10,12 @@ $(function(){ $(".model-bg").each(function (i) { var _that=$(this); - $.each(arr,function (index) { + $.each(arr,function (key,value) { _that.find(".nextPage").click(function () { _that.addClass("unchoose"); $(".model-bg").eq(i+1).removeClass("unchoose"); - console.log(index); + console.log(key); + console.log(value); // $('#side-menu .av').eq(index).addClass('boo'); }); _that.find(".Previous").click(function () {