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=5295&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: 1716103008,
nonceStr: 'lO8TUupwN8wqc857',
signature: 'e9cb657d9805bc097c7654785acb0c614f136a93',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u51e4\u51f0\u53f0\u533b\u9662\uff1a\u5b59\u60e0\u83c1\u548c\u540c\u4e8b\u4eec\u7684\u6297\u75ab\u201c\u5e73\u51e1\u201d\u4e4b\u8def","smalltext":"\u5b59\u60e0\u83c1\u548c\u540c\u4e8b\u4eec\u5728\u8fd9\u4e2a\u4e09\u6708\u91cc\u5f88\u5fd9\u788c\uff01\u5b59\u60e0\u83c1\u5728\u51e4\u51f0\u53f0\u533b\u9662\u5de5\u4f5c\uff0c\u5979\u6709\u591a\u91cd\u8eab\u4efd\uff0d\u2014\u836f\u5242\u79d1\u4e3b\u4efb\u3001\u6838\u9178\u91c7\u6837\u4eba\u5458\u3001\u519b\u5ac2\u3001\u6bcd\u4eb2\uff0c\u4f46\u662f\uff0c\u5979\u59cb\u7ec8\u611f\u89c9\u81ea\u5df1\u7684\u7b2c\u4e00\u8eab\u4efd\u662f\u4e00\u540d\u533b\u52a1\u5de5\u4f5c\u8005\uff0c\u5929\u804c\u5c31\u662f\u5b88\u62a4","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=5295"};
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 () {
}
});
});
}