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=496&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: 1746264350,
nonceStr: 'NbQWhdbVdUyop0ao',
signature: '2a75d5a39f299e1769fe4de7986fd4d9ad4c4184',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u97f6\u5173\u5e02\u5987\u5e7c\u4fdd\u5065\u9662\uff1a\u201c\u6211\u4f1a\u5237\u7259\u3001\u6211\u4f1a\u6d17\u624b\u201d\u548c\u5b69\u5b50\u4eec\u4e00\u8d77\u5f00\u5fc3","smalltext":"\u4e3a\u7f13\u89e3\u5c0f\u75c5\u60a3\u7684\u60c5\u7eea\uff0c\u7ed9\u5c0f\u75c5\u60a3\u8fc7\u4e00\u4e2a\u540c\u6837\u6b22\u4e50\u7684\u513f\u7ae5\u8282\uff0c\u6211\u4eec\u4e0e\u513f\u7ae5\u8282\u5f53\u5929\u5728\u533b\u9662\u513f\u79d1\u7cfb\u5217\u79d1\u5ba4\u8fdb\u884c\u4e86\u5bd3\u6559\u4e8e\u4e50\u7684\u201c\u6211\u4f1a\u5237\u7259\u3001\u6211\u4f1a\u6d17\u624b\u201d\u5e03\u5076\u5feb\u95ea\u6709\u793c\u6d3b\u52a8\uff0c\u53d7\u5230\u4e86\u5c0f\u75c5\u60a3\u53ca\u5bb6\u957f\u7684\u70ed\u70c8\u6b22\u8fce\u3002","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=496"};
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 () {
}
});
});
}