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=1406&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: 1714667781,
nonceStr: 'kYUSjkdUN86JmK0T',
signature: '2bbc9900138b99fc60b7ed9d297a16944207b205',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/201911\/53dcf86d4a1ff420629e2cb189afeec7.jpg","title":" \u6e56\u5357\u7701\u4eba\u6c11\u533b\u9662:\u4e00\u751f\u53ea\u505a\u4e00\u4ef6\u4e8b\uff0c\u505a\u4e00\u4e2a\u4eba\u6c11\u9700\u8981\u7684\u597d\u533b\u751f","smalltext":" \u5434\u91d1\u672f\u6559\u6388\u51fa\u751f\u4e8e1940\u5e74\uff0c\u81f3\u4eca\u5df2\u8d70\u8fc779\u4e2a\u6625\u79cb\u30021957\u5e74\uff0c\u4ed6\u8003\u5165\u6e56\u5357\u533b\u5b66\u9662\uff0c\u8fdb\u5165\u533b\u5b66\u6bbf\u5802\uff0c\u70b9\u71c3\u4e86\u201c\u5f53\u4e00\u4e2a\u4eba\u6c11\u9700\u8981\u7684\u597d\u533b\u751f\u201d\u7684\u68a6\u60f3\u3002\u4ece\u533b62\u5e74\u6765\uff0c\u4ed6\u4e00\u76f4\u575a\u5b88\u4e34\u5e8a\u5de5\u4f5c\u6700\u524d\u7ebf\uff0c\u5bf9\u4e8b\u4e1a\u5145","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=1406"};
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 () {
}
});
});
}