|
@@ -453,7 +453,7 @@
|
|
|
);
|
|
|
window.addEventListener('message', function (e) {
|
|
|
let data = e.data;
|
|
|
- if (data.bool && isVideo) {
|
|
|
+ if (data.bool && isVideo && !$('#playCanvas').is(':visible')) {
|
|
|
document.getElementById('playVideo').play();
|
|
|
debounceSwitchingScreens();
|
|
|
}
|
|
@@ -1966,9 +1966,12 @@
|
|
|
url: '/pages/home/home',
|
|
|
});
|
|
|
} else {
|
|
|
- uni.webView.navigateBack({
|
|
|
- delta: 1,
|
|
|
- });
|
|
|
+ // uni.webView.navigateBack({
|
|
|
+ // delta: 1,
|
|
|
+ // });
|
|
|
+ parent.postMessage({
|
|
|
+ type: 'exit'
|
|
|
+ }, '*')
|
|
|
}
|
|
|
}
|
|
|
|