dwh 2 년 전
부모
커밋
ddf717c1d0
3개의 변경된 파일8개의 추가작업 그리고 3개의 파일을 삭제
  1. 4 1
      src/views/faceVideo/faceVideo.vue
  2. 2 1
      src/views/mine/chooseImage.vue
  3. 2 1
      src/views/wallet/walletHome/index.scss

+ 4 - 1
src/views/faceVideo/faceVideo.vue

@@ -1,6 +1,6 @@
 <template>
 	<div class="container">
-		<div id="topnav" class="topnav flex-between">
+		<div id="topnav" class="topnav flex-between" :style="{'padding-top':`${statusBarHeight}px`}">
 			<div class="nav-item flex-center" @click="back">
 				<img :src="`${assetsUrl}back.png`" mode="widthFix" class="nav-img"></img>
 			</div>
@@ -48,6 +48,9 @@
 		computed: {
 			userInfo(){
 				return JSON.parse(localStorage('userInfo'));
+			},
+			statusBarHeight(){
+				return localStorage.getItem('statusBarHeight');
 			}
 		},
 		methods:{

+ 2 - 1
src/views/mine/chooseImage.vue

@@ -61,7 +61,7 @@
 			</div>
 			
 		</van-popup>
-		<div class="list flex-start">
+		<div class="list flex-start"  :style="{'padding-top':`${statusBarHeight+60}px`}">
 			<div class="move-item flex-center" @click="toAddImg" slot="header">
 				<van-image
 				  width="108"
@@ -303,6 +303,7 @@
 		width: 100vw;
 		height:60px;
 		z-index: 100;
+		background-color: $bgcolor1;
 		.nav-item {
 			width:40px;
 			height: 40px;

+ 2 - 1
src/views/wallet/walletHome/index.scss

@@ -1,5 +1,6 @@
 .container{
-	width: 100%;
+	width: 100vw;
+	height: 100vh;
 	background-color: #F7F7F7;
 	.panel{
 		background: #FFFFFF;