19 lines
393 B
Vue
19 lines
393 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 lang="scss">
|
||
/* 注意要写在第一行,同时给style标签加入lang="scss"属性 */
|
||
@import "uview-ui/index.scss";
|
||
</style>
|