From 1945e0a39d234e069888ddf5d02053d3657a53e5 Mon Sep 17 00:00:00 2001 From: ZHAOTONGHUA <2066753415@qq.com> Date: Tue, 19 Nov 2019 14:24:23 +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/css/popUps.css | 4 ++-- frontend/web/assets/js/popUps.js | 18 +++++++++--------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/frontend/web/assets/css/popUps.css b/frontend/web/assets/css/popUps.css index be0d5ec..5a52ee7 100644 --- a/frontend/web/assets/css/popUps.css +++ b/frontend/web/assets/css/popUps.css @@ -52,6 +52,6 @@ padding: 10px 20px; border-radius: 6px; text-align: center; - margin-top:-65px; - margin-left:45px; + margin-top:-42px; + margin-left:130px; } \ No newline at end of file diff --git a/frontend/web/assets/js/popUps.js b/frontend/web/assets/js/popUps.js index 45c8bdb..b18837c 100644 --- a/frontend/web/assets/js/popUps.js +++ b/frontend/web/assets/js/popUps.js @@ -2,21 +2,21 @@ $(function(){ $(".prompt").click(function(){ $(".model_wrap").show(); $(".model-bg").eq(0).removeClass("unchoose"); + $('.jump').removeClass('unchoose'); }); - $(".model-bg").each(function (i,item) { + $(".model-bg").each(function (i) { var _that=$(this); _that.find(".nextPage").click(function () { _that.addClass("unchoose"); $(".model-bg").eq(i+1).removeClass("unchoose"); - console.log(i); - console.log(i+1); - console.log(item); }) - // $(".nextPage").click(function () { - // $('.model-bg').togg - // - // }) - }) + }); + + $(".jump").click(function () { + $(this).addClass('unchoose'); + $(".model_wrap").hide(); + $(".model-bg").addClass("unchoose"); + }); }); \ No newline at end of file