2025-06-16 13:40:43 +08:00
|
|
|
<script>
|
|
|
|
|
export default {
|
|
|
|
|
onLaunch: function() {
|
|
|
|
|
// #ifdef APP-PLUS
|
2025-08-21 13:20:42 +08:00
|
|
|
plus.screen.lockOrientation('landscape-primary');
|
2025-06-16 13:40:43 +08:00
|
|
|
plus.navigator.setFullscreen(true);
|
|
|
|
|
// #endif
|
|
|
|
|
},
|
|
|
|
|
onHide: function() {
|
|
|
|
|
console.log('App Hide')
|
|
|
|
|
},
|
|
|
|
|
onUnload() {
|
|
|
|
|
// #ifdef APP-PLUS
|
2025-08-21 13:20:42 +08:00
|
|
|
plus.screen.lockOrientation('landscape-primary');
|
2025-06-16 13:40:43 +08:00
|
|
|
// #endif
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
/*每个页面公共css */
|
|
|
|
|
.debuggerMode{
|
|
|
|
|
//border: 1px solid red;
|
|
|
|
|
}
|
|
|
|
|
</style>
|