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=4925&classid=11&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: 1746210703,
nonceStr: 'RjZl523X6U87WBpv',
signature: '225fc0115821796e01aad85de39750a42b02d22f',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u4e1c\u839e\u5e02\u677e\u5c71\u6e56\u4e2d\u5fc3\u533b\u9662-\u6253\u9020\u201c\u7ea2\u8272\u57fa\u56e0\u201d\u5de5\u7a0b","smalltext":"2021\u5e74\u4e60\u8fd1\u5e73\u603b\u4e66\u8bb0\u5728\u201c\u4e03\u4e00\u201d\u91cd\u8981\u8bb2\u8bdd\u4e2d\u6307\u51fa\uff0c\u4e00\u767e\u5e74\u6765\u4e2d\u56fd\u5171\u4ea7\u515a\u5f18\u626c\u4f1f\u5927\u5efa\u515a\u7cbe\u795e\uff0c\u5728\u957f\u671f\u594b\u6597\u4e2d\u6784\u5efa\u8d77\u4e2d\u56fd\u5171\u4ea7\u515a\u4eba\u7684\u7cbe\u795e\u8c31\u7cfb\uff0c\u6211\u4eec\u8981\u6c38\u8fdc\u628a\u4f1f\u5927\u5efa\u515a\u7cbe\u795e\u7ee7\u627f\u4e0b\u53bb\u3001\u53d1\u626c\u5149\u5927\u3002","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=11&id=4925"};
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 () {
}
});
});
}