2023-03-21 10:52:37 +08:00
|
|
|
<script>
|
|
|
|
|
export default {
|
|
|
|
|
onLaunch: function() {
|
|
|
|
|
// #ifdef APP-PLUS
|
2023-03-24 17:18:00 +08:00
|
|
|
plus.screen.lockOrientation('landscape-primary');
|
2023-03-21 10:52:37 +08:00
|
|
|
plus.navigator.setFullscreen(true);
|
|
|
|
|
// #endif
|
|
|
|
|
},
|
|
|
|
|
onHide: function() {
|
|
|
|
|
console.log('App Hide')
|
|
|
|
|
},
|
|
|
|
|
onUnload() {
|
|
|
|
|
// #ifdef APP-PLUS
|
2023-03-24 17:18:00 +08:00
|
|
|
plus.screen.lockOrientation('landscape-primary');
|
2023-03-21 10:52:37 +08:00
|
|
|
// #endif
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
/*每个页面公共css */
|
|
|
|
|
@import '@/common/style/reset.css';
|
2023-03-22 14:37:02 +08:00
|
|
|
@import '@/common/style/iconfont.css';
|
2023-03-21 10:52:37 +08:00
|
|
|
@import '@/common/style/layout.css';
|
|
|
|
|
</style>
|