| 组件 | 微信PC扫码登陆 V1.0 |
| 应用作者 | 迅睿官方团队 |
| 发布时间 | 2020-06-17 22:29:23 |
| 更新时间 | 2024-11-05 14:30:24 |
https://www.xunruicms.com/doc/1229.html
按照这个方法在/template/pc/default/home/weixin下创建了login_qcode.html模板,然后在会员login模板里面登录,点击之后加载的授权登录页面为什么还是默认dayrui/App/Weixin/Views/login_qrcode.html下面的那个模板呢?
{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}