소스 검색

抽奖页面

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>