<nav type="back" background-color="#46a9a4" title="修改密码" />
<form bindsubmit="formSubmit" style="color: #382E2E;">
    <view class='phone-box'>
        <text class='phone'>验证码</text>
        <input name="phoneCode" placeholder="请输入验证码" class='number' placeholder-style='color:#bbb' bindinput="yanLoveInput" />
        <view bindtap='yanLoveBtn' class='getNum'>{{getText2}}</view>
    </view>
    <button formType="submit" class='submit'>提交</button>
</form>
<block wx:if="{{status==1}}">
    <view class='phone-box'>
        <text class='phone'>新密码：</text>
        <input bindblur="blur" type="text" class="string" data-name="password" value="{{password}}" placeholder="请输入新密码"></input>
    </view>
    <view class='phone-box'>
        <text class='phone'>再次输入密码：</text>
        <input bindblur="blur" type="text" class="string" data-name="passwords" value="{{passwords}}" placeholder="再次输入密码"></input>
    </view>
</block>
<block wx:if="{{status==1}}">
    <button bindtap="getuser" class='submit'>确认重置</button>
</block>