改变砸蛋ios传参

This commit is contained in:
dragon
2024-09-30 17:21:44 +08:00
parent da4ea9537b
commit cdf647b793
4 changed files with 45 additions and 1 deletions

View File

@@ -235,3 +235,23 @@ body {
font-size: 0.32rem;
font-weight: bold;
}
.mc {
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
background: #8B37E4;
display: none;
}
.mc .text {
color: #fff;
text-align: center;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
font-size: 0.34667rem;
}

View File

@@ -241,4 +241,24 @@ body {
}
}
}
}
.mc {
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
background: #8B37E4;
display: none;
.text {
color: #fff;
text-align: center;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
font-size: px2rem(26);
}
}

View File

@@ -57,6 +57,10 @@
</li> -->
</ul>
</div>
<!-- 蒙层 -->
<div class="mc">
<div class="text"></div>
</div>
</body>
</html>

View File

@@ -146,7 +146,7 @@ function draw(num) {
data: {
deviceId: pubInfo.deviceInfo.deviceId,
sendMessage: 1,
roomUid: pubInfo.roomUid,
roomUid: browser.ios ? '7562632' : pubInfo.roomUid,
num,
},
success(res) {