26 lines
474 B
Vue
26 lines
474 B
Vue
|
|
<script>
|
|||
|
|
export default {
|
|||
|
|
onLaunch: function() {
|
|||
|
|
// #ifdef APP-PLUS
|
|||
|
|
plus.screen.lockOrientation('landscape-primary');
|
|||
|
|
plus.navigator.setFullscreen(true);
|
|||
|
|
// #endif
|
|||
|
|
},
|
|||
|
|
onHide: function() {
|
|||
|
|
console.log('App Hide')
|
|||
|
|
},
|
|||
|
|
onUnload() {
|
|||
|
|
// #ifdef APP-PLUS
|
|||
|
|
plus.screen.lockOrientation('landscape-primary');
|
|||
|
|
// #endif
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
</script>
|
|||
|
|
|
|||
|
|
<style>
|
|||
|
|
/*每个页面公共css */
|
|||
|
|
.debuggerMode{
|
|||
|
|
//border: 1px solid red;
|
|||
|
|
}
|
|||
|
|
</style>
|