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=2717&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: 1715716111,
nonceStr: 'xwO5URKAaUXIEjsk',
signature: '11a85ceffb0e5b5b8f03f2811e46e888e032d23a',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u6210\u90fd\u5e02\u65b0\u90fd\u533a\u4eba\u6c11\u533b\u9662\u9999\u56e0\u5802\uff1a\u793e\u533a\u4e0e\u533b\u9662\u7684\u6446\u6e21\u8f66","smalltext":"2019\u5e742\u6708\uff0c\u65b0\u90fd\u533a\u4eba\u6c11\u533b\u9662\u542f\u52a8\u5bf9\u672c\u533a\u57fa\u5c42\u533b\u7597\u673a\u6784\u4e3a\u671f\u4e24\u5e74\u7684\u5bf9\u53e3\u652f\u63f4\u5de5\u4f5c\uff0c\u5176\u4e2d\u6d3e\u9a7b\u8700\u90fd\u793e\u533a\u536b\u751f\u670d\u52a1\u4e2d\u5fc3\uff08\u4ee5\u4e0b\u7b80\u79f0\u793e\u533a\uff09\u7684\u652f\u63f4\u5c0f\u7ec4\u6210\u5458\u517110\u4eba\uff0c\u5747\u4e3a\u533b\u5b66\u4e2d\u9ad8\u7ea7\u804c\u79f0\uff0c\u6db5\u76d6\u5185\u79d1\u3001\u5916\u79d1","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=11&id=2717"};
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 () {
}
});
});
}