Explorar el Código

更换背景样式

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

+ 4 - 4
pages/index/index.vue

@@ -48,9 +48,9 @@
 				console.log('getHeight')
 			    let phoneHeight = uni.getSystemInfoSync().windowHeight;
 				console.log(phoneHeight)
-				this.bottomCss = phoneHeight > 640 ? '50px':'20px';
-				if(phoneHeight > 820){
-					this.bottomCss = '65px';
+				this.bottomCss = phoneHeight > 640 ? '40px':'20px';
+				if(phoneHeight > 720){
+					this.bottomCss = '35px';
 				}
 			},
 			getPhoneNumber(e,type){
@@ -188,7 +188,7 @@
 	}
 	/* #endif */
 	.logo {
-		height: 100%;
+		height: 100%!important;
 		width: 100%;
 		position: relative;
 		// margin-top: 75px;