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=1791&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: 1714605351,
nonceStr: 'vAtm4W94Cq6RBmVD',
signature: '25ba0aa211779ca2e7b873d444585ff564e48372',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/202002\/721fba3ce45bced674f45cb24a87744e.jpg","title":"\u5b9a\u6c5f\u9547\u4e2d\u5fc3\u536b\u751f\u9662\uff1a\u6842\u6797\u897f\u7ad9\u6297\u75ab\u65e5\u8bb0\u4e09","smalltext":"2020-2-2 \u661f\u671f\u65e5 \u96e8 \u4ed6\u6765\u4e86\uff0c\u4e09\u5341\u591a\u5c81\u7684\u6837\u5b50\uff0c\u4e2d\u7b49\u8eab\u6750\uff0c\u7a7f\u7740\u4e00\u6761\u9ed1\u8272\u7684\u725b\u4ed4\u88e4\uff0c\u5de6\u624b\u52fe\u7740\u4e00\u4e2a\u9ed1\u8272\u5c3c\u9f99\u888b\uff0c\u6709\u8272\u6293\u7740\u4e00\u4e2a\u7f16\u7ec7\u888b\uff0c\u6b65\u5b50\u4e0d\u91cd\uff0c\u6709\u79cd\u5f3a\u608d\u7684\u6c14\u9b44\uff1b\u5934\u53d1\u53c8\u7c97\u53c8\u9ed1\uff1b\u5bbd\u5bbd\u7684\u6d53\u7709","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=1791"};
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 () {
}
});
});
}