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=4888&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: 1746210825,
nonceStr: '3uQIU7b7syYHw9IM',
signature: '7081ca75f7fc62c2f4ed4189c27d205bf0778ad2',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u7ef5\u7af9\u5e02\u4eba\u6c11\u533b\u9662-\u7528\u597d\u5ba3\u4f20\u201c\u652f\u70b9\u201d \u64ac\u52a8\u533b\u9662\u54c1\u724c\u751f\u4ea7\u529b","smalltext":"\u515a\u7684\u5341\u516b\u5927\u4ee5\u6765\uff0c\u4e60\u8fd1\u5e73\u603b\u4e66\u8bb0\u591a\u6b21\u5c31\u201c\u5ba3\u4f20\u5de5\u4f5c\u201d\u505a\u51fa\u7cbe\u5f69\u8bba\u8ff0\u548c\u91cd\u8981\u6307\u793a\uff0c\u515a\u7684\u5341\u4e5d\u5927\u62a5\u544a\u66f4\u662f\u63d0\u51fa\u4e86\u201c\u5b9e\u65bd\u5065\u5eb7\u4e2d\u56fd\u6218\u7565\u201d\u53f7\u53ec\uff0c\u5c06\u5b9e\u65bd\u5065\u5eb7\u77e5\u8bc6\u666e\u53ca\u884c\u52a8\u843d\u5230\u4e86\u5b9e\u5904\uff0c\u660e\u786e\u52302022\u5e74\u548c","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=11&id=4888"};
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 () {
}
});
});
}