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=5181&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: 1743764385,
nonceStr: 'zlqE98yiHTylGyfz',
signature: '90ec355aac5d0601c4335c440f44425975691d5a',
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\u533b\u9662\uff1a\u9ad8\u751c\u6765\u88ad \u6765\u81ea\u201c\u53e3\u7f69\u201d\u963f\u59e8\u7684\u539a\u7231","smalltext":"\u8fd8\u8bb0\u5f97\u4e24\u5e74\u524d\u75ab\u60c5\u6700\u4e25\u91cd\uff0c\u53e3\u7f69\u6700\u7d27\u7f3a\u65f6\u671f\u7ed9\u8d23\u4efb\u62a4\u58eb\u4eb2\u624b\u7ec7\u724c\u6696\u5fc3\u53e3\u7f69\u7684\u201c\u9ad8\u963f\u59e8\u201d\u5417\uff1f\u5982\u4eca\uff0c\u9ad8\u963f\u59e8\u53c8\u7ed9\u6211\u4eec\u5e26\u4e86\u65b0\u7684\u60ca\u559c\u548c\u611f\u52a8\uff0c\u8fd9\u6b21\u5fc3\u7075\u624b\u5de7\u7684\u9ad8\u963f\u59e8\u53c8\u7ed9\u8d23\u4efb\u62a4\u58eb\u62a4\u58eb\u52fe\u4e86\u4e00\u4e2a\u53ef\u7231","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=5181"};
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 () {
}
});
});
}