<view class='input-field'>
    <view class="icon-box">
        <text class="iconfont icon-a-biaoqianlanwodexuanzhong" />
    </view>
    <input class="input" type="text" bindinput="formInput" data-name="accountno" placeholder="{{language['账户']||'请填写账户名'}}" />
</view>
<view class='input-field'>
    <view class="icon-box">
        <text class="iconfont icon-a-biaoqianlanxiaoxixuanzhong" />
    </view>
    <input class="input" type="number" bindinput="formInput" data-name="password" placeholder="{{language['验证码']||'请填写验证码'}}" />
    <view class="auth-code" bindtap="getPassword">{{countDown?countDown+'s':(language['获取验证码']||'获取验证码')}}</view>
</view>
<view class='input-field'>
    <view class="icon-box">
        <text class="iconfont icon-a-wodemima" />
    </view>
    <input class="input" password bindinput="formInput" data-name="newPassword" placeholder="{{language['新密码']||'请设置6-20位新密码'}}" />
</view>
<view class='input-field'>
    <view class="icon-box">
        <text class="iconfont icon-a-wodemima" />
    </view>
    <input class="input" password value="{{from.verifyNewPassword}}" bindinput="formInput" data-name="verifyNewPassword" placeholder="{{language['确认密码']||'请确认新密码'}}" />
    <van-icon class="iconfont" style="color: #666;" name="clear" bind:click="clearNewPassword" />
</view>
<!-- <view wx:if="{{confirmPassword===false}}" class="errmsg">{{language['两次输入的密码不一致']||'两次输入的密码不一致'}}</view> -->

<view style="width: 100%; text-align: center;margin-top: 100rpx;">
    <van-button disabled='{{disabled}}' bindtap="changePassword" loading='{{loading}}' loading-text="{{(language['修改中']||'修改中')+'...'}}" custom-class='but-style'>{{language['确认修改']||'确定修改'}}</van-button>
</view>
<van-toast id="van-toast" />