cr лет назад: 4
Родитель
Сommit
621e224c13
1 измененных файлов с 15 добавлено и 4 удалено
  1. 15 4
      src/pages/index/register.vue

+ 15 - 4
src/pages/index/register.vue

@@ -146,7 +146,7 @@ export default {
146
     // 数据
146
     // 数据
147
     data() {
147
     data() {
148
         return {
148
         return {
149
-            step: 1,
149
+            step: 3,
150
             form: {
150
             form: {
151
                 mobile: "",
151
                 mobile: "",
152
                 smsCode: "",
152
                 smsCode: "",
@@ -339,7 +339,7 @@ export default {
339
         },
339
         },
340
 
340
 
341
         saveOk() {
341
         saveOk() {
342
-            // self.fn.showToast("注册成功");
342
+            // self.fn.showToast("注册成功");  
343
             this.api
343
             this.api
344
                 .get("/Group/CheckCode", {
344
                 .get("/Group/CheckCode", {
345
                     platform: this.form.fromPlatform,
345
                     platform: this.form.fromPlatform,
@@ -360,7 +360,18 @@ export default {
360
                             });
360
                             });
361
                         }
361
                         }
362
                     } else {
362
                     } else {
363
-                        this.router.push("/index/register?step=2");
363
+                        this.fn
364
+                            .showModal({
365
+                                title: "未填写团长号",
366
+                                content: "确认返回团长号填写",
367
+                                showCancel: false,
368
+                            })
369
+                            .then((res) => {
370
+                                if (res.confirm) {
371
+                                    this.step = 2;
372
+                                }
373
+                            });
374
+                        // this.router.push("/index/register?step=2");
364
                     }
375
                     }
365
                 });
376
                 });
366
         },
377
         },
@@ -430,7 +441,7 @@ export default {
430
     justify-content: space-between;
441
     justify-content: space-between;
431
     align-items: center;
442
     align-items: center;
432
     .code-btn {
443
     .code-btn {
433
-        width: px(220);
444
+        width: px(250);
434
         flex-shrink: 0;
445
         flex-shrink: 0;
435
         font-size: px(40);
446
         font-size: px(40);
436
         padding: 0 px(10);
447
         padding: 0 px(10);