Parcourir la source

优化&处理视频变形问题

zjs_project il y a 1 an
Parent
commit
27b860a8ed

+ 6 - 0
src/components/newBottomCom/viewAI/viewAI.vue

@@ -600,6 +600,12 @@
 				this.selectIndex = 0;
 				if (res && res.success && res.list) {
 					let list = res.list;
+					list.forEach(item=>{
+						if(item.remark && item.remark.indexOf('x')>0){
+							item.width = item.remark.split('x')[0];
+							item.height = item.remark.split('x')[1];
+						}
+					})
 					if (type == 0) {
 						this.leftList.push({
 							icon:'',

+ 2 - 1
src/pages/webgl_rxdz_text_customize/webgl_rxdz_text_customize.html

@@ -159,7 +159,8 @@
 		</div>
 	</div>
 	<div class="pop-shareImg" v-if="showPopup">
-		<img class="share-img" @click="showPopup = false;" src="https://dm.static.elab-plus.com/miniProgram/shareImg.png" mode="widthFix" />
+		<img class="share-img" @click="showPopup = false;" src="https://dm.static.elab-plus.com/miniProgram/shareImg1.png" mode="widthFix" />
+		<div class="btn rows justify-center" @click="showPopup = false;">我知道啦</div>
 	</div>
 	<!-- 添加企微弹出层 -->
     <!-- <div class="f-popup-bom-container" @click.stop.prevent="showPopup=false" v-show="showPopup">

+ 16 - 5
src/pages/webgl_rxdz_text_customize/webgl_rxdz_text_customize.scss

@@ -599,14 +599,25 @@ page {
 	box-sizing: border-box;
 	left: 0px;
 	top: 0px;
-	background-color: rgba(112, 112, 112, 0.5);
+	background-color: rgba(0, 0, 0, 0.8);
 	z-index: 99;
 	.share-img{
 		position: absolute;
-		top: 0px;
-		right: 0px;
-		width: 454px;
-		height: 496px;
+		top: 54px;
+		right: 58px;
+		width: 575px;
+		height: 453px;
+	}
+	.btn{
+		position: absolute;
+		left: 238px;
+		bottom: 354px;
+		width: 274px;
+		height: 96px;
+		border-radius: 48px;
+		border: solid 2px greenyellow;
+		color: greenyellow;
+		font-size: 28px;
 	}
 }
 textarea::-webkit-scrollbar{