StephenArk30 6 år sedan
förälder
incheckning
bb4a4e999a

+ 7 - 1
sourcecode/h5app/vue/src/views/PresentRegister.vue

@@ -15,7 +15,7 @@
                     :error="pnError"
                     @click="pnError=false"
                     required
-                    maxlength="10"
+                    maxlength="30"
             />
             <p>我的礼物丨走心介绍</p>
             <van-cell-group>
@@ -117,6 +117,11 @@
         },
         methods: {
             publishPresent() {
+                Toast.loading({
+                    mask: true,
+                    message: '图片上传较慢,请耐心等待...',
+                    duration: 1000
+                });
                 this.loading = true;
                 // 检验输入
                 if (isEmojiCharacter(this.presentName)) {
@@ -126,6 +131,7 @@
                     return;
                 }
                 else if (this.presentName.length === 0) {
+                    Toast.fail('请填写手机号');
                     this.pnError = true;
                     this.loading = false;
                     return;

+ 6 - 0
sourcecode/h5app/vue/src/views/SecurityVerify.vue

@@ -132,6 +132,11 @@
         },
         methods: {
             next() {
+                Toast.loading({
+                    mask: true,
+                    message: '图片上传较慢,请耐心等待...',
+                    duration: 1000
+                });
                 this.loading = true;
                 // 检查输入
                 if (this.phone.length !== 11) {
@@ -150,6 +155,7 @@
                     this.loading = false;
                     return;
                 } else if (this.username.length < 1) {
+                    Toast.fail('请输入昵称');
                     this.usernameError = true;
                     this.loading = false;
                     return;