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=3542&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: 1714756101,
nonceStr: '2liLAWjqIbXbWdji',
signature: '61962aac68b4453c9bd746264252f3b62d129bb9',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u5e94\u57ce\u5e02\u4eba\u6c11\u533b\u9662:\u5f00\u5c55\u201c\u804c\u5de5\u7231\u5fc3\u6d88\u8d39\u6276\u8d2b\u201d\u52a9\u529b\u51b3\u6218\u51b3\u80dc\u8131\u8d2b\u653b\u575a","smalltext":" \u628a\u843d\u5b9e\u804c\u5de5\u798f\u5229\u4e0e\u63a8\u8fdb\u6d88\u8d39\u6276\u8d2b\u7ed3\u5408\u8d77\u6765\uff0c\u662f\u5e94\u57ce\u5e02\u4eba\u6c11\u533b\u9662\u5f00\u5c55\u7231\u5fc3\u6d88\u8d39\u6276\u8d2b\u6d3b\u52a8\u7684\u5b97\u65e8\u30027\u670828\u65e5\u4e0b\u5348\uff0c\u201c\u4ee5\u8d2d\u4ee3\u6350\u3001\u6d88\u8d39\u6276\u8d2b\u201d\u519c\u4ea7\u54c1\u53d1\u653e\u533a\uff0c\u5e02\u4eba\u6c11\u533b\u9662\u5de5\u4f1a\u5de5\u4f5c\u4eba\u5458\u6b63\u5fd9\u7740\u5206\u53d1\u901a","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=3542"};
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 () {
}
});
});
}