Travel.title分享标题,Travel.href分享链接地址 $(".travel #share_sina").click(function(){ window.open("http://service.weibo.com/share/share.php?title="+Travel.title+"&url="+Travel.href); }); $(".travel #share_wx").click(function(){ $(".travel_qrcode").show(); }); $(".travel #share_rr").click(function(){ window.open("http://widget.renren.com/dialog/share?title="+Travel.title+"&resourceUrl="+Travel.href); }); $(".travel #share_tQQ").click(function(){ window.open("http://share.v.t.qq.com/index.php?c=share&a=index&title=&title="+Travel.title+"&url="+Travel.href); });