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=672&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: 1746609847,
nonceStr: 'yvkbveg3KI7g9Rxq',
signature: '28f30be8b2796981b86f2d09f18c886accd8c3b9',
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\u5efa\u515a98\u5468\u5e74 \u4e09\u4e2a\u515a\u652f\u90e8\u5230\u6751\u5f00\u5c55\u4e3b\u9898\u515a\u65e5\u6d3b\u52a8","smalltext":"\u3000\u3000\u4e3a\u624e\u5b9e\u5f00\u5c55\u201c\u4e0d\u5fd8\u521d\u5fc3\uff0c\u7262\u8bb0\u4f7f\u547d\u201d\u4e3b\u9898\u6559\u80b2\uff0c\u5728\u4e2d\u56fd\u5171\u4ea7\u515a\u6210\u7acb98\u5468\u5e74\u4e4b\u9645\uff0c6\u670830\u65e5\uff0c\u95fd\u4e1c\u533b\u9662\u7b2c\u516d\u3001\u7b2c\u4e03\u3001\u7b2c\u5341\u4e09\u515a\u652f\u90e8\u7ec4\u7ec738\u540d\u533b\u52a1\u4eba\u5458\u524d\u5f80\u798f\u5b89\u5e02\u6eaa\u67c4\u9547\u6246\u5c71\u6751\u8054\u5408\u5f00\u5c55\u201c\u65b0\u65f6","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=672"};
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 () {
}
});
});
}