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=2738&classid=12&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: 1730416503,
nonceStr: 'qKFmumXPhcOa0fi0',
signature: 'f247a6c610400fa2608109900a6e167bde60ee98',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u5357\u5b81\u5e02\u5987\u5e7c\u4fdd\u5065\u9662\u65b9\u6625\u5b81\uff1a\u79c9\u4e00\u4efd\u521d\u5fc3\uff0c\u805a\u529b\u4eba\u6587\u5ef6\u7eed\u6e29\u6696","smalltext":"\u5979\u662f\u4e00\u540d\u4e2d\u5171\u515a\u5458\uff0c\u533b\u8def\u5411\u524d\uff0c\u521d\u5fc3\u4e0d\u53d8\uff1b\u5979\u662f\u4e00\u4f4d\u533b\u9662\u6587\u5316\u54c1\u724c\u5efa\u8bbe\u7684\u201c\u63a2\u7d22\u8005\u201d\uff0c\u4ee5\u4eba\u6587\u4e4b\u7231\u5ef6\u4f38\u670d\u52a1\u5185\u6db5\uff1b\u5979\u662f\u5357\u5b81\u5e02\u5987\u5e7c\u4fdd\u5065\u9662\u515a\u59d4\u526f\u4e66\u8bb0\u3001\u7eaa\u59d4\u4e66\u8bb0\u65b9\u6625\u5b81\u3002\u65b9\u6625\u5b81\u73b0\u4efb\u4e2d\u56fd\u5987\u5e7c\u534f\u4f1a","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=12&id=2738"};
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 () {
}
});
});
}