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=2229&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: 1747125608,
nonceStr: '38BuDFC2QupmPxmU',
signature: '30ef9dad6a6dbbe5a69c88951292ddd5a05f8eb8',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u4fe1\u9633\u5e02\u4e2d\u5fc3\u533b\u9662\uff1a\u4e16\u4e0a\u6709\u6735\u6700\u7f8e\u7684\u82b1","smalltext":"\u98ce\u96e8\u5f69\u8679\uff0c\u94ff\u9535\u73ab\u7470\u4e00\u62b9\u5a07\u7eff\uff0c\u4e1b\u4e2d\u751f\u8f89\u8f7b\u821e\u98de\u626c\uff0c\u98ce\u60c5\u4e07\u79cd\u51ac\u53bb\u6625\u6765\uff0c\u6d77\u68e0\u82b1\u5f00\u6700\u7f8e\u7684\u773c\u775b\u6700\u7f8e\u7684\u7b11\u5bb9\u6700\u7f8e\u7684\u58f0\u97f3\u6700\u7f8e\u7684\u8eab\u5f71\u7f8e\u4e3d\u7684\u3001\u53ef\u7231\u7684\u3001\u4eb2\u7231\u7684\u3001\u6e29\u67d4\u800c\u53c8\u52c7\u6562\u7684\u8282\u65e5\u5feb\u5feb\u4e50\u4e50","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=2229"};
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 () {
}
});
});
}