Browse Source

抽奖页面

DESKTOP-O04BTUJ\muzen 3 years atrás
parent
commit
119256401b
1 changed files with 1 additions and 10 deletions
  1. 1 10
      src/pages/lottery/detail.vue

+ 1 - 10
src/pages/lottery/detail.vue

@@ -29,7 +29,7 @@ export default {
   data() {
     return {
       // 状态栏高度
-      statusBarHeight: 0,
+      statusBarHeight: 20,
       // 用户信息
       userInfo: {},
       // 表单
@@ -45,14 +45,6 @@ export default {
     }
     this.userInfo = JSON.parse(e.userInfo)
   },
-  onReady() {
-    uni.getSystemInfo({
-      success: (res) => {
-        this.statusBarHeight = res.statusBarHeight
-        console.log(res);
-      }
-    })
-  },
   methods: {
     // 返回
     getBack() {
@@ -106,7 +98,6 @@ export default {
   width: 100%;
   height: 100%;
   color: #000;
-  padding: 0;
 
   .nav {
     height: 88rpx;