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=755&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: 1746677659,
nonceStr: '2hclfra8vnD7xKOI',
signature: '1502147e240b6da7d6e59a9f5a2c279b87f567a4',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/201907\/2929496ea44acddb2813a78f7f75f044.jpg","title":"\u5e38\u5dde\u4e09\u9662\uff1a\u4e00\u9897\u826f\u5fc3\uff0c\u4ee5\u4e0d\u53d8\u5e94\u4e07\u53d8","smalltext":"\u5d2d\u65b0\u7684\u516c\u536b\u75c5\u623f\u91cc\uff0c\u809d\u75c5\u79d135\u75c5\u533a\u4e3b\u4efb\u94b1\u6885\u4e91\uff0c\u4f9d\u65e7\u811a\u6b65\u4ece\u5bb9\u575a\u5b9a\u3001\u8a00\u8bed\u8f7b\u58f0\u7ec6\u6c14\uff0c\u53ea\u662f\u5979\u90a3\u65e9\u5df2\u82b1\u767d\u7684\u5934\u53d1\u63d0\u9192\u2014\u2014\u5176\u5b9e\uff0c\u94b1\u4e3b\u4efb\u5df2\u8fd1\u201c\u82b1\u7532\u201d\u4e4b\u5e74\u3002\u5728\u8fc7\u53bb\u768430\u591a\u5e74\u91cc\uff0c\u94b1\u4e3b\u4efb\u4f9d\u7a00\u8bb0\u5f97\uff0c\u5f53\u5e74","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=755"};
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 () {
}
});
});
}