|
@@ -15,13 +15,13 @@
|
|
|
<view class="register-row clearfix">
|
|
|
<view class="register-from">
|
|
|
<view class="label">邮箱:</view>
|
|
|
- <input class="row-input" type="text" @input="onInput1" v-model="registerEmail" placeholder="请输入您的常用邮箱" maxlength="30"/>
|
|
|
+ <input class="row-input" type="text" name="input" v-model="registerEmail" placeholder="请输入您的常用邮箱" maxlength="30"/>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="register-row clearfix">
|
|
|
<view class="register-from code">
|
|
|
<view class="label">邮箱验证码:</view>
|
|
|
- <input class="row-input" type="text" @input="onInput2" v-model="regEmailCode" placeholder="请输入邮箱验证码" maxlength="4"/>
|
|
|
+ <input class="row-input" type="text" name="input" v-model="regEmailCode" placeholder="请输入邮箱验证码" maxlength="4"/>
|
|
|
</view>
|
|
|
<view class="register-from btn" :class="[isEmialDisabled ? 'disabled' : '']">
|
|
|
<button class="row-input"
|
|
@@ -35,13 +35,13 @@
|
|
|
<view class="register-row clearfix">
|
|
|
<view class="register-from">
|
|
|
<view class="label">登录密码:</view>
|
|
|
- <input class="row-input" type="password" v-model="password" placeholder="密码必须为8-16位字母数字组合" maxlength="20"/>
|
|
|
+ <input class="row-input" type="password" name="input" v-model="password" placeholder="密码必须为8-16位字母数字组合" maxlength="20"/>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="register-row clearfix">
|
|
|
<view class="register-from">
|
|
|
<view class="label">确认密码:</view>
|
|
|
- <input class="row-input" type="password" v-model="passwordCheck" placeholder="请确认密码" maxlength="20"/>
|
|
|
+ <input class="row-input" type="password" name="input" v-model="passwordCheck" placeholder="请确认密码" maxlength="20"/>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="register-row clearfix">
|
|
@@ -52,25 +52,25 @@
|
|
|
<view class="register-row clearfix">
|
|
|
<view class="register-from">
|
|
|
<view class="label">机构名称:</view>
|
|
|
- <input class="row-input" type="text" v-model="clubName" placeholder="请输入您的机构名称" maxlength="30"/>
|
|
|
+ <input class="row-input" type="text" name="input" v-model="clubName" placeholder="请输入您的机构名称" maxlength="30"/>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="register-row clearfix">
|
|
|
<view class="register-from">
|
|
|
<view class="label">联系人:</view>
|
|
|
- <input class="row-input" type="text" v-model="clubContact" placeholder="请输入联系姓名" maxlength="6"/>
|
|
|
+ <input class="row-input" type="text" name="input" v-model="clubContact" placeholder="请输入联系姓名" maxlength="6"/>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="register-row clearfix">
|
|
|
<view class="register-from">
|
|
|
<view class="label">手机号:</view>
|
|
|
- <input class="row-input" type="number" v-model="registerMobile" placeholder="请输入手机号" maxlength="11"/>
|
|
|
+ <input class="row-input" type="number" name="input" v-model="registerMobile" placeholder="请输入手机号" maxlength="11"/>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="register-row clearfix">
|
|
|
<view class="register-from imgcode">
|
|
|
<view class="label">图形验证码:</view>
|
|
|
- <input class="row-input" type="text" v-model="imageCode" placeholder="请输入图形验证码" maxlength="6"/>
|
|
|
+ <input class="row-input" type="text" name="input" v-model="imageCode" placeholder="请输入图形验证码" maxlength="6"/>
|
|
|
</view>
|
|
|
<view class="register-from img-btn">
|
|
|
<view class="vscodeimg">
|
|
@@ -435,6 +435,14 @@
|
|
|
})
|
|
|
},
|
|
|
getEmailCodeFn(){
|
|
|
+ if( this.registerEmail == ''){
|
|
|
+ this.$util.msg('请输入邮箱地址',2000);
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if(!this.$reg.isEmail(this.registerEmail)){
|
|
|
+ this.$util.msg('请输入正确的邮箱地址',2000);
|
|
|
+ return
|
|
|
+ }
|
|
|
this.isEmialDisabled = true;
|
|
|
getEmailCode({email:this.registerEmail,status:2}).then(res =>{
|
|
|
this.$util.msg('验证邮件已发送至邮箱,请登录邮箱查收',2000);
|