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