修改停止状态展示和开奖状态展示内容

This commit is contained in:
chenruiye
2025-05-19 18:54:02 +08:00
parent 39854a7fd1
commit 9f82f0bcb3

View File

@@ -110,13 +110,16 @@ function getData() {
$('.conis_bg .conis_txt .num').text(res.data.jackpot)
$('.tip_chang .tip_txt .playerNum').text(res.data.playerNum)
// 不可投入状态包括开奖状态跟停止等待状态
if (res.data.status != 0) {
if (res.data.status == 1 || res.data.status == 2) {
$('.fortunate_bottom .participate_btn').css('background-image', "url('./images/participate_btn_huise.png')");
}
// 开奖状态
if(res.data.status == 2){
$('.fortunate_number .tip_chang .tip_txt').html(langReplace(localLang.demoModule.Fortunate_published));
let str = `
<div class="tip_txt">
<span class="playerNum">1</span>
<span class="playerNum">${res.data.luckyPlayerNumber}</span>
<span class="Number_participants">${langReplace(localLang.demoModule.people_sharing)}</span>
</div>
`