App.vue 323 B

1234567891011121314151617181920212223
  1. <script>
  2. export default {
  3. onLaunch: function() {
  4. console.log('App Launch')
  5. },
  6. onShow: function() {
  7. console.log('App Show')
  8. },
  9. onHide: function() {
  10. console.log('App Hide')
  11. },
  12. onShareAppMessage:function() {
  13. },
  14. onShareTimeline() {},
  15. }
  16. </script>
  17. <style>
  18. /*每个页面公共css */
  19. </style>