gee-captcha.hbs 656 Bytes
{{# @root.captcha}}
    {{#if_cond type '===' 'geetest'}}
        <script>window._captcha = 'geetest';</script>
        <script>window._captchaValue = true;</script>
        <script src="https://static.geetest.com/static/tools/gt.js"></script>
    {{/if_cond}}

    {{#if_cond type '===' 'image'}}
        <script>window._captcha = 'image';</script>
        {{#if apiRisk}}
            <script>window._captchaApiRisk = true;</script>
        {{/if}}
        {{#if value}}
            <script>window._captchaValue = true;</script>
        {{^}}
            <script>window._captchaValue = false;</script>
        {{/if}}
    {{/if_cond}}
{{/ @root.captcha}}