From 73b0c0f796a9c1437b5373e04bf7200226beeb86 Mon Sep 17 00:00:00 2001 From: ZHAOTONGHUA <2066753415@qq.com> Date: Thu, 21 Nov 2019 15:14:31 +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/pop.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/web/assets/js/pop.js b/frontend/web/assets/js/pop.js index ee906b5..8b69e5d 100644 --- a/frontend/web/assets/js/pop.js +++ b/frontend/web/assets/js/pop.js @@ -16,7 +16,8 @@ $(function(){ console.log(i); _that.addClass("unchoose"); $(".model-bg").eq(i+1).removeClass("unchoose"); - $('#side-menu .av').eq(arr[i]).addClass('boo').eq(arr[i-1]).removeClass('boo'); + $('#side-menu .av').eq(arr[i]).addClass('boo'); + $('#side-menu .av').eq(arr[i-1]).removeClass('boo'); }); _that.find(".Previous").click(function () { _that.addClass("unchoose");