聯(lián)系官方銷售客服
1835022288
028-61286886
系統(tǒng)關(guān)鍵js已頭部引用,后臺(tái)登錄圖片驗(yàn)證碼已打開。
自定義首頁登錄框?yàn)樯厄?yàn)證碼不顯示呢?
<div class="baoming">
<form id="loginform" method="post" novalidate="novalidate">
{dr_form_hidden()}
<div class="name">
<span>賬號(hào):</span>
<input type="text" autocomplete="off" placeholder="賬號(hào)/郵箱/手機(jī)" name="data[username]" />
</div>
<div class="tel">
<span>密碼:</span>
<input type="password" autocomplete="off" placeholder="登錄密碼" name="data[password]" />
</div>
{if $is_post_code}
<div class="code">
<span>驗(yàn)證:</span>
<input type="text" autocomplete="off" placeholder="驗(yàn)證碼" name="code" />{dr_code(120, 35)}
</div>
{/if}
<button type="button" onclick="dr_ajax_member('{dr_member_url('login/index')}', 'loginform');">點(diǎn)擊登錄</button>
</form>
</div>
前端運(yùn)行后沒有驗(yàn)證碼的部分
參考文檔:《登錄/注冊(cè)功能在其他頁面調(diào)用》