23 lines
310 B
Vue
23 lines
310 B
Vue
<script>
|
|
export default {
|
|
onLaunch: function() {
|
|
console.log('App Launch')
|
|
},
|
|
onShow: function() {
|
|
console.log('App Show')
|
|
},
|
|
onHide: function() {
|
|
console.log('App Hide')
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
/*每个页面公共css */
|
|
page,
|
|
uni-page-body,
|
|
html,
|
|
body {
|
|
height: 100%;
|
|
}
|
|
</style> |