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=585&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: 1746313752,
nonceStr: 'F7tUq7yeJghM4N7i',
signature: 'fd06e4a1867191d4970c757404f5deeb97c6a533',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u95fd\u4e1c\u533b\u9662\uff1a\u4eae\u51fa\u771f\u98ce\u91c7 \u4f20\u9012\u7ea2\u8272\u597d\u58f0\u97f3","smalltext":"\u3000\u3000\u4e3a\u7eaa\u5ff5\u4e2d\u56fd\u5171\u4ea7\u515a\u5efa\u515a98\u5468\u5e74\u3001\u4e2d\u534e\u4eba\u6c11\u5171\u548c\u56fd\u6210\u7acb70\u5468\u5e74\u548c\u4e94\u56db\u8fd0\u52a8100\u5468\u5e74\uff0c\u7d27\u5bc6\u7ed3\u5408\u201c\u4e0d\u5fd8\u521d\u5fc3 \u7262\u8bb0\u4f7f\u547d\u201d\u4e3b\u9898\u6559\u80b2\u6d3b\u52a8\uff0c6\u670814\u65e5\uff0c\u95fd\u4e1c\u533b\u9662\u5f00\u5c55\u201c\u65b0\u65f6\u4ee3\u3001\u65b0\u62c5\u5f53\u3001\u65b0\u4f5c\u4e3a\u201d","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=585"};
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 () {
}
});
});
}