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=2896&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: 1730418395,
nonceStr: 'qQVJ9PXc6JuUYNV7',
signature: '81076feb6ed9bc10297b13b8aec828edb84e6a23',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u8944\u9633\u5e02\u4e2d\u897f\u533b\u7ed3\u5408\u533b\u9662\u5468\u536b\u5175\uff1a\u4e2d\u897f\u5408\u74a7\u4fc3\u53d1\u5c55","smalltext":"\u5468\u536b\u5175\uff0c\u7537\uff0c\u4e2d\u5171\u515a\u5458\uff0c\u4e3b\u4efb\u533b\u5e08\uff0c1968\u5e742\u6708\u51fa\u751f\uff0c\u6e56\u5317\u8944\u9633\u4eba\uff0c\u73b0\u4efb\u8944\u9633\u5e02\u4e2d\u897f\u533b\u7ed3\u5408\u533b\u9662\u515a\u59d4\u4e66\u8bb0\u3001\u9662\u957f\uff0c\u4ece\u4e8b\u533b\u9662\u7ba1\u7406\u5de5\u4f5c\u4e8c\u5341\u4f59\u5e74\uff0c\u91cd\u89c6\u533b\u9662\u4eba\u6587\u5efa\u8bbe\uff0c\u575a\u6301\u4e2d\u897f\u533b\u7ed3\u5408\u53d1\u5c55\uff0c2018\u5e74\u8363\u83b7\u201c\u8944\u9633","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=12&id=2896"};
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 () {
}
});
});
}