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=4601&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: 1730418365,
nonceStr: 'csW4yYZp4y5MGSmQ',
signature: '3ecd97da513be5ee49a7393d84448ccd2874b041',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u7518\u8083\u5b9d\u77f3\u82b1\u533b\u9662-\u6587\u5316\u5ba3\u4f20\u90e8\u4e3b\u4efb\u738b\u5f66\u6885","smalltext":"\u738b\u5f66\u6885\uff0c\u7518\u8083\u5b9d\u77f3\u82b1\u533b\u9662\u6587\u5316\u5ba3\u4f20\u90e8\u4e3b\u4efb\uff0c\u5de5\u4f1a\u526f\u4e3b\u5e2d\uff0c\u526f\u4e3b\u4efb\u62a4\u5e08\uff0c\u7518\u8083\u7701\u533b\u5e08\u534f\u4f1a\u4eba\u6587\u5efa\u8bbe\u59d4\u5458\u4f1a\u59d4\u5458\uff0c\u5de5\u4f5c\u4e2d\u6309\u7167\u533b\u9662\u300a2019\u5e74\u5de5\u4f5c\u603b\u7ed3\u548c2020\u5e74\u5de5\u4f5c\u7814\u8ba8\u7684\u901a\u77e5\u300b\u3001\u5bf9\u7167\u300a\u7518\u8083\u5b9d\u77f3\u82b1\u533b","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=12&id=4601"};
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 () {
}
});
});
}