29 lines
513 B
Vue
29 lines
513 B
Vue
<script>
|
|
export default {
|
|
onLaunch: function () {
|
|
console.log("App onLaunch");
|
|
},
|
|
ononReady: function () {
|
|
console.log("App Ready");
|
|
},
|
|
onShow: function () {
|
|
|
|
},
|
|
onHide: function () {
|
|
console.log("App Hide");
|
|
},
|
|
};
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
/* 引入的uview-ui的index.scss放第一行引入 */
|
|
@import "uview-ui/index.scss";
|
|
@import "common/index.scss";
|
|
/*每个页面公共css */
|
|
page {
|
|
background-size: 100% 100%;
|
|
background-attachment: fixed;
|
|
height: 100vh;
|
|
}
|
|
</style>
|