You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
816 B
39 lines
816 B
<script>
|
|
import * as Api from '@/api/layout';
|
|
|
|
export default {
|
|
onLaunch: async function() {
|
|
console.log('App Launch')
|
|
// 获取系统信息
|
|
uni.getSystemInfo({
|
|
success(data) {
|
|
console.log(data);
|
|
console.log('data.navigationStyle: ',data.navigationStyle);
|
|
if (data) {
|
|
// app.statusBarHeight = data.statusBarHeight + 50
|
|
}
|
|
}
|
|
})
|
|
},
|
|
onShow: async function() {
|
|
console.log('App Show')
|
|
},
|
|
onHide: function() {
|
|
console.log('App Hide')
|
|
}
|
|
}
|
|
</script>
|
|
<style>
|
|
/deep/ .uni-card {
|
|
border-radius: 8px !important;
|
|
}
|
|
</style>
|
|
<style lang="scss">
|
|
/* 辅助样式 */
|
|
@import '@/uni_modules/uni-scss/index.scss';
|
|
/* websoft 样式表 */
|
|
@import '@/uni_modules/ws-common/utils/app.scss';
|
|
/* iconfont图标库 */
|
|
@import url("utils/iconfont.css");
|
|
|
|
</style>
|