2025-06-06 15:17:30 +08:00

32 lines
1.4 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!--subpackage/user/change-password/change-password.wxml-->
<view class="page-content">
<mp-bar background="linear-gradient(190deg, #49a5fc 0%, #f7f7f7 800rpx, #f7f7f7 100%)" title="修改密码" color="rgba(255,255,255,1)"></mp-bar>
<view class="card card-one">
<view class="left">
<mp-icon icon="lock"></mp-icon>
<input type="text" bind:input="inputChange" password="{{!canSeeF}}" id="oldPwd" placeholder="请输入原密码" />
</view>
<mp-icon icon="{{!canSeeF ?'eyes-on' :'eyes-off'}}" bind:tap="setCanSee" id="canSeeF"></mp-icon>
</view>
<view class="card">
<view class="left">
<mp-icon icon="lock"></mp-icon>
<input type="text" bind:input="inputChange" password="{{!canSeeS}}" id="newPwd" placeholder="请输入新密码" />
</view>
<mp-icon icon="{{!canSeeS ?'eyes-on' :'eyes-off'}}" bind:tap="setCanSee" id="canSeeS"></mp-icon>
</view>
<view class="action">
密码长度为6-12字符需包含字母和数字区分大小写
</view>
<view class="card">
<view class="left">
<mp-icon icon="lock"></mp-icon>
<input type="text" id="confirmPwd"
password="{{!canSeeT}}" bind:input="inputChange" placeholder="请确认新密码" />
</view>
<mp-icon icon="{{!canSeeT ?'eyes-on' :'eyes-off'}}" bind:tap="setCanSee" id="canSeeT"></mp-icon>
</view>
<view class="sure" bind:tap="sure">确认</view>
</view>