会员主题专用QQ登陆插件

2个月前 / 0 评论 / 2817 阅读 / 正在检测是否收录...

插件在最下方

本插件可以实现QQ登录一键登录,如果没有没有绑定过QQ就跳转到【创建并登录】
https://pic.su1018.cn/7No8wj20220221222442.png

  • 输入用户名密码即可完成创建,如果用户名密码存在则绑定,不存在则创建
  • 个人中心首页展示QQ绑定状态

https://pic.su1018.cn/7NyKlk20220221222333.png

首页登录按钮

  • 需要改动文件
  • 文件位置:博客根目录/content/templates/qinyin_longyue/assets/js/joe.global.js
  • 大概在第737行找到
function blog_denglu() {
    xtip.open({
        type: 'html',
        content: '<div class="ajaxdlk"><div class="form"><h2 class="headline">登录帐号</h2><div class="input-field"><label class="input-box"for="email"><i class="fa fa-user-o"></i><input type="text"name="user_yonghuming"id="user_yonghuming"class="rgreytrhrthj"placeholder="输入账号"autocomplete="off"></label><label class="input-box"for="username"><i class="fa fa-eye-slash"></i><input type="password"name="user_mima"id="user_mima"placeholder="输入密码"autocomplete="off"></label></div><button class="button"type="button"onClick="dengluzhanghao()">登陆账号</button></div></br><div class="login1"><a href="#"onclick="zhaoHuiMiMa()">找回密码</a><a style="float:right"href="#"onclick="qiehuan_zhuce()">注册账号</a></div></div>',
        width: '320px',
        height: '330px',
        min: true,
        lock: true,
        shade: true,
        shade: true,
        over: false,
        closeBtn: false,
    });
}

替换为

function blog_denglu() {
    xtip.open({
        type: 'html',
        content: '<div class="ajaxdlk"><div class="form"><h2 class="headline">登录帐号</h2><div class="input-field"><label class="input-box"for="email"><i class="fa fa-user-o"></i><input type="text"name="user_yonghuming"id="user_yonghuming"class="rgreytrhrthj"placeholder="输入账号"autocomplete="off"></label><label class="input-box"for="username"><i class="fa fa-eye-slash"></i><input type="password"name="user_mima"id="user_mima"placeholder="输入密码"autocomplete="off"></label></div><button class="button"type="button"onClick="dengluzhanghao()">登陆账号</button></div></br><a href="你的网址/content/plugins/QinYinQQ/qqlogin.php"style="background:red;color:#fff;padding:7px 95px;border-radius:5px;"><li class="fa fa-qq"> </li> QQ登录</a></br></br><div class="login1"><a href="#"onclick="zhaoHuiMiMa()">找回密码</a><a style="float:right"href="#"onclick="qiehuan_zhuce()">注册账号</a></div></div>',
        width: '320px',
        height: '360px',
        min: true,
        lock: true,
        shade: true,
        shade: true,
        over: false,
        closeBtn: false,
    });
}

注意:替换的内容里面你的网址改为你自己的网址!

您当前等级为游客

尊享价格:8元登陆后购买
付费可见

评论

取消