调整验证码有效期提示和重发状态
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
<input class="code-input" value="{{form.code}}" data-field="code" bindinput="onInput" type="text" maxlength="6" placeholder="请输入验证码" />
|
||||
<button class="code-btn {{countdown > 0 ? 'counting' : ''}}" loading="{{codeLoading}}" disabled="{{codeLoading || countdown > 0}}" bindtap="sendLoginCode">
|
||||
<text wx:if="{{countdown > 0}}">重新获取 {{countdown}}s</text>
|
||||
<text wx:else>获取验证码</text>
|
||||
<text wx:else>{{codeSent ? '重新获取' : '获取验证码'}}</text>
|
||||
</button>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user