App.vue 411B

123456789101112131415161718192021222324
  1. <script>
  2. // import { mapMutations } from 'vuex'
  3. export default {
  4. onLaunch: function() {
  5. // console.log('App Launch')
  6. },
  7. onShow: function() {
  8. // console.log('App Show')
  9. },
  10. onHide: function() {
  11. // console.log('App Hide')
  12. },
  13. // methods:{
  14. // ...mapMutations(['login'])
  15. // }
  16. }
  17. </script>
  18. <style>
  19. /*每个页面公共css */
  20. @import "wxcomponents/vant/common/index.wxss";
  21. </style>