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=484&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: 1746264589,
nonceStr: 'i4h3ziF0xkT3ifoI',
signature: '2f02937e60caef88dbab5631d6e0312676dcde51',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u6e56\u5317\u7701\u4e2d\u5c71\u533b\u9662\uff1a260\u65a4\u91cd\u91cf\u7ea7\u5988\u5988\u987a\u4ea7\u559c\u83b7\u201c\u5343\u91d1\u201d","smalltext":" \u8fd1\u65e5\uff0c\u4e00\u4f4d\u633a\u7740\u5927\u809a\u5b50\u7684\u51c6\u5988\u5988\u6765\u5230\u4e86\u6e56\u5317\u7701\u4e2d\u5c71\u533b\u9662\u5987\u4ea7\u79d1\uff0c\u4e00\u8fdb\u95e8\u5979\u4fbf\u5fae\u7b11\u7740\u4e0e\u79d1\u4e3b\u4efb\u4efb\u91ce\u6253\u62db\u547c\uff0c\u5e76\u6307\u4e86\u6307\u81ea\u5df1\u7684\u809a\u5b50\uff0c\u4efb\u4e3b\u4efb\u7b11\u9053\uff1a\u201c\u633a\u597d\u7684\uff0c\u7ec8\u4e8e\u5230\u8fd9\u5929\u4e86\uff0c\u53bb\u4f4f\u9662\u90e8\u5427\uff0c\u90fd\u7ed9\u4f60\u5b89\u6392\u597d","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=484"};
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 () {
}
});
});
}