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=2208&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: 1747123126,
nonceStr: 'wUh36OjaEbbwFO2c',
signature: 'c28b4ce5c62e3ce602224a301a8a465c92b5c831',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u201c\u53e3\u7f69\u8138\u201d\u5c0f\u59d0\u59d0\uff0c\u4f60\u7b11\u8d77\u6765\u7684\u6837\u5b50\u771f\u7f8e\u6781\u4e86\uff01","smalltext":"\u200b\u201c\u53e3\u7f69\u8138\u201d\u4e00\u4e2a\u65b0\u51a0\u80ba\u708e\u75ab\u60c5\u671f\u95f4\u5174\u8d77\u7684\u8bcd\u6c47\uff0c\u5728\u4e00\u4e2a\u4e2a\u5e74\u8f7b\u7684\u8138\u5e9e\u4e0a\u753b\u4e0a\u4e86\u7b26\u53f7\u3002\u6458\u4e0b\u53e3\u7f69\u7684\u4f60\u4eec\uff0c\u8138\u4e0a\u7559\u4e0b\u7684\u662f\u6218\u201c\u75ab\u201d\u7684\u5fc5\u80dc\u5bc6\u7801\u3002","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=2208"};
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 () {
}
});
});
}