function BeautyToast(text){var str=``+text+``;
try{var div=document.createElement("div");div.setAttribute("class","_BeautyToast");div.innerHTML=str;document.body.appendChild(div);setTimeout(function(){div.setAttribute("class","_BeautyToast onshow")},100);setTimeout(function(){div.setAttribute("class","_BeautyToast");setTimeout(function(){div.parentNode.removeChild(div)},200)},2000)}catch(e){}}
function updateViewtime(){
var img =new Image();
img.src='/e/extend/shareinfo/api/?act=leave&id=5267&classid=5&t=';
}
window.onunload=updateViewtime;setInterval(updateViewtime,2000);
var script=document.createElement("script");
script.type="text/javascript";
script.src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js";
document.getElementsByTagName('head')[0].appendChild(script);
script.onload=function(){
wx.config({
debug: false,
appId: 'wxad180590bbd7e222',
timestamp: 1743764386,
nonceStr: 'NanRshA9dvADCjkH',
signature: '045692c51b71bba82a80348bad6b8051c6dcb4bd',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u7ef5\u7af9\u5e02\u4eba\u6c11\u533b\u9662\uff1a\u5c0f\u5c0f\u4e8c\u7ef4\u7801 \u5065\u5eb7\u5ba3\u6559\u4f5c\u7528\u5927","smalltext":"\u5728\u7ef5\u7af9\u5e02\u4eba\u6c11\u533b\u9662\u666e\u5916\u79d1\u75c5\u533a\uff0c\u6709\u4e00\u9762\u5ba3\u4f20\u5899\uff0c\u4e0a\u9762\u7ed8\u6709\u751f\u52a8\u7684\u56fe\u6848\uff0c\u8fd8\u8d34\u6709\u591a\u5f20\u4e8c\u7ef4\u7801\u3002\u666e\u5916\u79d1\u62a4\u58eb\u957f\u9a86\u96ea\u6885\u8bf4\uff0c\u8fd9\u9762\u5899\u5df2\u7ecf\u6210\u4e86\u75c5\u533a\u7684\u201c\u666f\u70b9\u201d\uff0c\u60a3\u8005\u548c\u5bb6\u5c5e\u6765\u5230\u8fd9\u91cc\u7684\u7b2c\u4e00\u4ef6\u4e8b\uff0c\u5c31\u662f\u62ff\u51fa\u624b\u673a\u626b\u7801\u201c\u6253\u5361\u201d\u3002\u539f\u6765\u6bcf\u4e2a\u4e8c\u7ef4\u7801\u80cc\u540e\u90fd\u662f\u4e00\u4e2a\u75be\u75c5\u7684\u5065\u5eb7\u6559\u80b2\u77e5\u8bc6\u5408\u96c6\u3002","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=5267"};
if(!WxShareInfo.url){
WxShareInfo.url = window.location.href;
}
wx.onMenuShareTimeline({
title: WxShareInfo.title,
link: WxShareInfo.url,
imgUrl: WxShareInfo.titlepic,
success: function (e) {
BeautyToast('分享成功');
},
cancel: function () {
}
});
wx.onMenuShareAppMessage({
title: WxShareInfo.title,
desc: WxShareInfo.smalltext,
link: WxShareInfo.url,
imgUrl: WxShareInfo.titlepic,
type: '',
dataUrl: '',
success: function (e) {
BeautyToast('分享成功');
},
cancel: function () {
}
});
wx.onMenuShareQQ({
title: WxShareInfo.title,
desc: WxShareInfo.smalltext,
link: WxShareInfo.url,
imgUrl: WxShareInfo.titlepic,
success: function () {
BeautyToast('分享成功');
},
cancel: function () {
}
});
});
}