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=1686&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: 1714659083,
nonceStr: 'IUdDKSzL9moKifPj',
signature: '6a0b50d5947913664b89afa1729e7cf96168de8d',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u8d35\u9633\u5e02\u7b2c\u4e8c\u4eba\u6c11\u533b\u9662\uff1a\u7f3a\u5e2d\u7684\u5a5a\u793c\uff0c\u6211\u56de\u6765\u8865\u7ed9\u4f60","smalltext":"\u6bcf\u4e2a\u65f6\u4ee3\u90fd\u6709\u6218\u58eb\u8d1f\u91cd\u524d\u884c\uff0c\u5bf9\u4e8e\u8d35\u9633\u5e02\u4e8c\u533b\uff08\u91d1\u9633\u533b\u9662\uff09\u91cd\u75c7\u533b\u5b66\u79d126\u5c81\u7537\u62a4\u58eb\u8d75\u6587\u5764\u6765\u8bf4\u4eca\u5929\u663e\u5f97\u4e0e\u4f17\u4e0d\u540c\uff0c\u539f\u672c\u5e94\u8be5\u5728\u5927\u7406\u4e3e\u884c\u5a5a\u793c\u7684\u4ed6\u63a5\u5230\u9a70\u63f4\u6e56\u5317\uff0c\u9700\u8981\u8fde\u591c\u8d76\u8d74\u75ab\u533a\u7684\u901a\u77e5\u540e\uff0c\u4ed6\u548c\u672a","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=1686"};
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 () {
}
});
});
}