DESKTOP-O04BTUJ\muzen 3 lat temu
rodzic
commit
215f8648f8
1 zmienionych plików z 4 dodań i 5 usunięć
  1. 4 5
      src/pages/lottery/index.vue

+ 4 - 5
src/pages/lottery/index.vue

@@ -82,19 +82,18 @@ export default {
     }
   },
   onLoad(e) {
-    console.log(getUserInfo.postMessage().systemVersion);
     // this.userId = e.userId
-    this.statusBarHeight = uni.getWindowInfo().statusBarHeight + 'px'
-    console.log(uni.getWindowInfo());
+    // this.statusBarHeight = uni.getWindowInfo().statusBarHeight + 'px'
+    this.statusBarHeight = '44rpx'
     this.getList()
   },
   methods: {
     getios() {
-      console.log(getUserInfo.postMessage('用户信息'));
+      console.log(getUserInfo.postMessage('用户信息').setUserInfo);
     },
 
     getA() {
-      window.Android.getUserInfo()
+      window.phoneInterface.getUserInfo()
     },
 
     close() {