mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-11 20:06:48 +08:00
build
This commit is contained in:
@@ -272,6 +272,8 @@
|
||||
},
|
||||
// 全屏+退出全屏
|
||||
fullScreen(){
|
||||
console.log( "full screen")
|
||||
this.$listeners['fullscreenchange'](this.fullScreenFlag)
|
||||
var _this = this
|
||||
if(this.fullScreenFlag){
|
||||
//this.videoContext.exitFullScreen();
|
||||
@@ -291,7 +293,7 @@
|
||||
if(document.documentElement.requestFullscreen){
|
||||
// document.documentElement.requestFullscreen();
|
||||
}else{
|
||||
window.screenTop(0)
|
||||
// window.screenTop(0)
|
||||
}
|
||||
uni.getSystemInfo({
|
||||
success: function (info) {
|
||||
@@ -300,7 +302,6 @@
|
||||
}
|
||||
});
|
||||
}
|
||||
this.$listeners['fullscreenchange'](this.fullScreenFlag)
|
||||
},
|
||||
// // 全屏模式下,横屏+竖屏
|
||||
// horizontalScreen(){
|
||||
|
||||
Reference in New Issue
Block a user