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=2784&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: 1714930535,
nonceStr: 'p0CHEkOrjP3GXREd',
signature: '564f0acef303622e5ff798b7ce2d558a0475a75f',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/202003\/fb821e19182bb5fe4e2235de5836961b.jpg","title":"\u83b1\u9633\u5e02\u4eba\u6c11\u533b\u9662\uff1a\u4ece\u5367\u5e8a\u5230\u6062\u590d\u884c\u8d70\uff0c\u4e00\u4f4d80\u5c81\u8001\u4eba4\u5929\u7684\u7ecf\u5386","smalltext":"2020\u5e742\u670817\u65e5\uff0c\u4e00\u4f4d80\u5c81\u8001\u4eba\u88ab\u5bb6\u4eba\u7528\u8f6e\u6905\u63a8\u5165\u83b1\u9633\u5e02\u4eba\u6c11\u533b\u9662\u9aa8\u4e00\u79d1\u95e8\u8bca\uff0c\u63a5\u8bca\u7684\u738b\u4f0f\u6ce2\u5927\u592b\u4ed4\u7ec6\u67e5\u770b\u60a3\u8005\uff0c\u7a76\u5176\u75c5\u53f2\uff1a\u60a3\u8005\u5f53\u65e5\u51cc\u6668\u6454\u5012\uff0c\u53f3\u9acb\u90e8\u6709\u660e\u786e\u5916\u4f24\u53f2\uff0c\u60a3\u8005\u53d7\u4f24\u524d\u53ef\u4ee5\u7167\u987e\u81ea\u5df1\uff0c\u751f","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=2784"};
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 () {
}
});
});
}