<!-- pages/person/updpwd.wxml -->
<view class="container">
  <view class="title">修改密码</view>
  <view style="text-align: center; margin-bottom: 12px;">
    * 微信快捷登录的初始密码为空
  </view>
  <form bindsubmit="submitForm" report-submit="true">
    <view class="input-group">
      <input type="password" name="oldpwd" placeholder="请输入旧密码" required />
    </view>
    <view class="input-group">
      <input type="password" name="newpwd" placeholder="请输入新密码" required />
    </view>
    <view class="input-group">
      <input type="password" name="newpwd2" placeholder="请确认新密码" required />
    </view>
    <button disabled="{{ waiting }}" type="primary" form-type="submit">提交</button>
  </form>
</view>