...
|
...
|
@@ -173,6 +173,21 @@ $(function() { |
|
|
$("#searchForm").submit(); //处理事件
|
|
|
}
|
|
|
});
|
|
|
var share_url = encodeURIComponent(location.href);
|
|
|
var share_title = encodeURIComponent(document.title);
|
|
|
//分享到微博
|
|
|
$('.weibo').click(function(){
|
|
|
var param = {
|
|
|
url: share_url,
|
|
|
title: share_title,
|
|
|
rnd: new Date().valueOf()
|
|
|
};
|
|
|
var temp = [];
|
|
|
for (var p in param) {
|
|
|
temp.push(p + '=' + encodeURIComponent(param[p] || ''))
|
|
|
}
|
|
|
window.open('http://v.t.sina.com.cn/share/share.php?' + temp.join('&'));
|
|
|
});
|
|
|
});
|
|
|
|
|
|
//弹框
|
...
|
...
|
|