修复榜单无法跳转问题

This commit is contained in:
Dragon
2023-10-20 16:23:37 +08:00
parent 4f0319bad9
commit 2e76b126e4

View File

@@ -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);