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=3053&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: 1714934320,
nonceStr: 'btIi2yJt6NjnAXJa',
signature: 'ab2bec2743162539324d30073e67daf9d8941f91',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u91b4\u9675\u5e02\u4e2d\u533b\u9662\u8096\u5b8f\u97ec\uff1a\u503e\u529b\u6253\u9020\u6709\u6e29\u5ea6\u7684\u4eba\u6587\u533b\u9662","smalltext":"\u8096\u5b8f\u97ec\uff0c\u7537\uff0c\u6c49\u65cf\uff0c1976\u5e7412\u6708\u51fa\u751f\uff0c2001\u5e74\u6bd5\u4e1a\u4e8e\u6e56\u5357\u533b\u79d1\u5927\u5b66\u4e34\u5e8a\u533b\u7597\u7cfb\uff0c\u672c\u79d1\u5b66\u5386\uff0c\u526f\u4e3b\u4efb\u533b\u5e08,\u73b0\u4efb\u91b4\u9675\u5e02\u4e2d\u533b\u9662\u515a\u59d4\u4e66\u8bb0\uff0c\u682a\u6d32\u5730\u533a\u810a\u67f1\u5fae\u521b\u4e13\u4e1a\u59d4\u5458\u4f1a\u526f\u4e3b\u4efb\u59d4\u5458\uff0c\u682a\u6d32\u5e02\u536b\u751f\u7cfb\u7edf\u4e2d\u9752\u5e74","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=12&id=3053"};
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 () {
}
});
});
}