App.vue 603 B

1234567891011121314151617181920212223242526272829303132
  1. <script>
  2. import { useAppStore } from '@/store/appStore';
  3. export default {
  4. onLaunch: function () {
  5. console.log('App Launch')
  6. const appStore = useAppStore();
  7. appStore.init();
  8. },
  9. onShow: function () {
  10. console.log('App Show')
  11. },
  12. onHide: function () {
  13. console.log('App Hide')
  14. }
  15. }
  16. </script>
  17. <style lang="scss">
  18. /*每个页面公共css */
  19. @import '@/static/theme/theme.module.scss';
  20. ::-webkit-scrollbar {
  21. width: 0 !important;
  22. height: 0 !important;
  23. color: transparent !important;
  24. display: none !important;
  25. }
  26. image {
  27. will-change: transform, width, height;
  28. }
  29. </style>