From d5ddf52013bdfeb296f9a6e6ee5d51c19f527cc5 Mon Sep 17 00:00:00 2001 From: ZHAOTONGHUA <2066753415@qq.com> Date: Tue, 19 Nov 2019 14:04:43 +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/popUps.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/web/assets/js/popUps.js b/frontend/web/assets/js/popUps.js index 50a3620..acdc966 100644 --- a/frontend/web/assets/js/popUps.js +++ b/frontend/web/assets/js/popUps.js @@ -8,7 +8,9 @@ $(function(){ $(".model-bg").each(function (i,item) { var _that=$(this); _that.find(".nextPage").click(function () { - _that.addClass("unchoose").eq(i+1).removeClass("unchoose"); + _that.addClass("unchoose"); + _that.eq(i+1).removeClass("unchoose"); + console.log(i); console.log(i+1); console.log(item); })