1234567891011121314151617181920 |
- <script>
- export default {
- onLaunch: function() {
- console.log('App Launch')
- // plus.screen.lockOrientation('landscape-primary'); // 锁定横屏
- },
- onShow: function() {
- console.log('App Show')
- },
- onHide: function() {
- console.log('App Hide')
- }
- }
- </script>
- <style lang="scss">
- @import "uview-ui/index.scss";
- /*每个页面公共css */
- @import './common/global.css';
- </style>
|