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=1839&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: 1715024497,
nonceStr: 'BscADhMP1NegNQQh',
signature: '199c8e98fde69972318f96f104f0fff20e140e85',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/202002\/661f294a3cbac5fe3ecf95623291fba6.jpg","title":"\u6b66\u6c49\u5e02\u7b2c\u4e09\u533b\u9662\uff1a\u6025\u8bca\u79d1\u533b\u751f\u5199\u6b4c\u9f13\u52b1\u540c\u4e8b\uff0c\u4e3a\u6b66\u6c49\u52a0\u6cb9","smalltext":"\u68a6\u4e2d\u7406\u60f3\u90a3\u4e48\u591a\u6ca1\u6709\u9633\u5149\u7684\u65e5\u5b50\u6211\u4eec\u643a\u624b\u5ea6\u8fc7\u7ecf\u5386\u4e86\u98ce\u96e8\u5b9a\u8fce\u6765\u5f69\u8679\u6211\u628a\u82f1\u96c4\u7684\u57ce\u5e02\u5199\u6210\u8fd9\u9996\u6b4c \u8fd1\u65e5\uff0c\u6b66\u6c49\u5e02\u7b2c\u4e09\u533b\u9662\u6025\u8bca\u79d1\u533b\u751f\u674e\u7389\u6d9b\u81ea\u7f16\u81ea\u5199\u4e86\u4e00\u9996\u6b4c\u66f2\uff0c\u53eb\u82f1\u96c4\u57ce\u5e02\u3002\u674e\u533b\u751f\u8c08","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=1839"};
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 () {
}
});
});
}