浏览代码

抽奖页面

DESKTOP-O04BTUJ\muzen 3 年之前
父节点
当前提交
4bba075530
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/pages/lottery/index.vue

+ 1 - 1
src/pages/lottery/index.vue

@@ -1,6 +1,6 @@
 <template>
   <view class="app-container">
-    <view class="nav" :style="{'margin-top': statusBarHeight + 'px'}">
+    <view class="nav" style="margin-top: var(--status-bar-height)">
       <uni-icons type="back" style="font-size: 48rpx" @click="close" />
       <text class="title">积分抽奖</text>
     </view>