App.vue 502 B

1234567891011121314151617181920212223242526272829
  1. <script>
  2. export default {
  3. onLaunch: function() {
  4. console.log('App Launch')
  5. },
  6. onShow: function() {
  7. console.log('App Show')
  8. this.$store.commit("user/save", uni.getStorageSync("userinfo"))
  9. },
  10. onHide: function() {
  11. console.log('App Hide')
  12. },
  13. }
  14. </script>
  15. <style>
  16. page {
  17. background: #F8F8F8;
  18. }
  19. /*每个页面公共css */
  20. ::-webkit-scrollbar {
  21. display: none;
  22. width: 0 !important;
  23. height: 0 !important;
  24. -webkit-appearance: none;
  25. background: transparent;
  26. }
  27. </style>