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=2881&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: 1716080117,
nonceStr: 'r54zCtrMI51hyaeX',
signature: 'aadc95559ec0e5deffae73ae9c7da18ac6a6b2e8',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u65e0\u9521\u5e02\u513f\u7ae5\u533b\u9662\u6768\u633a\uff1a\u7528\u5b9e\u9645\u884c\u52a8\u8df5\u884c\u521d\u5fc3\u4f7f\u547d","smalltext":"\u6768\u633a\uff0c \u65e0\u9521\u5e02\u513f\u7ae5\u533b\u9662\u76ae\u80a4\u79d1\u526f\u4e3b\u4efb\uff0c\u526f\u4e3b\u4efb\u533b\u5e08\u3002\u4ece\u533b20\u5e74\uff0c\u64c5\u957f\u5a74\u5e7c\u513f\u9762\u90e8\u6e7f\u75b9\u3001\u7279\u5e94\u6027\u76ae\u708e\u3001\u6162\u6027\u8368\u9ebb\u75b9\u7b49\u8fc7\u654f\u6027\u76ae\u80a4\u75c5\u7684\u8bca\u6cbb\u3001\u5a74\u513f\u8840\u7ba1\u7624\u7684\u836f\u7269\u6cbb\u7597\u4ee5\u53ca\u75c5\u6bd2\u75a3\u624b\u672f\u6cbb\u7597\u7b49\u8bca\u6cbb","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=12&id=2881"};
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 () {
}
});
});
}