|
@@ -17,7 +17,7 @@
|
|
<view class="content" v-if="tabCurrentIndex === 1">
|
|
<view class="content" v-if="tabCurrentIndex === 1">
|
|
<view class="login-form clearfix">
|
|
<view class="login-form clearfix">
|
|
<view class="login-input">
|
|
<view class="login-input">
|
|
- <input type="number" v-model="mobile" maxlength="11" class="input" placeholder="请输入手机号" placeholder-class="placeholder"/>
|
|
|
|
|
|
+ <input type="number" v-model="phoneParams.mobileOrEmail" maxlength="11" class="input" placeholder="请输入手机号" placeholder-class="placeholder"/>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="login-form clearfix">
|
|
<view class="login-form clearfix">
|
|
@@ -36,7 +36,7 @@
|
|
</view>
|
|
</view>
|
|
<view class="login-form clearfix">
|
|
<view class="login-form clearfix">
|
|
<view class="login-input code">
|
|
<view class="login-input code">
|
|
- <input type="number" v-model="mobileCode" maxlength="6" class="input" placeholder="请输入短信验证码" placeholder-class="placeholder"/>
|
|
|
|
|
|
+ <input type="number" v-model="phoneParams.smsCode" maxlength="6" class="input" placeholder="请输入短信验证码" placeholder-class="placeholder"/>
|
|
</view>
|
|
</view>
|
|
<view class="login-input btn" :class="[isMobileDisabled ? 'disabled' : '']" >
|
|
<view class="login-input btn" :class="[isMobileDisabled ? 'disabled' : '']" >
|
|
<button type="button"
|
|
<button type="button"
|
|
@@ -49,15 +49,15 @@
|
|
</view>
|
|
</view>
|
|
<view class="login-form clearfix">
|
|
<view class="login-form clearfix">
|
|
<view class="login-input pwd">
|
|
<view class="login-input pwd">
|
|
- <input v-show="isShowEye" type="text" v-model="password" maxlength="16" class="input" placeholder="请输入新密码,必须为8-16位字母数字的组合" autocomplete="new-password" placeholder-class="placeholder"/>
|
|
|
|
- <input v-show="!isShowEye" type="password" v-model="password" :password="true" maxlength="16" class="input" placeholder="请输入新密码,必须为8-16位字母数字的组合" autocomplete="new-password" placeholder-class="placeholder"/>
|
|
|
|
|
|
+ <input v-show="isShowEye" type="text" v-model="phoneParams.password" maxlength="16" class="input" placeholder="请输入新密码,必须为8-16位字母数字的组合" autocomplete="new-password" placeholder-class="placeholder"/>
|
|
|
|
+ <input v-show="!isShowEye" type="password" v-model="phoneParams.password" :password="true" maxlength="16" class="input" placeholder="请输入新密码,必须为8-16位字母数字的组合" autocomplete="new-password" placeholder-class="placeholder"/>
|
|
<view class="iconfont" :class="isShowEye ? 'icon-kejian1' : 'icon-bukejian'" @click="passwordEye"></view>
|
|
<view class="iconfont" :class="isShowEye ? 'icon-kejian1' : 'icon-bukejian'" @click="passwordEye"></view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="login-form clearfix">
|
|
<view class="login-form clearfix">
|
|
<view class="login-input pwd">
|
|
<view class="login-input pwd">
|
|
- <input v-show="isShowEyes" type="text" v-model="passwordCheck" maxlength="16" class="input" placeholder="请确认密码" autocomplete="new-password" placeholder-class="placeholder"/>
|
|
|
|
- <input v-show="!isShowEyes" type="password" v-model="passwordCheck" :password="true" maxlength="16" class="input" placeholder="请确认密码" autocomplete="new-password" placeholder-class="placeholder"/>
|
|
|
|
|
|
+ <input v-show="isShowEyes" type="text" v-model="phoneParams.passwordConfirm" maxlength="16" class="input" placeholder="请确认密码" autocomplete="new-password" placeholder-class="placeholder"/>
|
|
|
|
+ <input v-show="!isShowEyes" type="password" v-model="phoneParams.passwordConfirm" :password="true" maxlength="16" class="input" placeholder="请确认密码" autocomplete="new-password" placeholder-class="placeholder"/>
|
|
<view class="iconfont" :class="isShowEyes ? 'icon-kejian1' : 'icon-bukejian'" @click="passwordEyes"></view>
|
|
<view class="iconfont" :class="isShowEyes ? 'icon-kejian1' : 'icon-bukejian'" @click="passwordEyes"></view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -69,12 +69,12 @@
|
|
<view class="content" v-else>
|
|
<view class="content" v-else>
|
|
<view class="login-form clearfix">
|
|
<view class="login-form clearfix">
|
|
<view class="login-input">
|
|
<view class="login-input">
|
|
- <input class="input" type="text" v-model="email" maxlength="30" placeholder="请输入邮箱地址" placeholder-class="placeholder"/>
|
|
|
|
|
|
+ <input class="input" type="text" v-model="emailParams.mobileOrEmail" maxlength="30" placeholder="请输入邮箱地址" placeholder-class="placeholder"/>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="login-form clearfix">
|
|
<view class="login-form clearfix">
|
|
<view class="login-input code">
|
|
<view class="login-input code">
|
|
- <input class="input" type="number" v-model="emailCode" maxlength="4" placeholder="请输入邮箱验证码" placeholder-class="placeholder"/>
|
|
|
|
|
|
+ <input class="input" type="number" v-model="emailParams.smsCode" maxlength="4" placeholder="请输入邮箱验证码" placeholder-class="placeholder"/>
|
|
</view>
|
|
</view>
|
|
<view class="login-input btn" :class="[isEmialDisabled ? 'disabled' : '']">
|
|
<view class="login-input btn" :class="[isEmialDisabled ? 'disabled' : '']">
|
|
<button class="input"
|
|
<button class="input"
|
|
@@ -87,15 +87,15 @@
|
|
</view>
|
|
</view>
|
|
<view class="login-form clearfix">
|
|
<view class="login-form clearfix">
|
|
<view class="login-input pwd">
|
|
<view class="login-input pwd">
|
|
- <input v-show="isShowEye" type="text" v-model="password" maxlength="16" class="input" placeholder="请输入新密码,必须为8-16位字母数字的组合" autocomplete="new-password" placeholder-class="placeholder"/>
|
|
|
|
- <input v-show="!isShowEye" type="password" v-model="password" :password="true" maxlength="16" class="input" placeholder="请输入新密码,必须为8-16位字母数字的组合" autocomplete="new-password" placeholder-class="placeholder"/>
|
|
|
|
|
|
+ <input v-show="isShowEye" type="text" v-model="emailParams.password" maxlength="16" class="input" placeholder="请输入新密码,必须为8-16位字母数字的组合" autocomplete="new-password" placeholder-class="placeholder"/>
|
|
|
|
+ <input v-show="!isShowEye" type="password" v-model="emailParams.password" :password="true" maxlength="16" class="input" placeholder="请输入新密码,必须为8-16位字母数字的组合" autocomplete="new-password" placeholder-class="placeholder"/>
|
|
<view class="iconfont" :class="isShowEye ? 'icon-kejian1' : 'icon-bukejian'" @click="passwordEye"></view>
|
|
<view class="iconfont" :class="isShowEye ? 'icon-kejian1' : 'icon-bukejian'" @click="passwordEye"></view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="login-form clearfix">
|
|
<view class="login-form clearfix">
|
|
<view class="login-input pwd">
|
|
<view class="login-input pwd">
|
|
- <input v-show="isShowEyes" type="text" v-model="passwordCheck" maxlength="16" class="input" placeholder="请确认密码" autocomplete="new-password" placeholder-class="placeholder"/>
|
|
|
|
- <input v-show="!isShowEyes" type="password" v-model="passwordCheck" :password="true" maxlength="16" class="input" placeholder="请确认密码" autocomplete="new-password" placeholder-class="placeholder"/>
|
|
|
|
|
|
+ <input v-show="isShowEyes" type="text" v-model="emailParams.passwordConfirm" maxlength="16" class="input" placeholder="请确认密码" autocomplete="new-password" placeholder-class="placeholder"/>
|
|
|
|
+ <input v-show="!isShowEyes" type="password" v-model="emailParams.passwordConfirm" :password="true" maxlength="16" class="input" placeholder="请确认密码" autocomplete="new-password" placeholder-class="placeholder"/>
|
|
<view class="iconfont" :class="isShowEyes ? 'icon-kejian1' : 'icon-bukejian'" @click="passwordEyes"></view>
|
|
<view class="iconfont" :class="isShowEyes ? 'icon-kejian1' : 'icon-bukejian'" @click="passwordEyes"></view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -134,6 +134,20 @@
|
|
emailCodeText: '获取验证码',
|
|
emailCodeText: '获取验证码',
|
|
mobileCodeText: '获取验证码',
|
|
mobileCodeText: '获取验证码',
|
|
codeTime: null,
|
|
codeTime: null,
|
|
|
|
+ phoneParams: {
|
|
|
|
+ mobileOrEmail :'',
|
|
|
|
+ smsCode : '',
|
|
|
|
+ password : '',
|
|
|
|
+ passwordConfirm : '',
|
|
|
|
+ status:1
|
|
|
|
+ },
|
|
|
|
+ emailParams: {
|
|
|
|
+ mobileOrEmail :'',
|
|
|
|
+ smsCode : '',
|
|
|
|
+ password : '',
|
|
|
|
+ passwordConfirm : '',
|
|
|
|
+ status:2
|
|
|
|
+ },
|
|
}
|
|
}
|
|
},
|
|
},
|
|
onLoad(option) {
|
|
onLoad(option) {
|