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=1124&classid=4&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: 1716134807,
nonceStr: '7z5y4WgGB2YArnmp',
signature: 'c1d26fb07c1e8a8143462604f5ccbabc907d6e94',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u5357\u5b81\u5e02\u7b2c\u56db\u4eba\u6c11\u533b\u9662\u5434\u950b\u8000\uff1a\u6211\u8fd9\u4e09\u5341\u5e74","smalltext":"1989\u5e742\u6708\uff0c\u6211\u5728\u5e7f\u897f\u7f57\u57ce\u53bf\u4eba\u6c11\u533b\u9662\u5f53\u4f4f\u9662\u533b\u751f\uff0c\u5206\u7ba1\u4f20\u67d3\u79d1\u3002\u5f53\u65f6\u4f20\u67d3\u79d1\u5df2\u7ecf\u6709\u4e86\u72ec\u7acb\u75c5\u623f\uff0c\u6536\u6cbb\u7684\u75c5\u4eba\u75c5\u79cd\u5305\u62ec\u80ba\u7ed3\u6838\u3001\u4f20\u67d3\u6027\u809d\u708e\u3001\u7ec6\u83cc\u6027\u75e2\u75be\u7b49\u3002\u533b\u751f\u62a4\u58eb\u67e5\u623f\u3001\u64cd\u4f5c\u65f6\uff0c\u90fd\u662f\u6234\u7740","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=4&id=1124"};
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 () {
}
});
});
}