zweizhao пре 7 година
родитељ
комит
8b40396336
2 измењених фајлова са 7 додато и 2 уклоњено
  1. 5 1
      assets/css/special.css
  2. 2 1
      pages/user/register.vue

+ 5 - 1
assets/css/special.css

@@ -21,7 +21,7 @@
 .el-form--label-top label.el-form-item__label {
   padding: 0;
 }
-.el-form-item {
+.register .el-form-item {
   margin-bottom: 18px;
 }
 .el-form-item__label {
@@ -29,4 +29,8 @@
 }
 .cash-input input {
   padding-left: 36px;
+}
+
+.register .el-form-item__label {
+  line-height: 30px;
 }

+ 2 - 1
pages/user/register.vue

@@ -168,7 +168,7 @@ export default {
     if(this.$store.getters.isLogin) {
       this.$message('你已有注册的账号')
       setTimeout(() => {
-        location.href = '/'
+        // location.href = '/'
       }, 1000)
     }
   },
@@ -320,6 +320,7 @@ export default {
 .logos img {
   width: 34px;
   height: 34px;
+  margin-bottom: 50px;
 }
 .switch-passowrd {
   margin-right: 8px;