<!--pages/apply/index.wxml-->
<view class="ns" style="height:{{isIPX?'88px':'64px'}};">
  <image src="../../../../image/apply/back.png" style="top:{{isIPX?'54px':'30px'}};" mode="widthFix" bindtap="back"></image>
  <text style="top:{{isIPX?'54px':'30px'}};">密码修改</text>
</view>
<view class="main-box table-box" style="margin-top:{{isIPX?'100px':'75px'}};">
      <view>
        <view>
          <image style="width: 25rpx; height: 30rpx; margin:0 20rpx;" mode="{{item.mode}}" src="../../../../image/icon/password.png"></image>
          <text>旧密码</text>
        </view>
        <view>
          <input type="text" password="true" value="{{oldPwd}}" bindinput="bindOldInput" style="margin-top: 20rpx;text-align: right;"/>
        </view>
      </view>
      <view>
        <view>
          <image style="width: 25rpx; height: 30rpx; margin:0 20rpx;" mode="{{item.mode}}" src="../../../../image/icon/password.png"></image>
          <text>新密码</text>
        </view>
        <view>
          <input type="text" password="true" value="{{newPwd}}" bindinput="bindNewInput" style="margin-top: 20rpx;text-align: right;"/>
        </view>
      </view>
      
</view>

    <view class="btn">
        <button type="primary" bindtap="updatePassword">保存</button>
    </view>
