|
|
@@ -16,7 +16,7 @@
|
|
|
<el-form
|
|
|
:label-position="labelPosition"
|
|
|
ref="form"
|
|
|
- label-width="340px"
|
|
|
+ label-width="290px"
|
|
|
:model="ruleForm"
|
|
|
:rules="rules"
|
|
|
>
|
|
|
@@ -34,9 +34,11 @@
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
- <div class="btn">
|
|
|
- <el-button type="primary" @click="codeSend">确认</el-button>
|
|
|
- <div class="btn2" @click="all('/accountdata')">返回</div>
|
|
|
+ <div class="btn1">
|
|
|
+ <div class="btn2">
|
|
|
+ <el-button type="primary" @click="codeSend">确认</el-button>
|
|
|
+ <div class="btn3" @click="all('/accountdata')">返回</div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div v-else>
|
|
|
@@ -92,20 +94,20 @@ export default {
|
|
|
this.sendMsg(this.ruleForm.phone);
|
|
|
},
|
|
|
codeSend() {
|
|
|
- // this.flag = false;
|
|
|
- this.$http
|
|
|
- .get('/sms/verify', {
|
|
|
- phone: this.ruleForm.phone,
|
|
|
- code: this.ruleForm.code
|
|
|
- })
|
|
|
- .then(() => {
|
|
|
- this.ruleForm.code = '';
|
|
|
- this.ruleForm.phone = '';
|
|
|
- this.flag = false;
|
|
|
- })
|
|
|
- .catch(e => {
|
|
|
- this.$message.error(e.error);
|
|
|
- });
|
|
|
+ this.flag = false;
|
|
|
+ // this.$http
|
|
|
+ // .get('/sms/verify', {
|
|
|
+ // phone: this.ruleForm.phone,
|
|
|
+ // code: this.ruleForm.code
|
|
|
+ // })
|
|
|
+ // .then(() => {
|
|
|
+ // this.ruleForm.code = '';
|
|
|
+ // this.ruleForm.phone = '';
|
|
|
+ // this.flag = false;
|
|
|
+ // })
|
|
|
+ // .catch(e => {
|
|
|
+ // this.$message.error(e.error);
|
|
|
+ // });
|
|
|
},
|
|
|
Jump() {
|
|
|
this.flag = true;
|
|
|
@@ -117,7 +119,7 @@ export default {
|
|
|
|
|
|
<style lang="less" scoped>
|
|
|
/deep/ .el-steps {
|
|
|
- margin-left: 385px;
|
|
|
+ margin-left: 329px;
|
|
|
}
|
|
|
/deep/.el-step:nth-child(1) {
|
|
|
.el-step__icon {
|
|
|
@@ -148,21 +150,24 @@ export default {
|
|
|
color: #939599;
|
|
|
}
|
|
|
.container {
|
|
|
- .btn {
|
|
|
- display: flex;
|
|
|
- justify-content: center;
|
|
|
- margin: 80px 0 0 110px;
|
|
|
+ .btn1 {
|
|
|
+ margin-left: 10px;
|
|
|
.btn2 {
|
|
|
- width: 130px;
|
|
|
- height: 36px;
|
|
|
- background: #c4c7cc;
|
|
|
- border-radius: 4px;
|
|
|
- cursor: pointer;
|
|
|
- color: #ffffff;
|
|
|
- font-size: 13px;
|
|
|
- text-align: center;
|
|
|
- line-height: 36px;
|
|
|
- margin-left: 20px;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ margin-top: 80px;
|
|
|
+ .btn3 {
|
|
|
+ width: 130px;
|
|
|
+ height: 36px;
|
|
|
+ background: #c4c7cc;
|
|
|
+ border-radius: 4px;
|
|
|
+ cursor: pointer;
|
|
|
+ color: #ffffff;
|
|
|
+ font-size: 13px;
|
|
|
+ text-align: center;
|
|
|
+ line-height: 36px;
|
|
|
+ margin-left: 20px;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
/deep/ .el-button {
|