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=5413&classid=5&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: 1714743556,
nonceStr: 'w1xDKyRqcoqzEgYI',
signature: '8ab01f5bff634adb92bb03cd4e6f8e7b5dbdd6dd',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/d\/file\/p\/202208\/616fe07e8d16faeb7bbfd0f701314ef0.png","title":"\u3010\u6709\u5956\u6d3b\u52a8\u3011\u533b\u58f0\u6765\u4e86+\u53d1\u73b0\u5b9d\u85cf\u533b\u751f\uff0c\u6b22\u8fce\u53c2\u52a0\uff01","smalltext":"\u4e3a\u9686\u91cd\u5e86\u795d2022\u5e74\u4e2d\u56fd\u533b\u5e08\u8282\uff0c\u8fce\u63a5\u515a\u7684\u4e8c\u5341\u5927\uff0c\u5927\u529b\u5f18\u626c\u201c\u656c\u4f51\u751f\u547d\u3001\u6551\u6b7b\u6276\u4f24\u3001\u7518\u4e8e\u5949\u732e\u3001\u5927\u7231\u65e0\u7586\u201d\u7684\u4eba\u6587\u7cbe\u795e\uff0c\u63a8\u8fdb\u5065\u5eb7\u4e2d\u56fd\u5efa\u8bbe\uff0c\u6839\u636e\u56fd\u5bb6\u536b\u751f\u5065\u5eb7\u59d4\u5458\u4f1a\u300a\u5173\u4e8e\u505a\u597d\u5e86\u795d2022\u5e74\u4e2d","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=5413"};
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 () {
}
});
});
}