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=4910&classid=10&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: 1716164016,
nonceStr: 'SPxNMX7DBaS9x9ss',
signature: '490d0983a65ea4f357e63b2b04491306d8b6957b',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u5357\u65b9\u533b\u79d1\u5927\u5b66\u5357\u65b9\u533b\u9662\u767d\u4e91\u5206\u9662-\u8111\u8840\u7ba1\u75c5\u533b\u9662\u9752\u5e74\u6587\u660e\u53f7\u56e2\u961f","smalltext":"\u5357\u65b9\u533b\u79d1\u5927\u5b66\u5357\u65b9\u533b\u9662\u767d\u4e91\u8111\u8840\u7ba1\u75c5\u533b\u9662\uff08\u4e0b\u79f0\u8111\u8840\u7ba1\u75c5\u533b\u9662\uff09\u662f\u5357\u65b9\u533b\u79d1\u5927\u5b66\u5357\u65b9\u533b\u9662\u767d\u4e91\u5206\u9662\u503e\u529b\u6253\u9020\uff0c\u5177\u6709200\u5f20\u5e8a\u4f4d\u89c4\u6a21\u7684\u8111\u8840\u7ba1\u75c5\u4e13\u79d1\u201c\u9662\u4e2d\u9662\u201d\uff0c\u51dd\u7ed3\u4e86\u5357\u65b9\u533b\u9662\u53ca\u767d\u4e91\u533a\u653f\u5e9c\u7684","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=10&id=4910"};
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 () {
}
});
});
}