validate.hbs 5.86 KB
<div class="title">
    <h2>{{subTitle}}<span>{{enTitle}}</span></h2>
</div>
<div class="check-safe">
    <ul class="progress-bar {{progressCur}}">
        {{#each progress}}
            <li {{#iscur}}class="cur" {{/iscur}}>{{progressName}}</li>
        {{/each}}
    </ul>
    <div class="form-nav">
        <input type="hidden" value="{{verifyType}}" id="verifyType"/>
        {{#if returnInfo}}
            {{# complete}}
                <div class="result-info">
                    <span class="res-info {{resClass}}">{{resInfo}}</span>
                </div>
            {{/ complete}}
            {{# sendEmail}}
                <div class="result-email">
                    <p class="font14"><span>已发送验证邮件至:</span><span class="rgb6">{{emailInfo}}</span></p>
                    <div class="info-detail rgb6"><span>验证邮件24小时内有效,请尽快登录您的邮箱点击验证链接完成验证。</span></div>
                    <div><a target="_blank" href="{{emailUrl}}" class="button-icon button-red"><span><i>查看验证邮件</i></span></a></div>
                </div>
            {{/ sendEmail}}
        {{^}}
            {{# formInfo}}
                <form id="pwdform" method="post">
                    <ul class="check-user user-form-ul">
                        {{#each formData}}
                            <li class="user-form-li">
                                <div class="safe-form-l">{{inputTxt}}</div>
                                <div class="safe-form-r">
                                    {{#if isVerify}}
                                        <span class="rgb6" id="isVerifyType">{{verifyAccount}}</span>
                                        <input type="hidden" value="{{realAccount}}" id="realAccount"/>
                                    {{^}}
                                        <input id="{{key}}" name="{{name}}" class="input-text" type="{{type}}" value="">
                                        <div class="check-info"></div>
                                    {{/if}}
                                </div>
                            </li>
                        {{/each}}
                            {{#if mobileCode}}
                                {{#if_cond step '===' 2}}
                                    <!-- 这部分是手机验证第二部,需要不同的验证码 -->
                                    <li class="user-form-li">
                                        <div class="safe-form-l">手机验证码:</div>
                                        <div class="safe-form-r">
                                            <input name="smscode" id="inputcode2" class="input-code" type="text" value="">
                                            <a href="javascript:void(0);" class="button-icon button-sliver" id="send-mobile-code2"><span><i id="sendButton">发送验证码</i></span></a>
                                            <div class="check-info"></div>
                                        </div>
                                    </li>
                                {{^}}
                                    <li class="user-form-li captcha-li {{#unless @root.captcha.value}}hide{{/unless}}">
                                        <div class="safe-form-l">图形验证码:</div>
                                        <div class="captcha-safe-form-r"></div>
                                    </li>
                                    <li class="user-form-li">
                                        <div class="safe-form-l">手机验证码:</div>
                                        <div class="safe-form-r">
                                            <input name="code" id="inputcode" class="input-code" type="text" value="">
                                            <a href="javascript:void(0);" class="button-icon button-sliver" id="send-mobile-code"><span><i id="sendButton">发送验证码</i></span></a>
                                            <div class="check-info"></div>
                                        </div>
                                    </li>
                                {{/if_cond}}
                            {{/if}}

                            {{#if ischeckEmail}}
                            <li class="user-form-li captcha-li">
                                <div class="safe-form-l">图形验证码:</div>
                                <div class="captcha-safe-form-r"></div>
                            </li>
                            {{/if}}
                        <li class="user-form-li">
                            <div class="safe-form-l">&nbsp;</div>
                            <div class="safe-form-r">
                                <a href="javascript:void(0);" class="button-icon button-red sub-btn">
                                    <span>
                                        <i>
                                        {{#if ischeckEmail}}
                                            发送验证邮件
                                        {{^}}
                                            提交
                                        {{/if}}
                                        <b class="btn-jt"></b>
                                        </i>
                                    </span>
                                </a>
                                <input type="reset" style="display:none;" />
                            </div>
                        </li>
                    </ul>
                </form>
            {{/ formInfo}}
        {{/if}}
    </div>
</div>
<div class="main-info">
    <p class="p1">为什么要进行身份验证?</p>
    <p>1. 为保障您的账户信息安全,在变更账户中的重要信息时需要进行身份验证,感谢您的理解和支持。</p>
    <p>2. 验证身份遇到问题?请拨打客服电话<span class="blue2">400-889-9646</span>,客服将尽快联系您。</p>
</div>

{{> gee-captcha}}