xuqiang 4 jaren geleden
bovenliggende
commit
82cdd6fccf

+ 2 - 2
src/main/pc-space/src/components/RegisterInfo.vue

@@ -68,7 +68,7 @@
                 >
             </div>
             <div class="sub-btn" style="width: 300px" v-else>
-                <div class="btn1" @click="passwordFn2">立即登录</div>
+                <div class="btn1" @click="passwordFn2">重置密码</div>
                 <el-button style="background: #f2f3f5; color: #292c33" type="info" class="btn-block" @click="Login"
                     >想起密码,立即登录</el-button
                 >
@@ -93,7 +93,7 @@ export default {
     data() {
         return {
             rules: {
-                password: [{ min: 8, max: 16, message: '密码长度在 8 到 16 个字符', trigger: 'blur' }],
+                password: [{ min: 6, max: 16, message: '密码长度在 8 到 16 个字符', trigger: 'blur' }],
                 password2: [
                     {
                         validator: (rule, value, callback) => {

+ 1 - 0
src/main/pc-space/src/views/Submit.vue

@@ -216,6 +216,7 @@ export default {
                     if (this.money) {
                         this.status = res.status;
                         this.id = res.id;
+                        this.show = false;
                     } else {
                         this.$message.success('支付成功');
                         setTimeout(() => {

+ 1 - 2
src/main/pc-space/src/views/user/AccountData.vue

@@ -579,8 +579,7 @@ export default {
                 }
             }
             .text4 {
-                font-size: 16px;
-                font-weight: 400;
+                font-size: 14px;
                 color: @prim;
                 line-height: 24px;
                 cursor: pointer;

+ 13 - 13
src/main/pc-space/src/views/user/Transaction.vue

@@ -84,19 +84,19 @@ export default {
             this.$router.go(-1);
         },
         codeSend() {
-            this.flag = false;
-            // this.$http
-            //     .get('/sms/verify', {
-            //         phone: this.userInfo.phone,
-            //         code: this.ruleForm.code
-            //     })
-            //     .then(res => {
-            //         this.token = res;
-            //         this.flag = false;
-            //     })
-            //     .catch(e => {
-            //         this.$message.error(e.error);
-            //     });
+            // this.flag = false;
+            this.$http
+                .get('/sms/verify', {
+                    phone: this.userInfo.phone,
+                    code: this.ruleForm.code
+                })
+                .then(res => {
+                    this.token = res;
+                    this.flag = false;
+                })
+                .catch(e => {
+                    this.$message.error(e.error);
+                });
         },
         Jump() {
             this.flag = true;