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=2099&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: 1716060381,
nonceStr: 'zPsiBdEL00mpewfG',
signature: '129eae456d3f467b261e883377a067210efb4b4a',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u767d\u94f6\u5e02\u7b2c\u4e00\u4eba\u6c11\u533b\u9662\uff1a \u6211\u7684\u6297\u75ab\u6218\u53cb\uff0c\u6211\u5728\u6625\u5929\u91cc\u7b49\u4f60","smalltext":"\u9002\u9022\u5e9a\u5b50\u5e74\u8282\u65f6\uff0c\u8346\u695a\u67d3\u75be\u3002\u4e07\u5343\u767d\u8863\uff0c\u4f17\u5fd7\u6210\u57ce\u9006\u5411\u884c\u3002\u94dc\u57ce\u513f\u5973\u591a\u5947\u5fd7\uff0c\u9664\u761f\u6218\u75ab\u3002\u98ce\u6e05\u6708\u660e\uff0c\u5171\u5e86\u4f59\u5e74\u7b11\u8bed\u76c8\u3002\u6211\u7684\u6218\u53cb\uff0c\u6211\u5728\u6625\u5929\u91cc\u7b49\u4f60\u4eca\u65e5\u96e8\u6c34\u60df\u613f\u5c71\u6cb3\u98ce\u8c03\u96e8\u987a\uff0c\u4eba\u6c11\u5b89\u5eb7\u4eca\u591c\uff0c\u6700\u60f3\u770b","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=2099"};
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 () {
}
});
});
}