<cu-custom bgColor="bg-color" isBack="{{true}}" title="修改密码">
  <!-- <view slot="content">修改密码</view> -->
</cu-custom>
<view class="toptip bg-red {{tipStaus}} text-white {{tipType}}" style='top:{{CustomBar}}px;'>{{tipText}}</view>
<view class="reg_form">
  <view class="reg_form_item">
    <view>手机号</view>
    <input placeholder="请输入手机号" type='number' bindinput="setLoginName" value='{{loginName}}'></input>
  </view>
  <view class="reg_form_item">
    <input placeholder="请输入验证码" class='reg_form_code' type='number' bindinput='setCode' value='{{code}}'></input>
    <button class='cu-btn {{canClick?"line-color":"line-grey"}}' bindtap='getValidCode'>{{codeBtnTxt}}</button>
  </view>
  <view class="reg_form_item">
    <view>请输入新密码</view>
    <input placeholder="请输入新密码" type='password' bindinput="setPwd" value='{{password}}'></input>
  </view>
  <view class="reg_form_item">
    <view>再次确认新密码</view>
    <input placeholder="请确认新密码" type='password' bindinput="setPwd2" value='{{password2}}'></input>
  </view>
  <view class="reg_form_tip">密码确保至少8位(其中包括数字、大小写字母和特殊符号）</view>
  <view class='cu-btn bg-color lg reg_form_btn' bindtap="goSubmit">提交</view>
</view>