$(function(){ // $(".weixinicon").attr("data-qrcode","http://www.xinhongru.com/qrcode/qrcode.php?content="+window.location.href); //娴嬭瘯 $(".weixinicon").attr("data-qrcode","/qrCode/Index.aspx?url="+window.location.href); //姝e紡鐢ㄨ繖涓紝宸茬粡鏇存柊鍒板悗鍙 //鍒嗕韩 $(".pic_02").click(function () {//寰崥 var url = $(this).data("txt"); var url = window.location.href; var title = document.title; var op = "http://service.weibo.com/share/share.php?title=" + title + "&url=" + encodeURIComponent(url) + ""; window.open(op) }) // $(".pic_05").click(function () {//鑵捐 // var url = $(this).data("txt"); // var url = window.location.href; // var title = document.title; // var op = "http://share.v.t.qq.com/index.php?title=" + title + "&url=" + encodeURIComponent(url) + ""; // window.open(op) // }) $(".pic_04").click(function () {//绌洪棿 var url = $(this).data("txt"); var url = window.location.href; var title = document.title; var op = "https://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey??title=" + title + "&url=" + encodeURIComponent(url) + ""; window.open(op) }) $(".pic_03").click(function () {//QQ var url = $(this).data("txt"); var url = window.location.href; var title = document.title; var op = "http://connect.qq.com/widget/shareqq/index.html?url=" + encodeURIComponent(url) + ""; window.open(op); }) $(".weixinicon").click(function () {//寰俊 var url = $(this).attr("data-qrcode") //alert(url) var title = "" title += "
鎵竴鎵?/p>" title += "
鎵竴鎵?/p>" title+="