|
@@ -79,8 +79,10 @@ export default {
|
|
|
disabled: true
|
|
|
}
|
|
|
},
|
|
|
- onLoad() {
|
|
|
+ onReady() {
|
|
|
this.statusBarHeight = uni.getSystemInfoSync().statusBarHeight;
|
|
|
+ },
|
|
|
+ onLoad() {
|
|
|
// 获取App方法
|
|
|
getUserInfo.postMessage('获取用户信息')
|
|
|
// 暴露setUserInfo方法给APP
|
|
@@ -88,8 +90,6 @@ export default {
|
|
|
this.userInfo = res
|
|
|
this.setUserInfo()
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
},
|
|
|
methods: {
|
|
|
setUserInfo() {
|
|
@@ -219,6 +219,7 @@ export default {
|
|
|
background-repeat: no-repeat;
|
|
|
width: 100%;
|
|
|
height: 1880rpx;
|
|
|
+ padding: 0;
|
|
|
|
|
|
.nav {
|
|
|
height: 88rpx;
|