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=2683&classid=13&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: 1743812924,
nonceStr: '2ipTJtLzhVK3DHBf',
signature: 'fb287b52f7353ca45659a5fad846b735db8308e2',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u4e0a\u6d77\u5e02\u7b2c\u4e00\u5987\u5a74\u4fdd\u5065\u9662\u751f\u6b96\u514d\u75ab\u79d1\uff1a\u5b88\u62a4\u201c\u8537\u8587\u82b1\u201d\u2014\u2014\u9488\u5bf9\u53cd\u590d\u598a\u5a20\u5931\u8d25\u7684\u201c\u5168\u7a0b\u5168\u4eba\u201d\u56e2\u961f\u7ba1\u7406","smalltext":"\u3010\u54c1\u724c\u80cc\u666f\u3011\u4e0a\u6d77\u5e02\u7b2c\u4e00\u5987\u5a74\u4fdd\u5065\u9662\uff08\u4e0b\u7b80\u79f0\u201c\u4e00\u5987\u5a74\u201d\uff09\u751f\u6b96\u514d\u75ab\u79d1\u60a3\u8005\u7ecf\u53d7\u53cd\u590d\u81ea\u7136\u6d41\u4ea7\u3001\u53cd\u590d\u751f\u5316\u598a\u5a20\u3001\u53cd\u590d\u79fb\u690d\u5931\u8d25\uff0c\u8eab\u5fc3\u53cc\u91cd\u53d7\u521b\uff0c\u5728\u5bfb\u627e\u6cbb\u7597\u65b9\u6cd5\u7684\u8def\u4e0a\uff0c\u627f\u53d7\u592a\u591a\u65f6\u95f4\u538b\u529b\u3001\u7cbe\u529b","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=13&id=2683"};
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 () {
}
});
});
}