|
@@ -420,15 +420,19 @@
|
|
|
window.addEventListener('message', function (e) {
|
|
|
let data = e.data;
|
|
|
if (data.bool && isVideo) {
|
|
|
+ $('#playVideo').hide();
|
|
|
+ $('#playCanvas').show();
|
|
|
+ document.getElementById('playVideo').pause();
|
|
|
+ document.getElementById('playVideo').play();
|
|
|
+ $('.weui-mask_transparent').show();
|
|
|
+ $('.weui-toast').show();
|
|
|
engine.disconnect();
|
|
|
wsss.close();
|
|
|
decodeWoker.postMessage('close');
|
|
|
decodeWoker.terminate();
|
|
|
webSocketWorker.postMessage('close');
|
|
|
- document.getElementById('playVideo').pause();
|
|
|
- document.getElementById('playVideo').play();
|
|
|
doConnectBusiness(connectData);
|
|
|
- doConnectDirectives()
|
|
|
+ doConnectDirectives();
|
|
|
}
|
|
|
});
|
|
|
// 开发环境
|
|
@@ -467,15 +471,15 @@
|
|
|
$('#dormant').css({ display: 'block' });
|
|
|
}
|
|
|
|
|
|
- if (mealType === 'VIP') {
|
|
|
- $('.loading_sceen_pic').attr('src', '../static/img/home_bg_VIP.png');
|
|
|
- } else if (mealType === 'SVIP') {
|
|
|
- $('.loading_sceen_pic').attr('src', '../static/img/home_bg_SVIP.png');
|
|
|
- } else if (mealType === 'STAR') {
|
|
|
- $('.loading_sceen_pic').attr('src', '../static/img/home_bg_STAR.png');
|
|
|
- } else if (mealType === 'STARPRO') {
|
|
|
- $('.loading_sceen_pic').attr('src', '../static/img/home_bg_PRO.png');
|
|
|
- }
|
|
|
+ if (mealType === 'VIP') {
|
|
|
+ $('.loading_sceen_pic').attr('src', '../static/img/home_bg_VIP.png');
|
|
|
+ } else if (mealType === 'SVIP') {
|
|
|
+ $('.loading_sceen_pic').attr('src', '../static/img/home_bg_SVIP.png');
|
|
|
+ } else if (mealType === 'STAR') {
|
|
|
+ $('.loading_sceen_pic').attr('src', '../static/img/home_bg_STAR.png');
|
|
|
+ } else if (mealType === 'STARPRO') {
|
|
|
+ $('.loading_sceen_pic').attr('src', '../static/img/home_bg_PRO.png');
|
|
|
+ }
|
|
|
$('#wine').css({
|
|
|
width: window.screen.width,
|
|
|
height: window.screen.height - topwinHeight - 20,
|
|
@@ -2110,5 +2114,4 @@
|
|
|
<script type="text/javascript" src="aac.js"></script>
|
|
|
<script type="text/javascript" src="./timer.js"></script>
|
|
|
</body>
|
|
|
-
|
|
|
-</html>
|
|
|
+</html>
|