<!-- 找回密码页面 -->
<view class='mt16' wx:if="{{type == 1}}" hover-class="none" hover-stop-propagation="false">
  <form bindsubmit="beforeFormSubmit" data-type='1'>
    <view class="container" hover-class="none" hover-stop-propagation="false">
      <view class="fsa sub bb1" hover-class="none" hover-stop-propagation="false">
        <view class hover-class="none" hover-stop-propagation="false">手机号</view>
        <view class hover-class="none" hover-stop-propagation="false">
          <input type="number" bindinput="changeBtn" class="phoneInput" bindblur="changeBtn" data-num="5" data-tel="1" maxlength="11" placeholder-class="pce" placeholder="输入手机号码" name="tel" placeholder-style="color:#999" />
        </view>
      </view>
      <view class="fsa sub" hover-class="none" hover-stop-propagation="false">
        <view class hover-class="none" hover-stop-propagation="false">验证码</view>
        <view class="fsa br_8" style>
          <view class="mr8">
            <input type="number" class="f16 phoneInput" data-num="6" placeholder-class maxlength="4" placeholder="输入验证码" name="code"  placeholder-style="color:#999" />
          </view>
          <view hover-class="thover" style="color:{{btnColor ? '#576b95' : '#999'}}" class="sendCode f14 code {{disabled == 1?'':'disabled'}} pl8 fw500" bindtap="sendMsg">{{getmsg}}</view>
        </view>
      </view>
    </view>
    <view class="container mt16">
      <view class="sub fsa bb1" hover-class="none" hover-stop-propagation="false">
        <view class hover-class="none" hover-stop-propagation="false">新密码</view>
        <view class hover-class="none" hover-stop-propagation="false">
          <input type="password" bindinput="showCha" class="phoneInput" maxlength="11" placeholder-class="pce" placeholder="请输入新密码" name="newPsw" value="{{newPsw}}" placeholder-style="color:#999" />
        </view>
      </view>
      <view class="sub fsa" hover-class="none" hover-stop-propagation="false">
        <view class hover-class="none" hover-stop-propagation="false">确认密码</view>
        <view class hover-class="none" hover-stop-propagation="false">
          <input type="password" bindinput="showCha" class="phoneInput" maxlength="11" placeholder-class="pce" placeholder="再次输入新密码" name="rePsw" value="{{rePsw}}" placeholder-style="color:#999" />
        </view>
      </view>
    </view>
    <button class="normalBtn loginOut" hover-class="thover" style="margin-top:120px" formType="submit">确定</button>
  </form>
</view>
<!-- 修改密码页面 -->

<view class='mt16' wx:if="{{type == 2}}" hover-class="none" hover-stop-propagation="false">
  <form action bindsubmit="beforeFormSubmit"  data-type='2'>
    <view class="container" hover-class="none" hover-stop-propagation="false">
      <view class="fsa sub" hover-class="none" hover-stop-propagation="false">
        <view class hover-class="none" hover-stop-propagation="false">原密码</view>
        <view class hover-class="none" hover-stop-propagation="false">
          <input type="password" class="phoneInput" data-num="5" data-tel="1" maxlength="11" placeholder-class="pce" placeholder="请输入原密码" name="oldPsw" value="{{tel}}" placeholder-style="color:#999" />
        </view>
      </view>
    </view>
    <view class="tar pr10 f14 fw500" style="margin:8px 0 16px 0;color:#576B95" bindtap="changeType" hover-class="thover">忘记原密码</view>
    <view class="container" hover-class="none" hover-stop-propagation="false">
      <view class="fsa sub bb1" hover-class="none" hover-stop-propagation="false">
        <view class hover-class="none" hover-stop-propagation="false">新密码</view>
        <view class hover-class="none" hover-stop-propagation="false">
          <input type="password" class="phoneInput" data-num="5" data-tel="1" maxlength="11" placeholder-class="pce" placeholder="请输入原密码" name="newPsw" value="{{newPsw}}" placeholder-style="color:#999" />
        </view>
      </view>
      <view class="fsa sub" hover-class="none" hover-stop-propagation="false">
        <view class hover-class="none" hover-stop-propagation="false">确认密码</view>
        <view class hover-class="none" hover-stop-propagation="false">
          <input type="password" class="phoneInput" data-num="5" data-tel="1" maxlength="11" placeholder-class="pce" placeholder="再次输入新密码" name="rePsw" value="{{rePsw}}" placeholder-style="color:#999" />
        </view>
      </view>
    </view>
    <button class="normalBtn loginOut" hover-class="thover" style="margin-top:120px" formType="submit">修改密码</button>
  </form>
</view>
