27 lines
450 B
Vue
27 lines
450 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>
|
||
<style>
|
||
/*每个页面公共css */
|
||
page,
|
||
uni-page-body,
|
||
html,
|
||
body {
|
||
height: 100%;
|
||
}
|
||
</style> |