feat: 计时/开牌结果移到右侧面板(限红区旁边)

- tab_b.html: limit-box 和 result-area 并排布局
- CSS: 隐藏原始大 overlay,结果在右侧面板显示
- JS: countDown/showPng 同步更新到 #resultAreaTimer/#resultAreaImg
This commit is contained in:
testadmin
2026-05-05 23:01:16 +08:00
parent 6e526d1678
commit 307338fa7d
3 changed files with 72 additions and 36 deletions
+8 -1
View File
@@ -715,7 +715,11 @@ function showPng(opening, pair,isVoice){
if(isVoice){
audioMp3(mp3List).Play();
}
var imgSrc = $('#openingPng').attr('src');
if(imgSrc){
$("#resultAreaTimer").hide();
$("#resultAreaImg").html('<img src="'+imgSrc+'"/>');
}
}
function showPngDt (opening,isVoice){
@@ -800,6 +804,8 @@ function countDown(time) {
$(".countdown .num").html(time)
$(".countdown").css({"opacity":1,"display":"block"});
$(".countdown .grab-count").addClass("count-active");
$("#resultAreaTimer").html(time).show();
$("#resultAreaImg").empty();
if(time == 10){
mp3List = ['time_tip_10.mp3'];
audioMp3(mp3List).Play();
@@ -813,6 +819,7 @@ function countDown(time) {
audioMp3(mp3List).Play();
$(".countdown").css({"opacity":0,"display":"none"});
$(".countdown .grab-count").removeClass("count-active");
$("#resultAreaTimer").hide();
return;
}
}