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=3521&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: 1745119061,
nonceStr: '9srYugzKMDofi8JX',
signature: 'bf1fb8f3432ea8528b2c0bc23a918ae2feeb11d5',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u6566\u5316\u5e02\u4e2d\u533b\u9662\uff1a\u4e00\u4e2a\u5e9f\u7eb8\u56e2\u627f\u8f7d\u59d0\u59b9\u60c5\u6df1 \u5185\u85cf300\u5143\u5c55\u73b0\u533b\u60a3\u548c\u8c10","smalltext":" \u8fd170\u5c81\u7684\u59d0\u59d0\u5077\u5077\u7ed961\u5c81\u59b9\u59b9\u7684\u6cbb\u75c5\u94b1\uff0c\u7adf\u7136\u88ab\u5f53\u5e9f\u7eb8\u6254\u6389\u4e86\uff0c\u6566\u5316\u5e02\u4e2d\u533b\u9662\u6025\u8bca\u79d1\u533b\u751f\u5e2e\u5fd9\u627e\u56de","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=3521"};
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 () {
}
});
});
}