App.vue 388 Bytes edit raw blame history 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 <script lang="ts"> import Vue from 'vue'; export default Vue.extend({ mpType: 'app', onLaunch() { console.log('App Launch') }, onShow() { console.log('App Show') }, onHide() { console.log('App Hide') } }); </script> <style> /*每个页面公共css */ </style>