|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<view class="app-container">
|
|
|
- <view class="nav" :style="`margin-top: ${statusBarHeight}`">
|
|
|
+ <view class="nav">
|
|
|
<uni-icons type="back" style="font-size: 48rpx" @click="close" />
|
|
|
<text class="title">积分抽奖</text>
|
|
|
</view>
|
|
@@ -90,6 +90,7 @@ export default {
|
|
|
},
|
|
|
mounted() {
|
|
|
this.statusBarHeight = uni.getSystemInfoSync().statusBarHeight + 'px'
|
|
|
+ console.log(uni.getSystemInfoSync());
|
|
|
},
|
|
|
methods: {
|
|
|
setUserInfo() {
|
|
@@ -229,6 +230,7 @@ export default {
|
|
|
font-weight: bold;
|
|
|
font-size: 36rpx;
|
|
|
position: relative;
|
|
|
+ margin-top: var(--status-bar-height);
|
|
|
|
|
|
.title {
|
|
|
position: absolute;
|