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=570&classid=4&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: 1738748229,
nonceStr: 'HeQyDjei8gCZoOti',
signature: 'f441ba95b908abb7af719cf95cfb6ecc424d3a43',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/201906\/f5ba40e599329f46758f617d05189a41.jpg","title":"\u897f\u5b89\u533b\u5b66\u9662\u7b2c\u4e00\u9644\u5c5e\u533b\u9662:\u5f53\u533b\u8005\u6210\u4e3a\u8dd1\u8005","smalltext":"\u4e0e\u751f\u547d\u8d5b\u8dd1\uff0c\u662f\u533b\u8005\u7684\u672c\u5206,\u4e0e\u81ea\u5df1\u8d5b\u8dd1\uff0c\u662f\u4e3a\u4eba\u7684\u672c\u80fd,\u5f53\u533b\u8005\u6210\u4e3a\u8dd1\u8005,\u5728\u8fd9\u533b\u8def\u4e0a,\u53c8\u591a\u4e86\u4e9b\u66fc\u5999\u7684\u98ce\u666f\u3002......\u897f\u5b89\u533b\u5b66\u9662\u7b2c\u4e00\u9644\u5c5e\u533b\u9662\u4e34\u5e8a\u836f\u5b66\u5ba4\u6587\u6069\u8f89\uff1a\u5954\u8dd1\u5427\uff0c\u5144\u5f1f\u59d0\u59b9\uff01\u6211\u4eec\u662f\u5065\u5eb7","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=4&id=570"};
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 () {
}
});
});
}