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=284&classid=4&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: 1716088082,
nonceStr: 'oMiZMT6ir2UyEtKZ',
signature: 'c13979d7c34865433c445e897d998e3b22701b1e',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u6e29\u5dde\u5e02\u4e2d\u533b\u9662\uff1a\u4eba\u6587\u5173\u7231\uff0c\u4ece\u533b\u9662\u7684\u4fdd\u5b89\u5f00\u59cb","smalltext":"\u3000\u3000\u4e50\u5584\u597d\u65bd\u52a9\u4eba\u4e3a\u4e50\uff0c\u662f\u4e2d\u56fd\u4eba\u6c11\u7684\u4f20\u7edf\u7f8e\u5fb7\u3002\r\n\u3000\u3000\u5728\u6e29\u5dde\u5e02\u4e2d\u533b\u9662\u7684\u6c34\u5fc3\u9662\u533a\u5c31\u6709\u8fd9\u4e48\u4e00\u4f4d\u52a9\u4eba\u4e3a\u4e50\u7684\u4eba\uff0c\u4ed6\u53eb\u8282\u56fd\u5e73\uff0c\u662f\u5728\u533b\u9662\u5de5\u4f5c\u7684\u4e00\u4f4d\u666e\u666e\u901a\u901a\u7684\u4fdd\u5b89\uff0c\u5728\u6c34\u5fc3\u9662\u533a\u4e0a\u73ed\u7684\u4eba\u7ecf\u5e38\u4f1a\u770b\u5230\u4ed6\u5c0f\u5fc3\u5730\u6400\u6276\u7740\u75c5\u4eba\uff0c\u5e2e\u808b\u75c5\u4eba\u3002\r\n\r\n","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=4&id=284"};
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 () {
}
});
});
}