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=5442&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: 1714924276,
nonceStr: 'nhbkgWbcOXpiFYJO',
signature: '5861ad103d511534c930c6c3c19af090d6afe2e6',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/d\/file\/p\/202209\/b15431205ec9bb51ebd3339fe28ea004.jpg","title":"\u4ec1\u6d4e\u533b\u9662\u5609\u5b9a\u5206\u9662\u63f4\u743c\u533b\u7597\u961f\uff1a\u201c\u6caa\u201d\u4f60\u5468\u5168 \u201c\u743c\u201d\u5c3d\u5168\u529b","smalltext":"\u968f\u7740\u6d77\u5357\u7701\u6d77\u53e3\u5e02\u4e2d\u9ad8\u98ce\u9669\u533a\u5168\u90e8\u6e05\u96f6\uff0c\u6628\u5929\uff088\u670830\u65e5\uff09\uff0c\u5609\u5b9a\u63f4\u743c\u533b\u7597\u961f\u627f\u8f7d\u7740\u6d77\u5357\u4eba\u6c11\u7684\u65e0\u9650\u611f\u6fc0\u548c\u5706\u6ee1\u5b8c\u6210\u4efb\u52a1\u7684\u559c\u60a6\uff0c\u987a\u5229\u8fd4\u6caa\uff0c\u5176\u4e2d\u5305\u62ec\u6765\u81ea\u4ec1\u6d4e\u533b\u9662\u5609\u5b9a\u5206\u9662\u768410\u540d\u533b\u7597\u961f\u5458\u3002\u79c9\u627f","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=5442"};
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 () {
}
});
});
}