<!--pages/mine/personage/index.wxml-->
<view class="page">
  <view class="personage-top">
        <view class="personage-top-left">请为您的账号</view>
        <view class="personage-top-text">{{userInfo?userInfo.appletUsername:''}}</view>
        <view class="personage-top-left">设置一个新密码</view>
  </view>
  <view class="personage-main">
    <view class="personage-main-text">密码</view>
    <view class="personage-main-right">
      <input class="personage-main-input" password="{{!open}}" data-type="password" value="{{password}}" placeholder="请输入您的密码" placeholder-class="center" bindinput="getVal"   />
      <van-icon class="personage-icon" name="eye-o" wx:if="{{open}}" bindtap="switch" />
      <van-icon class="personage-icon" name="closed-eye" wx:if="{{!open}}" bindtap="switch" />
    </view>
  </view>
  <view class="personage-tit">
    <van-icon name="info" />
    必须大小写字母、数字、特殊字符,4种组合中至少满足3种，且密码长度在10-32位之间。
  </view>
</view>
<view class="btn-area">
    <button bindtap="submit">保存新密码</button>
</view>