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=4664&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: 1730418659,
nonceStr: '2XHjjxCqm6FFah2h',
signature: '882033393e8b9c3dc94ac2c29dd52a095ce47d30',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u6e29\u5dde\u5e02\u4e2d\u533b\u9662-\u515a\u59d4\u4e66\u8bb0\u738b\u5e86\u6765","smalltext":"\u201c\u5bf9\u4e0a\u8981\u656c\uff0c\u5bf9\u4e0b\u8981\u7231\uff0c\u5f85\u4eba\u8981\u8bda\uff0c\u505a\u4e8b\u8981\u771f\u3002\u201d\u8fd9\u6bb5\u8bdd\u6734\u5b9e\uff0c\u5374\u6df1\u523b\u3002\u8fd9\u662f\u6e29\u5dde\u5e02\u4e2d\u533b\u9662\u515a\u59d4\u4e66\u8bb0\u738b\u5e86\u6765\u7684\u4eba\u751f\u5ea7\u53f3\u94ed\uff0c\u4e5f\u662f\u4ed6\u81ea\u7ed3\u7f18\u4e2d\u533b\u4ee5\u676530\u4f59\u5e74\u7684\u4eba\u751f\u6c89\u6dc0\u3002\u4ece\u5206\u7ba1\u533b\u9662\u533b\u7597\u5de5\u4f5c\u7684\u79d1\u4e3b","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=12&id=4664"};
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 () {
}
});
});
}