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=3011&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: 1749397036,
nonceStr: '8KAIhDT6agM7adRC',
signature: '32adda8ebce95e0986ad3f53aadf58c80b9c46a2',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u4ed6\u4eec\u7adf\u7136\u7231\u4e0a\u7a7f\u201c\u9ed1\u4e1d\u201d \u80cc\u540e\u7684\u6545\u4e8b\u4e0d\u7b80\u5355","smalltext":"\u5728\u6b66\u6c49\u5e02\u7b2c\u4e09\u533b\u9662\u4ecb\u5165\u79d1\uff0c\u603b\u6709\u4e00\u5e2e\u7a7f\u7740\u5f39\u529b\u4e1d\u889c\u7684\u7537\u533b\u751f\u201c\u51fa\u6ca1\u201d\u3002\u4ed6\u4eec\u4e0d\u662f\u201c\u9017\u4e50\u201d\uff0c\u66f4\u4e0d\u662f\u201c\u53d8\u6001\u201d\uff0c\u800c\u662f\u201c\u73b0\u8eab\u8bf4\u6cd5\u201d\uff0c\u5e2e\u52a9\u201c\u8001\u70c2\u817f\u201d\u60a3\u8005\u65e9\u65e5\u5eb7\u590d\u3002\u4e00\u4f4d\u60a3\u8005\u88ab\u8bca\u65ad\u4e3a\u4e0b\u80a2\u9759\u8109\u66f2","url":"https:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=3011"};
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 () {
}
});
});
}