guhongwei 4 年之前
父節點
當前提交
9ef3921e85
共有 2 個文件被更改,包括 7 次插入8 次删除
  1. 1 2
      src/views/index.vue
  2. 6 6
      src/views/login.vue

+ 1 - 2
src/views/index.vue

@@ -22,8 +22,7 @@ export default {
   data: function() {
     return {};
   },
-  created() {
-  },
+  created() {},
   methods: {},
   computed: {
     ...mapState(['user']),

+ 6 - 6
src/views/login.vue

@@ -75,19 +75,19 @@ export default {
   height: 100vh;
   .login {
     position: relative;
-    top: 26%;
-    left: 41%;
-    width: 31%;
-    height: 52%;
+    top: 32%;
+    left: 43%;
+    width: 450px;
+    height: 400px;
     background-color: #ffffff5f;
     border-radius: 10px;
     .top {
       text-align: center;
       color: #fff;
-      font-size: 50px;
+      font-size: 40px;
       text-shadow: cornflowerblue 3px 3px 3px;
       font-family: cursive;
-      padding: 50px 0;
+      padding: 35px 0;
     }
     .form {
       padding: 25px 50px;