zjs_project 1 年之前
父节点
当前提交
815ca0b0f4

+ 1 - 1
src/components/newBottomCom/viewMask/viewMask.html

@@ -51,7 +51,7 @@
 		</div>
 		<!-- 点赞喜欢 -->
 		<div class="likeBtn columns" @click.stop="changeAIImg" :class="{like:checked}">
-			<div class="iconfont icon-qeuren" style="margin-bottom:10rem;font-size:30rem;"></div>
+			<div class="iconfont icon-qeuren"></div>
 			喜欢
 		</div>
 	</div>

+ 4 - 0
src/components/newBottomCom/viewMask/viewMask.scss

@@ -81,6 +81,10 @@
 		justify-content:unset;
 		z-index: 13;
 		pointer-events: auto;
+		.icon-qeuren{
+			margin-bottom:10px;
+			font-size:30px;
+		}
 	}
 	.like{
 		background: rgba(249, 193, 102, 0.5);

+ 0 - 6
src/utils/rem.js

@@ -10,12 +10,6 @@
 		var currentFontSize = (width/designWidth)*baseFontSize;
 		// document.querySelector('html').style.fontSize = currentFontSize+'px';
 		document.documentElement.style.fontSize = currentFontSize+'px';
-		// const vp = document.createElement('meta');
-		// vp.name = 'viewport';
-		// vp.content = `initial-scale=${currentFontSize * baseFontSize}, user-scalable=no, width=device-width`;
-		// var m = document.getElementsByTagName('meta')[0];
-		// m.parentNode.insertBefore(vp, m);
-		// alert(width+"-"+currentFontSize+'-'+document.documentElement.style.fontSize)
 	}
 	// 页面大小发生变化时
 	window.onresize = function(){