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=191&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: 1730419373,
nonceStr: 'jvVOOu5RzPBAtxTH',
signature: 'e2c03b5a621c580cb9c9c4c3d5b6eb20a666c914',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u6e29\u5dde\u5e02\u4e2d\u533b\u9662\uff1a\u6e29\u5dde\u7684\u4eba\u6587","smalltext":"\u6e29\u5dde\u5e02\u4e2d\u533b\u9662\u5c06\u4eba\u6587\u533b\u9662\u5efa\u8bbe\u4f5c\u4e3a\u533b\u9662\u53d1\u5c55\u6218\u7565\u4e4b\u4e00\uff0c\u63a8\u884c\u4eba\u6587\u7ba1\u7406\u3002\u4e3b\u8981\u5f00\u5c55\u4e86\u4ee5\u4e0b\u51e0\u9879\u5de5\u4f5c\uff1a\u4e00\u3001\u4ee5\u7cbe\u7ec6\u5316\u670d\u52a1\u4e3a\u6293\u624b\uff0c\u4fc3\u670d\u52a1\u73af\u5883\u63d0\u5347\u548c\u670d\u52a1\u6c34\u5e73\u63d0\u5347\uff1b\u4e8c\u3001\u521b\u65b0\u533b\u7597\u670d\u52a1\u6a21\u5f0f\uff0c\u4e0a\u7ebf\u4e92\u8054","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=10&id=191"};
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 () {
}
});
});
}