Explorar el Código

修改样式比例

306132416@qq.com hace 4 años
padre
commit
365fe5f9cc
Se han modificado 1 ficheros con 4 adiciones y 3 borrados
  1. 4 3
      pages/index/index.vue

+ 4 - 3
pages/index/index.vue

@@ -48,9 +48,9 @@
 				console.log('getHeight')
 			    let phoneHeight = uni.getSystemInfoSync().windowHeight;
 				console.log(phoneHeight)
-				this.bottomCss = phoneHeight > 640 ? '40px':'20px';
+				this.bottomCss = phoneHeight > 640 ? '50px':'20px';
 				if(phoneHeight > 720){
-					this.bottomCss = '35px';
+					this.bottomCss = '55px';
 				}
 			},
 			getPhoneNumber(e,type){
@@ -171,6 +171,7 @@
 		align-items: center;
 		justify-content: center;
 		height: 100%;
+		background-image: linear-gradient(#000, #22272A);
 		// background-image: url('/static/bg-home.jpg');
 		// background-repeat: no-repeat;
 		// background-size: 100% 100%;
@@ -188,7 +189,7 @@
 	}
 	/* #endif */
 	.logo {
-		height: 100%!important;
+		// height: 100%!important;
 		width: 100%;
 		position: relative;
 		// margin-top: 75px;