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=4132&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: 1745056540,
nonceStr: 'eX7AFwv84880EKCt',
signature: '873db936e6b6136e4927d4adb13be2536f64a8fa',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u56db\u5ddd\u7701\u4eba\u6c11\u533b\u9662\uff1a\u533b\u52a1\u793e\u5de5\u613f\u4ee5\u7f8e\u597d\uff0c\u5475\u62a4\u4f60\u7684\u9ad8\u5149","smalltext":"\u4e16\u754c\u4e0a\u82e5\u6ca1\u6709\u5973\u4eba\uff0c\u8fd9\u4e16\u754c\u81f3\u5c11\u8981\u5931\u53bb\u5341\u5206\u4e4b\u4e94\u7684\u201c\u771f\u201d\u3001\u5341\u5206\u4e4b\u516d\u7684\u201c\u5584\u201d\u3001\u5341\u5206\u4e4b\u4e03\u7684\u201c\u7f8e\u201d\u3002 \u52c7\u6562\u7684\u4f60\u4eec\u5954\u8d74\u5728\u6700\u524d\u7ebf\u6e29\u6696\u7684\u4f60\u4eec\u575a\u5b88\u5728\u65e5\u5e38\u7684\u5c97\u4f4d\u4e2d\u5e73\u51e1\u53c8\u4f1f\u5927\u7684\u4f60\u4eec\u7528\u6700\u4e13","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=4132"};
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 () {
}
});
});
}