feat: 计时/开牌结果移到右侧面板(限红区旁边)
- tab_b.html: limit-box 和 result-area 并排布局 - CSS: 隐藏原始大 overlay,结果在右侧面板显示 - JS: countDown/showPng 同步更新到 #resultAreaTimer/#resultAreaImg
This commit is contained in:
@@ -453,10 +453,43 @@ margin-left: 0;
|
||||
|
||||
|
||||
|
||||
.bottom-row{
|
||||
display: flex;
|
||||
width: 100%;
|
||||
gap: 4px;
|
||||
}
|
||||
.table-data .limit-box{
|
||||
width: 95%;
|
||||
flex: 1;
|
||||
padding: 0 2.5%;
|
||||
}
|
||||
.result-area{
|
||||
width: 35%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 10vh;
|
||||
}
|
||||
.result-area-timer{
|
||||
font-size: 2.5vw;
|
||||
font-weight: bold;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
background: rgba(0,0,0,0.5);
|
||||
border-radius: 50%;
|
||||
width: 5vw;
|
||||
height: 5vw;
|
||||
line-height: 5vw;
|
||||
margin-bottom: 4px;
|
||||
display: none;
|
||||
}
|
||||
.result-area-img{
|
||||
text-align: center;
|
||||
}
|
||||
.result-area-img img{
|
||||
max-width: 100%;
|
||||
max-height: 12vh;
|
||||
}
|
||||
|
||||
|
||||
.table-data .lan-box{
|
||||
@@ -676,7 +709,7 @@ margin-left: 0;
|
||||
.countdown{ z-index: 999;
|
||||
|
||||
position:fixed;
|
||||
display: none;
|
||||
display: none !important;
|
||||
bottom: 22vh;
|
||||
right: 1vw;
|
||||
left: auto;
|
||||
@@ -784,18 +817,9 @@ margin-left: 0;
|
||||
}
|
||||
|
||||
|
||||
/*结果弹窗*/
|
||||
/*结果弹窗 - 隐藏原始大 overlay,结果在右侧面板 .result-area 显示*/
|
||||
.result-box{
|
||||
position: fixed;
|
||||
z-index: 1000;
|
||||
bottom: 2vh;
|
||||
right: 1vw;
|
||||
left: auto;
|
||||
width: 12vw;
|
||||
}
|
||||
.result-box img{
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.result-box.blink{
|
||||
|
||||
Reference in New Issue
Block a user