文件
nahaichuan/addons/official/view/web/official_common/pc/captcha.html
2026-10-08 16:23:22 +08:00

8 行
541 B
HTML

<!--@formatter:off-->
{if "[type]" == 'text' /}
<span class="input-group-btn" style="padding:0;border:none;">
<input type="text" name="captcha" required autocomplete="off" placeholder="{:__l('index','Input verification code')}" data-rule="required;length(4)" class="layui-input captcha_input" style="width: 200px;float: left">
<img src="{:captcha_src()}" width="100" height="40" onclick="this.src = '{:captcha_src()}?r=' + Math.random();" style="margin-left: 10px;margin-top: 5px"/>
</span>
{/if}
<!--@formatter:on-->