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=1400&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: 1714830870,
nonceStr: 'oAWtftK0JduSoGCb',
signature: 'd1e06a8ee8230c1595478e18ebfe32bec1614183',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":" \u6b66\u6c49\u94a2\u94c1\uff08\u96c6\u56e2\uff09\u516c\u53f8\u7b2c\u4e8c\u804c\u5de5\u533b\u9662\u7eaa\u5149\u4f1f\uff1a\u5b89\u5b81\u7597\u62a4\u96be\uff0c\u96be\uff0c\u96be","smalltext":"\u4eca\u5929\u65e9\u4e0a\u4e00\u4e0a\u73ed\uff0c\u503c\u73ed\u62a4\u58eb\u544a\u8bc9\u62112\u5e8a\u7684\u75c5\u4eba\u738b\u5976\u5976\u6628\u5929\u665a\u4e0a\u5934\u90e8\u6454\u7834\u4e86\u3002\u65e9\u4e0a\u67e5\u623f\uff0c\u7ed9\u75c5\u4eba\u5904\u7406\u4e86\u4f24\u53e3\u3002\u6211\u5c31\u8054\u7cfb\u4e86\u75c5\u4eba\u7684\u513f\u5b50\u5218\u5148\u751f\uff0c\u544a\u77e5\u4e86\u75c5\u60c5\uff0c\u5bb6\u5c5e\u8868\u793a\u9a6c\u4e0a\u8d76\u8fc7\u6765\u3002\u5bb6\u5c5e\u5929\u6cb3\u673a\u573a\u7684","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=4&id=1400"};
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 () {
}
});
});
}