|
|
@@ -20,7 +20,7 @@
|
|
|
<span class="el-icon-mobile-phone"></span>
|
|
|
<el-input style="width: 300px" v-model="form.phone" placeholder="请输入手机号"></el-input>
|
|
|
</el-form-item>
|
|
|
- <el-form-item prop="code">
|
|
|
+ <div>
|
|
|
<el-form-item prop="code" :rules="{ required: true, message: '请输入', trigger: 'blur' }">
|
|
|
<span class="icon">
|
|
|
<img src="../assets/img/login_icon_yanzhengma@3x (2).png" alt="" />
|
|
|
@@ -34,7 +34,7 @@
|
|
|
>
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
- </el-form-item>
|
|
|
+ </div>
|
|
|
<el-form-item prop="password">
|
|
|
<span class="el-icon-unlock"></span>
|
|
|
<el-input
|
|
|
@@ -56,11 +56,11 @@
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
- <!-- <template>
|
|
|
+ <template>
|
|
|
<el-checkbox v-model="checked" v-if="isShow2">
|
|
|
<el-link style="margin-bottom: 2px">点击同意注册协议</el-link>
|
|
|
</el-checkbox>
|
|
|
- </template> -->
|
|
|
+ </template>
|
|
|
<div class="sub-btn" style="width: 300px" v-if="isShow2">
|
|
|
<div class="btn1" @click="doRegister">立即注册</div>
|
|
|
<el-button style="background: #f2f3f5; color: #292c33" type="info" class="btn-block" @click="Login"
|
|
|
@@ -137,7 +137,10 @@ export default {
|
|
|
},
|
|
|
// 注册
|
|
|
doRegister() {
|
|
|
- // this.$http;
|
|
|
+ if (this.checked == false) {
|
|
|
+ this.$message.warning('请点击同意注册协议');
|
|
|
+ return;
|
|
|
+ }
|
|
|
this.verifyMsg(this.form.phone, this.form.code).then(() => {
|
|
|
return (
|
|
|
this.$http
|
|
|
@@ -229,6 +232,11 @@ export default {
|
|
|
/deep/ .el-form-item__error {
|
|
|
left: 110px;
|
|
|
}
|
|
|
+.bbb {
|
|
|
+ /deep/ .el-form-item__error {
|
|
|
+ left: 0px !important;
|
|
|
+ }
|
|
|
+}
|
|
|
/deep/ .el-form-item__content {
|
|
|
display: flex;
|
|
|
justify-content: center;
|