|
@@ -1,6 +1,6 @@
|
|
<template>
|
|
<template>
|
|
<view class="app-container">
|
|
<view class="app-container">
|
|
- <view class="nav" :style="{'margin-top': '44rpx'}">
|
|
|
|
|
|
+ <view class="nav" :style="{'margin-top': statusBarHeight + 'px'}">
|
|
<uni-icons type="back" style="font-size: 48rpx" @click="getBack" />
|
|
<uni-icons type="back" style="font-size: 48rpx" @click="getBack" />
|
|
<text class="title">积分抽奖</text>
|
|
<text class="title">积分抽奖</text>
|
|
</view>
|
|
</view>
|
|
@@ -28,6 +28,8 @@ import { receive } from '@/api/lottery.js'
|
|
export default {
|
|
export default {
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
|
|
+ // 状态栏高度
|
|
|
|
+ statusBarHeight: 0,
|
|
// 用户信息
|
|
// 用户信息
|
|
userInfo: {},
|
|
userInfo: {},
|
|
// 表单
|
|
// 表单
|
|
@@ -37,6 +39,7 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
onLoad(e) {
|
|
onLoad(e) {
|
|
|
|
+ this.statusBarHeight = uni.getSystemInfoSync().statusBarHeight;
|
|
this.form = {
|
|
this.form = {
|
|
resultGoodId: e.resultGoodId,
|
|
resultGoodId: e.resultGoodId,
|
|
lotteryCode: e.lotteryCode
|
|
lotteryCode: e.lotteryCode
|