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=4953&classid=10&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: 1714236009,
nonceStr: 'Vf1hDTAaYQXWNzjQ',
signature: '6e3ae8c3b2626b98de445789e6f989b9eeac6a39',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u5e73\u660c\u53bf\u4eba\u6c11\u533b\u9662-\u5ba3\u4f20\u79d1","smalltext":"\u5e73\u660c\u53bf\u4eba\u6c11\u533b\u9662\u5ba3\u4f20\u79d1\u6218\u961f \u5e73\u660c\u53bf\u4eba\u6c11\u533b\u9662\u59cb\u5efa\u4e8e 1950 \u5e74\uff0c\u4ece\u4e00\u4e2a\u5f53\u521d\u53ea\u6709\u51e0\u4e2a \u533b\u62a4\u4eba\u5458\uff0c\u51e0\u5f20\u75c5\u5e8a\u7684\u536b\u751f\u6240\uff0c\u6f14\u7ece\u6210\u4e86\u4eca\u5929\u4e09\u4e2a\u9662\u533a\uff0c\u96c6 \u533b\u7597\u3001\u6025\u8bca\u6025\u6551\u3001\u5206\u7ea7\u8bca\u7597\u3001\u9884\u9632\u4fdd\u5065\u5eb7\u590d\u3001","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=10&id=4953"};
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 () {
}
});
});
}