|
@@ -22,7 +22,8 @@
|
|
|
<input placeholder-style="color:#AFB3BF" border="none" maxlength="6" v-model='verifyCode' style=''
|
|
|
placeholder="请输入验证码" type="number" class="Regular" />
|
|
|
</view>
|
|
|
- <button :class='codestatus?"activeCode":""' @click='getcode'
|
|
|
+ <!-- -->
|
|
|
+ <button :class='codestatus?"activeCode":""' @click='getcode'
|
|
|
class='getcode Regular'>{{sendText}}</button>
|
|
|
</view>
|
|
|
<view style='border-bottom:1px solid #E8E9ED;padding:10px 0;position:relative;'>
|
|
@@ -163,6 +164,9 @@
|
|
|
},
|
|
|
getcode() {
|
|
|
var that = this
|
|
|
+ if(this.sendText != "获取验证码" ){
|
|
|
+ return
|
|
|
+ }
|
|
|
if (/^0?1[3|4|5|6|7|8][0-9]\d{8}$/.test(this.phone)) {
|
|
|
that.$request.baseRequest('get', '/commonUser/sendVerifyCode', {
|
|
|
phone: this.phone
|