App.vue 430 B

12345678910111213141516171819202122
  1. <script>
  2. import iconfont from "@/static/iconfont/iconfont.js";
  3. export default {
  4. onLaunch: function() {
  5. this.$wxApi.config()
  6. // console.log('App Launch')
  7. },
  8. onShow: function() {
  9. // console.log('App Show')
  10. },
  11. onHide: function() {
  12. // console.log('App Hide')
  13. }
  14. }
  15. </script>
  16. <style>
  17. /*每个页面公共css */
  18. @import url("static/iconfont/iconfont.css");
  19. @import url("common/css/common.css");
  20. </style>