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=2778&classid=12&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: 1715930370,
nonceStr: 'rXLq42KsW2dkGzgn',
signature: '7220b5ef31535311d3546a2f3cd57265f0d01261',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u4e34\u6d2e\u53bf\u4e2d\u533b\u9662\u8d75\u6797\uff1a\u4ee5\u6ee1\u8db3\u60a3\u8005\u9700\u6c42\u4e3a\u5bfc\u5411","smalltext":" \u8d75\u6797\uff0c\u7537\uff0c\u6c49\u65cf\uff0c\u7855\u58eb\u7814\u7a76\u751f\uff0c\u5fc3\u80f8\u5916\u79d1\u4e3b\u4efb\u533b\u5e08\uff0c\u51fa\u751f\u4e8e1968\u5e743\u6708\uff0c\u4e2d\u5171\u515a\u5458\u30022012\u5e74\u62c5\u4efb\u7518\u8083\u7701\u4e34\u6d2e\u53bf\u4e2d\u533b\u9662\u9662\u957f\uff0c2019\u5e74\u62c5\u4efb\u7518\u8083\u7701\u4e34\u6d2e\u53bf\u4e2d\u533b\u9662\u515a\u59d4\u4e66\u8bb0\u3002\u8d75\u6797\u540c\u5fd7\u51fa\u8eab\u4e8e\u4eba\u6770\u5730\u7075\u7684\u7518\u8083","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=12&id=2778"};
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 () {
}
});
});
}