diff --git a/view/yinmeng/activity/2023-halloween/js/index.js b/view/yinmeng/activity/2023-halloween/js/index.js index eb889ca..6a83b04 100644 --- a/view/yinmeng/activity/2023-halloween/js/index.js +++ b/view/yinmeng/activity/2023-halloween/js/index.js @@ -403,11 +403,6 @@ $('.listRule').click(function () { $('.listRule').hide(); bodyScroolFun(false); }) -// 打开初中高宝箱弹窗 -$('').click(function () { - $('.box_pub').show(); - bodyScroolFun(true); -}) // 关闭初中高宝箱弹窗 $('.box_pub').click(function () { $('.box_pub').hide(); @@ -523,9 +518,18 @@ $('.page1 .diceBox .dice').click(function () { // diceSvga(); draw(pooType, 1); }) +// 全部投入 $('.page1 .diceBox .diceRightBut').click(function () { draw(pooType, null); }) +// 活动结束按钮 +$('.endActivity .endActivity_in .but').click(function () { + $('.endActivity').hide(); + bodyScroolFun(false); + $('.page1,.page2,.page3').hide(); + getRank(rankType, data); + $('.page3').show(); +}) // 抽奖接口 function draw (pooType, num) { showLoading() @@ -569,7 +573,6 @@ function draw (pooType, num) { } // 设置步数 $('.page1 .diceBox .dice').attr('src', `./images/dice${res.step.length}.png`); - getConfig(); } else if (res.code == 4000) { toastMsg(res.message);