打开微信,点击底部的“发现”,使用“扫一扫”即可将网页分享至朋友圈。
'+_parameter[j]['title']+''+_parameter[j]['txt']+' ') }else{ $('.sideBox .cont .parameterList').eq(i).append(' '+_parameter[j]['title']+''+_parameter[j]['txt']+' ') } } }else{ $('.sideBox .cont .parameter').append('暂无参数'); } } var picStr = "https://bbs.qn.img-space.com/202307/9/3d3063c87e93ec7a76ad8662c5d503af.jpg?imageView2/2/w/800/h/600/q/100/ignore-error/1/&auth_key=1734167374-9543-0-f54d57c67b233173bb50d4a2fb3e1aee||https://bbs.qn.img-space.com/202307/9/2e8144b02e99a8e6036ab57b5e66491a.jpg?imageView2/2/w/800/h/600/q/100/ignore-error/1/&auth_key=1734167374-5415-0-d7829215a34925445fbe028c0378123d||https://bbs.qn.img-space.com/202307/9/6c55e406ea100bd2f2e46b56212811e7.jpg?imageView2/2/w/800/h/600/q/100/ignore-error/1/&auth_key=1734167374-8937-0-6b509a7866eee3b217973e58448eaf55||https://bbs.qn.img-space.com/202307/9/b1fccf2475acfb4928bd4024ae8254fb.jpg?imageView2/2/w/800/h/600/q/100/ignore-error/1/&auth_key=1734167374-9937-0-d6e784ff45f7937d47468d9b02403f0f"; //新浪微博分享接口 function sinaShare(obj) { var title = document.title; var url = document.location; var _w = 72, _h = 16; var param = { url: url, type: '3', count: '', /**是否显示分享数,1显示(可选)*/ appkey: '3397900440', /**您申请的应用appkey,显示分享来源(可选)*/ title: '@蜂鸟网 :' + title , /**分享的文字内容(可选,默认为所在页面的title)*/ pic: picStr, /**分享图片的路径(可选)*/ ralateUid: '', /**关联用户的UID,分享微博会@该用户(可选)*/ language: 'zh_cn', /**设置语言,zh_cn|zh_tw(可选)*/ rnd: new Date().valueOf() /**拿到原始的时间值*/ } var temp = []; for (var p in param) { /**encodeURIComponent() 函数可把字符串作为 URI 组件进行编码。*/ temp.push(p + '=' + encodeURIComponent(param[p] || '')) } var url = 'http://service.weibo.com/share/share.php?' + temp.join('&') + 'width=' + _w + 'height=' + _h; window.open(url); } //空间分享 function kongjianShare(obj) { window.open('https://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=' + encodeURIComponent(document.location.href)); } //微信分享生成二维码 var mUrl = 'https://m.fengniao.com/forum/slide_11604135.html'; var qrcode = new QRCode('qrcode', { text: mUrl, width: 208, height: 208 }); var _hmt = _hmt || []; (function () { var hm = document.createElement("script"); hm.src = "//hm.baidu.com/hm.js?916ddc034db3aa7261c5d56a3001e7c5"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();
'+_parameter[j]['title']+''+_parameter[j]['txt']+' ') } } }else{ $('.sideBox .cont .parameter').append('暂无参数'); } } var picStr = "https://bbs.qn.img-space.com/202307/9/3d3063c87e93ec7a76ad8662c5d503af.jpg?imageView2/2/w/800/h/600/q/100/ignore-error/1/&auth_key=1734167374-9543-0-f54d57c67b233173bb50d4a2fb3e1aee||https://bbs.qn.img-space.com/202307/9/2e8144b02e99a8e6036ab57b5e66491a.jpg?imageView2/2/w/800/h/600/q/100/ignore-error/1/&auth_key=1734167374-5415-0-d7829215a34925445fbe028c0378123d||https://bbs.qn.img-space.com/202307/9/6c55e406ea100bd2f2e46b56212811e7.jpg?imageView2/2/w/800/h/600/q/100/ignore-error/1/&auth_key=1734167374-8937-0-6b509a7866eee3b217973e58448eaf55||https://bbs.qn.img-space.com/202307/9/b1fccf2475acfb4928bd4024ae8254fb.jpg?imageView2/2/w/800/h/600/q/100/ignore-error/1/&auth_key=1734167374-9937-0-d6e784ff45f7937d47468d9b02403f0f"; //新浪微博分享接口 function sinaShare(obj) { var title = document.title; var url = document.location; var _w = 72, _h = 16; var param = { url: url, type: '3', count: '', /**是否显示分享数,1显示(可选)*/ appkey: '3397900440', /**您申请的应用appkey,显示分享来源(可选)*/ title: '@蜂鸟网 :' + title , /**分享的文字内容(可选,默认为所在页面的title)*/ pic: picStr, /**分享图片的路径(可选)*/ ralateUid: '', /**关联用户的UID,分享微博会@该用户(可选)*/ language: 'zh_cn', /**设置语言,zh_cn|zh_tw(可选)*/ rnd: new Date().valueOf() /**拿到原始的时间值*/ } var temp = []; for (var p in param) { /**encodeURIComponent() 函数可把字符串作为 URI 组件进行编码。*/ temp.push(p + '=' + encodeURIComponent(param[p] || '')) } var url = 'http://service.weibo.com/share/share.php?' + temp.join('&') + 'width=' + _w + 'height=' + _h; window.open(url); } //空间分享 function kongjianShare(obj) { window.open('https://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=' + encodeURIComponent(document.location.href)); } //微信分享生成二维码 var mUrl = 'https://m.fengniao.com/forum/slide_11604135.html'; var qrcode = new QRCode('qrcode', { text: mUrl, width: 208, height: 208 }); var _hmt = _hmt || []; (function () { var hm = document.createElement("script"); hm.src = "//hm.baidu.com/hm.js?916ddc034db3aa7261c5d56a3001e7c5"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();