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=431&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: 1744154896,
nonceStr: 'I2fCd5hN7eH71Gzb',
signature: '4a80650bdeff53c5b02b5addae39b2f34b5054f5',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/201905\/89be50121c83ee4d8eb1c4bed3bbeeaf.jpg","title":"\u90d1\u5dde\u4eba\u6c11\u533b\u9662:\u7a7f\u8d8a\u5343\u53e4\uff0c\u7f8e\u5c0f\u62a4\u624b\u7ed8\uff0c\u6559\u4f60\u8ba4\u8bc6\u8111\u5352\u4e2d","smalltext":"\u90d1\u5dde\u4eba\u6c11\u533b\u9662\u7f8e\u5c0f\u62a4\u624b\u7ed8\u6f2b\u753b\uff0c\u6559\u4f60\u8ba4\u8bc6\u8111\u5352\u4e2d\u3002","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=431"};
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 () {
}
});
});
}