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=4595&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: 1743784968,
nonceStr: 'KyuMYWzR4qbDizVW',
signature: '3d662b646022b8193cfa98de548498f6c463d357',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u5c71\u4e1c\u5927\u5b66\u7b2c\u4e8c\u533b\u9662-\u4e73\u817a\u5916\u79d1","smalltext":"\u4e3a\u5168\u9762\u63a8\u8fdb\u5065\u5eb7\u4e2d\u56fd\u5efa\u8bbe\uff0c\u8df5\u884c\u751f\u7406\u2014\u5fc3\u7406\u2014\u793e\u4f1a\u7684\u6cbb\u7597\u7406\u5ff5\uff0c\u5c71\u4e1c\u5927\u5b66\u7b2c\u4e8c\u533b\u9662\u4e73\u817a\u5916\u79d1\u533b\u62a4\u56e2\u961f\u4e8e2015\u5e748\u6708\u6b63\u5f0f\u7ec4\u5efa\u753120\u540d\u533b\u62a4\u4eba\u5458\u4ee3\u8868\u548c36\u540d\u60a3\u8005\u4ee3\u8868\u7ec4\u6210\u7684\u201c\u7231\u76f8\u805a\u201d\u5fd7\u613f\u670d\u52a1","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=10&id=4595"};
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 () {
}
});
});
}