修复榜单无法跳转问题
This commit is contained in:
@@ -403,11 +403,6 @@ $('.listRule').click(function () {
|
|||||||
$('.listRule').hide();
|
$('.listRule').hide();
|
||||||
bodyScroolFun(false);
|
bodyScroolFun(false);
|
||||||
})
|
})
|
||||||
// 打开初中高宝箱弹窗
|
|
||||||
$('').click(function () {
|
|
||||||
$('.box_pub').show();
|
|
||||||
bodyScroolFun(true);
|
|
||||||
})
|
|
||||||
// 关闭初中高宝箱弹窗
|
// 关闭初中高宝箱弹窗
|
||||||
$('.box_pub').click(function () {
|
$('.box_pub').click(function () {
|
||||||
$('.box_pub').hide();
|
$('.box_pub').hide();
|
||||||
@@ -523,9 +518,18 @@ $('.page1 .diceBox .dice').click(function () {
|
|||||||
// diceSvga();
|
// diceSvga();
|
||||||
draw(pooType, 1);
|
draw(pooType, 1);
|
||||||
})
|
})
|
||||||
|
// 全部投入
|
||||||
$('.page1 .diceBox .diceRightBut').click(function () {
|
$('.page1 .diceBox .diceRightBut').click(function () {
|
||||||
draw(pooType, null);
|
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) {
|
function draw (pooType, num) {
|
||||||
showLoading()
|
showLoading()
|
||||||
@@ -569,7 +573,6 @@ function draw (pooType, num) {
|
|||||||
}
|
}
|
||||||
// 设置步数
|
// 设置步数
|
||||||
$('.page1 .diceBox .dice').attr('src', `./images/dice${res.step.length}.png`);
|
$('.page1 .diceBox .dice').attr('src', `./images/dice${res.step.length}.png`);
|
||||||
|
|
||||||
getConfig();
|
getConfig();
|
||||||
} else if (res.code == 4000) {
|
} else if (res.code == 4000) {
|
||||||
toastMsg(res.message);
|
toastMsg(res.message);
|
||||||
|
Reference in New Issue
Block a user