xlh 1 year ago
parent
commit
4a2bdea0c2
1 changed files with 6 additions and 3 deletions
  1. 6 3
      pages/Sign/Sign.vue

+ 6 - 3
pages/Sign/Sign.vue

@@ -24,7 +24,7 @@
 			};
 		},
 		methods: {
-			gotoIndex(){
+			gotoIndex() {
 				uni.switchTab({
 					url: '/pages/index/index'
 				})
@@ -35,10 +35,13 @@
 
 <style lang="scss" scoped>
 	.sign {
-		margin-top: 230px;
+		display: flex;
+		justify-content: center;
+		align-items: center;
+		height: 100vh;
+
 		.signBox {
 			width: 100%;
-			height: 100%;
 			text-align: center;
 			display: flex;
 			flex-direction: column;