<view class="content-pad">
  <view class="cell cell-media">
    <view class="cell-value">
      <text class="cell-value-label">手机号</text>
      <input class="cell-value-input" placeholder="请输入手机号" disabled='{{!noLogin}}' value="{{userInfo.loginName}}" />
    </view>
  </view>
  <view class="cell cell-media">
    <view class="cell-value">
      <text class="cell-value-label">短信验证码</text>
      <input class="cell-value-input" value="{{code}}" maxlength="6" placeholder="请输入验证码" type="number" bindinput="codeInput" />
      <button class="r-float cell-value-button {{time<=0?'button-subtitle':'button-gray'}}" bindtap="sendCode">{{time<=0?'发送验证码':'已发送('+time+'s)'}}</button>
    </view>
  </view>
  <view class="cell cell-media">
    <view class="cell-value">
      <text class="cell-value-label">密码</text>
      <input class="cell-value-input" value="{{password}}" placeholder="设置新密码" bindinput="passwordInput" type="password" />
    </view>
  </view>
  <view class="cell cell-media">
    <view class="cell-value">
      <text class="cell-value-label">重复密码</text>
      <input class="cell-value-input" value="{{rPassword}}" placeholder="重复新密码" bindinput="rPasswordInput" type="password" />
    </view>
  </view>
</view>
<view class="content-pad">
  <button class='button button-radius button-subtitle' bindtap='submit'>确认</button>
</view>
<view class="baby-tip">
  <image src='https://img.bbztx.com/miniProgram/challengeFamily/loginLogo.png'></image>
</view>