Prechádzať zdrojové kódy

更新 'pages/user/public/lead.vue'

wenxin 2 rokov pred
rodič
commit
c3e277cacb
1 zmenil súbory, kde vykonal 13 pridanie a 11 odobranie
  1. 13 11
      pages/user/public/lead.vue

+ 13 - 11
pages/user/public/lead.vue

xqd xqd xqd xqd
@@ -1,15 +1,15 @@
 <template>
-	<view class="" style="background-color: black;height: 100vh">
-		<view style="color: #fff;">
+	<view class="aaa" style="background-color: black;">
+<!-- 	<view style="color: #fff;">
 			<tn-nav-bar :bottomShadow="false" backgroundColor="#207CF7">如何使用凡云AI</tn-nav-bar>
-			<view :style="{height: tobheight+'px'}"></view>
-		</view>
-		<view class="box" style="">
+			<view :style="{height: tobheight+'px'}"></view> 
+		</view> -->
+<view class="box" style="">
 			<video :autoplay="true" src="https://oaigc.oss-cn-chengdu.aliyuncs.com/openai/fanyunuse.mp4" style=""
 				class="video"></video>
-			<!-- <empty v-else tipTxt="暂无内容" style="margin-top: 50%;"></empty> -->
-		</view>
-	</view>
+	
+		</view> 
+	</view> 
 </template>
 
 <script>
@@ -30,6 +30,7 @@
 				var menumtop = uni.getMenuButtonBoundingClientRect().top - uni.getSystemInfoSync().statusBarHeight
 				var paddingtop = uni.getSystemInfoSync().statusBarHeight + menumtop
 				this.tobheight = (menumtop + paddingtop + uni.getMenuButtonBoundingClientRect().height)
+			
 			}
 		},
 	}
@@ -37,9 +38,10 @@
 
 <style lang="scss" scoped>
 	@import './lead.scss';
-
+.aaa{
+	width: 100%;
 	.box {
-		width: 100vw;
+		width: 100%;
 		height: 92vh;
 		background: black;
 
@@ -47,5 +49,5 @@
 			width: 100%;
 			height: 100%;
 		}
-	}
+	}}
 </style>