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=513&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: 1746255624,
nonceStr: 'PK65BX0OTdNLLFPv',
signature: 'e15f353d008de846eaef240be4f37883265a7fd2',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/201906\/88ed749f0efb938f29645000c09a504b.jpg","title":"\u56fd\u836f\u4e1c\u98ce\u603b\u533b\u9662\uff1a\u5973\u5b50\u8179\u8154\u85cf13\u65a4\u91cd\u5de8\u5927\u80bf\u7624\uff0c\u533b\u751f3\u5c0f\u65f6\u6210\u529f\u201c\u6392\u96f7\u201d","smalltext":"\u8fd1\u65e5\uff0c\u56fd\u836f\u4e1c\u98ce\u603b\u533b\u9662\u6210\u529f\u5b9e\u65bd\u4e86\u4e00\u4f8b\u8179\u819c\u540e\u5de8\u5927\u80bf\u7624\u5207\u9664\u672f\uff0c\u5207\u9664\u8102\u80aa\u8089\u7624\u8fbe6.5\u516c\u65a4\uff0c\u8f83\u4e3a\u7f55\u89c1\u3002","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=513"};
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 () {
}
});
});
}