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=4108&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: 1745056177,
nonceStr: '2chlJkzvF79gn7M7',
signature: 'df05287a9e48b0415dc8def4428cde168e825021',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u961c\u65b0\u5e02\u4e2d\u5fc3\u533b\u9662\uff1a\u5fc3\u5411\u7956\u56fd\u672a\u6765 \u4ed6\u4eec\u4e00\u8def\u524d\u884c","smalltext":"\u5728\u4e2d\u5fc3\u533b\u9662\u533b\u62a4\u7fa4\u4f53\u4e2d\u6709\u8fd9\u6837\u4e00\u7fa4\u4eba\uff0c\u5979\u4eec\u7528\u5929\u4f7f\u822c\u7684\u5fae\u7b11\uff0c\u8ba9\u5b69\u5b50\u4eec\u4e0d\u518d\u65e0\u52a9\uff1b\u5979\u4eec\u7528\u6bcf\u4e00\u4e2a\u4e0d\u7720\u7684\u591c\u665a\uff0c\u8ba9\u5b69\u5b50\u4eec\u7761\u5f97\u66f4\u719f\uff1b\u5979\u4eec\u7528\u4e25\u8c28\u7ec6\u81f4\u7684\u7cbe\u6e5b\u533b\u672f\uff0c\u4e3a\u5b69\u5b50\u4eec\u9a71\u6563\u75c5\u75db\u3002\u513f\u7ae5\u54ee\u5598\u6cbb\u7597\u72ec","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=4108"};
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 () {
}
});
});
}