插件在最下方
本插件可以实现QQ登录一键登录,如果没有没有绑定过QQ就跳转到【创建并登录】
- 输入用户名密码即可完成创建,如果用户名密码存在则绑定,不存在则创建
- 个人中心首页展示QQ绑定状态
首页登录按钮
- 需要改动文件
- 文件位置:博客根目录/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,
});
}
注意:替换的内容里面你的网址改为你自己的网址!
付费可见
评论