achao 3 jaren geleden
bovenliggende
commit
6397b4b1f9
2 gewijzigde bestanden met toevoegingen van 6 en 4 verwijderingen
  1. 6 4
      pages/mine/company/companyvideo.nvue
  2. BIN
      static/video-bgc.png

+ 6 - 4
pages/mine/company/companyvideo.nvue

@@ -4,7 +4,9 @@
 		</KJ-Camera>
 		<view class="view-content" :style="contentStyle">
 			<image :showLoading="true" src="@/static/video-bgc.png" @click="click" class="img-bgc"
-				:style="contentStyle"></image>
+				:style="contentStyle" mode='widthFix'></image>
+		<!-- 	<image :showLoading="true" src="@/static/video-bgc.png" @click="click" class="img-bgc"
+				:style="contentStyle"></image> -->
 			<view class="content" :style="{width:width}">
 				<view class="title">
 					请阅读以下文字
@@ -88,7 +90,7 @@
 					src: '',
 					contentStyle: {
 						width: 0,
-						height: 0,
+						height: 'auto',
 					},
 					width: 0,
 					height: 0,
@@ -104,7 +106,7 @@
 						this.height = res.windowHeight
 						this.contentStyle = {
 							width: res.windowWidth,
-							height: res.windowHeight,
+							// height: res.windowHeight,
 						}
 					}
 				})
@@ -410,7 +412,7 @@
 
 		.content {
 			position: fixed;
-			top: 700rpx;
+			top: 800rpx;
 			// background: red;
 		}
 

BIN
static/video-bgc.png