reset-pwd.hbs 2.63 KB
<div class="reset-pwd-page back-page passport-page yoho-page clearfix">
    {{# resetPwd}}
        {{> back/cover}}
        <div class="content">
            <h2 class="title2">重置密码</h2>
            <form id="reset-pwd-form" class="reset-pwd-form" method="POST" action="/passport/back/update">
                <ul>
                    <li class="input-container-li po-re">
                        <input id="pwd" class="input va pwd" type="password" name="pwd" placeholder="新密码"
                               maxlength="20">
                        <div class="pwd-intensity-container">
                            <span class="pwd-intensity low"></span>
                            <span class="pwd-intensity mid"></span>
                            <span class="pwd-intensity high"></span>
                        </div>
                        <div id="pwd-tips" class="pwd-tips hide">
                            <div class="default" id="pwd-tip1">
                                <i></i>
                                密码只支持6-20位字符
                            </div>
                            <div class="default" id="pwd-tip2">
                                <i></i>
                                由字母、 数字组合,不能包含特殊符号
                            </div>
                        </div>
                    <span id="pwd-err" class="err-tip hide">
                        <i></i>
                        <em>请输入密码</em>
                    </span>
                    </li>
                    <li class="input-container-li clearfix po-re">
                        <input id="re-input" class="input va re-input repwd" type="password" name="re-input"
                               placeholder="再次输入" maxlength="20">
                    <span id="repwd-err" class="err-tip hide">
                        <i></i>
                        <em>请输入密码确认</em>
                    </span>
                    </li>
                    <li class="input-container-li clearfix">
                        <input type="hidden" name="code" value="{{code}}">
                        <input type="hidden" name="mobile" value="{{mobile}}">
                        <input type="hidden" name="area" value="{{area}}">
                        <input type="hidden" name="token" value="{{token}}">
                        <input type="hidden" name="createdAt" value="{{createdAt}}">
                        <input id="reset-pwd-btn" class="btn reset-pwd-btn" type="submit" value="提交" disabled="">
                    </li>
                </ul>
            </form>
        </div>
    {{/ resetPwd}}
</div>