| 組件名稱 | 微信PC掃碼登陸 V1.0 |
| 組件作者 | 迅睿官方團(tuán)隊(duì) |
| 最近更新 | 2024-11-05 14:30:24 |
http://www.apdwn.com/doc/1229.html
按照這個(gè)方法在/template/pc/default/home/weixin下創(chuàng)建了login_qcode.html模板,然后在會(huì)員login模板里面登錄,點(diǎn)擊之后加載的授權(quán)登錄頁面為什么還是默認(rèn)dayrui/App/Weixin/Views/login_qrcode.html下面的那個(gè)模板呢?
http://www.apdwn.com/index.php?s=api&c=oauth&m=index&name=wechat&type=login&back=
看官網(wǎng)這個(gè)
回復(fù)@眼鏡 我知道這咋用,以前老版本的沒有問題。 今天用這個(gè)新版本發(fā)現(xiàn)不行。
這個(gè)問題解決了嗎?樓主?
回復(fù)@訊睿cms鐵粉 解決了,自定義不生效,就去改dayrui/App/Weixin/Views/login_qrcode.html這個(gè)模板吧
回復(fù)@志偉 微信掃碼登錄只能用于電腦端是嗎?手機(jī)斷能用嗎
回復(fù)@胡銀萍
可以判斷下
{if dr_is_weixin_app()} <button type="button" onclick="window.location='{Router::oauth_url('wechat', 'login')}'" class="btn green pull-right" > 微信登錄 </button> {else} <!--其他登錄--> <p class="wxdl"><button type="button" onclick="dr_wx_login()" class="btn green pull-right">電腦微信掃碼登錄 </button> {/if}