Browse Source

Merge branch 'new' of http://192.168.2.236:10080/zhouna/preliminary into new

liucf 5 years ago
parent
commit
a3eafaab00
1 changed files with 7 additions and 7 deletions
  1. 7 7
      src/components/Login.vue

+ 7 - 7
src/components/Login.vue

@@ -117,21 +117,21 @@ export default {
         if (type == 103) {
           if (!phoneTest.test(value)) {
             //验证不通过
-            this.defaultWaring("请输入正确的11位手机号码");
+            this.defaultWaring("输入信息格式有误");
             return;
           }
         } else if (type == 101) {
           //身份证
           if (!identify.test(value)) {
             //验证不通过
-            this.defaultWaring("请输入正确的身份证号");
+            this.defaultWaring("输入信息格式有误");
             return;
           }
         } else if (type == 104) {
           //病历号只能输入数字字母
           if (!jgpattern.test(value)) {
             //验证不通过
-            this.defaultWaring("请输入正确的市民卡号");
+            this.defaultWaring("输入信息格式有误");
             return;
           }
         }
@@ -196,7 +196,7 @@ export default {
     rgba(79, 79, 255, 1) 0%,
     rgba(79, 137, 255, 1) 100%
   );
-  padding: 0.3rem 0.6rem;
+  padding: 0.1rem 0.6rem;
   box-sizing: border-box;
   .top {
     .img {
@@ -214,8 +214,8 @@ export default {
       font-size: 0.42rem;
       text-align: center;
       color: #fff;
-      margin-top: 0.5rem;
-      margin-bottom: 0.8rem;
+      margin-top: 0.4rem;
+      margin-bottom: 0.7rem;
       font-weight: normal;
     }
   }
@@ -307,7 +307,7 @@ export default {
   .tip {
     color: #fff;
     font-size: 0.24rem;
-    margin-top: 0.6rem;
+    margin-top: 0.5rem;
   }
 }
 </style>