2024-05-28 14:14:34 +08:00
|
|
|
<script>
|
2024-05-31 09:32:01 +08:00
|
|
|
export default {
|
|
|
|
|
onLaunch: function () {
|
|
|
|
|
console.log('App Launch')
|
|
|
|
|
},
|
|
|
|
|
onShow: function () {
|
|
|
|
|
console.log('App Show')
|
|
|
|
|
},
|
|
|
|
|
onHide: function () {
|
|
|
|
|
console.log('App Hide')
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-05-28 14:14:34 +08:00
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style lang="scss">
|
2024-05-31 09:32:01 +08:00
|
|
|
/*每个页面公共css */
|
|
|
|
|
@import '@/uni_modules/uni-scss/index.scss';
|
|
|
|
|
@import '@/uni_modules/uview-ui/index.scss';
|
|
|
|
|
/* #ifndef APP-NVUE */
|
|
|
|
|
@import '@/static/customicons.css';
|
|
|
|
|
// 设置整个项目的背景色
|
|
|
|
|
page {
|
|
|
|
|
// background: linear-gradient(-180deg, #64acf0 0%, #ffffff 62%,#EEF3F6 70%);
|
|
|
|
|
background: #f3f5f8;
|
|
|
|
|
}
|
2024-05-28 14:14:34 +08:00
|
|
|
|
2024-05-31 09:32:01 +08:00
|
|
|
/* #endif */
|
|
|
|
|
.example-info {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
color: #333;
|
|
|
|
|
padding: 10px;
|
|
|
|
|
}
|
2024-05-28 14:14:34 +08:00
|
|
|
</style>
|