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=5361&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: 1714381676,
nonceStr: 'QmuXl3AazdAJYYwT',
signature: 'c4346a7c07472d2641531f6b22784f1b9bdd6431',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u9752\u5c9b\u897f\u6d77\u5cb8\u65b0\u533a\u7b2c\u4e8c\u4e2d\u533b\u533b\u9662:\u5f00\u5c55\u201c\u5411\u9633\u82b1\u5f00\u201d\u4e2d\u533b\u836f\u6587\u5316\u4f20\u64ad\u5408\u4f5c\u7b7e\u7ea6\u4eea\u5f0f\u66a8\u201c\u5168\u56fd\u7231\u773c\u65e5\u201d\u4e49\u8bca\u6d3b\u52a8","smalltext":"\u4e3a\u4f20\u64ad\u666e\u53ca\u4e2d\u533b\u836f\u6587\u5316\uff0c\u628a\u4e2d\u533b\u836f\u6587\u5316\u6559\u80b2\u878d\u5165\u5b66\u751f\u7d20\u8d28\u6559\u80b2\uff0c\u4fc3\u8fdb\u5b66\u751f\u5065\u5eb7\u6210\u957f\uff0c5\u670830\u65e5\uff0c\u9752\u5c9b\u897f\u6d77\u5cb8\u65b0\u533a\u7b2c\u4e8c\u4e2d\u533b\u533b\u9662\u4e0e\u9752\u5c9b\u897f\u6d77\u5cb8\u65b0\u533a\u80f6\u5357\u5c0f\u5b66\u4e3e\u884c\u201c\u5411\u9633\u82b1\u5f00\u201d\u672a\u6210\u5e74\u4eba\u4e2d\u533b\u836f\u6587\u5316","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=5361"};
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 () {
}
});
});
}