App.vue 402 B

1234567891011121314151617181920
  1. <script>
  2. export default {
  3. onLaunch: function() {
  4. console.log('App Launch')
  5. // plus.screen.lockOrientation('landscape-primary'); // 锁定横屏
  6. },
  7. onShow: function() {
  8. console.log('App Show')
  9. },
  10. onHide: function() {
  11. console.log('App Hide')
  12. }
  13. }
  14. </script>
  15. <style lang="scss">
  16. @import "uview-ui/index.scss";
  17. /*每个页面公共css */
  18. @import './common/global.css';
  19. </style>