首页增加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,
});
}
来源:城通网盘| 密码:9092| 大小:14KB| 下载次数:41次
-- 展开阅读全文 --
测试[呵呵]