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=5248&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: 1746148135,
nonceStr: 'OdlWef8kRliVN64q',
signature: 'f0123116056d2c9b83854e05820bd37e8bfc9d13',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u6e29\u5dde\u5e02\u4e2d\u533b\u9662\uff1a\u200b\u501f\u201c\u4f0f\u8336\u7f51\u7edc\u201d\u5e03\u201c\u9632\u75ab\u4e2d\u533b\u7f51\u7edc\u201d","smalltext":"\u8fd1\u65e5\uff0c\u5fd7\u613f\u5173\u7231\u884c\u201c\u6e29\u5dde\u4e2d\u533b\u9632\u75ab\u5065\u5eb7\u8336\u201d\u6696\u56db\u65b9\u542f\u52a8\u4eea\u5f0f\u5728\u7ea2\u65e5\u4ead\u4e3e\u884c\uff0c\u5c06\u5728\u6e29\u5dde10\u4e2a\u4f0f\u8336\u70b9\uff08\u644a\uff09\u201c\u7aef\u51fa\u201d\u7531\u6e29\u5dde\u4e2d\u533b\u540d\u533b\u56e2\u961f\u7814\u53d1\u7684\u514d\u8d39\u201c\u6e29\u5dde\u4e2d\u533b\u9632\u75ab\u5065\u5eb7\u8336\u201d\uff0c\u6c47\u805a\u591a\u65b9\u5fd7\u613f\u529b\u91cf\uff0c\u4e3a\u767e","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=5248"};
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 () {
}
});
});
}