
第一步:根据学号和绑定的邮箱来进行密码的找回

第二步:输入想要设定的新密码,并输入邮箱收到的验证码
wxml代码如下:
<!--pages/forgotpwd/forgotpwd.wxml-->
<!-- <text>pages/forgotpwd/forgotpwd.wxml</text> -->
<view class='content'>
<form bindsubmit='submit_email' wx:if="{
{form_index ==0}}">
<label>找回密码:第一步</label>
<view class="sections">
<input name="no" type='number' placeholder-class='small' placeholder='请输入学号' />
</view>
<view class="sections">
<input name="email" placeholder-class='small' placeholder='请输入绑定的邮箱' />
</view>
<button type='primary' placeholder-class='small' formType="submit" >下一步</button>
</form>
<form bindsub

该博客介绍了微信小程序中找回密码的步骤,包括通过学号和邮箱验证,设置新密码,以及邮箱验证码的使用。文章包含WXML界面代码和对应的JS调用方法。
最低0.47元/天 解锁文章
2008





