xlh 1 年之前
父节点
当前提交
4a2bdea0c2
共有 1 个文件被更改,包括 6 次插入3 次删除
  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;