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=2900&classid=11&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: 1716119776,
nonceStr: 'EsBQKk7qLGoHnRHy',
signature: '26299faa02df1a092168cd77404aa2af29990584',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u4e1c\u839e\u5e02\u677e\u5c71\u6e56\u4e2d\u5fc3\u533b\u9662\uff1a\u7b51\u8d77\u6c11\u5fc3\u201c\u56de\u97f3\u58c1\u201d\uff0c\u67b6\u8d77\u6c9f\u901a\u201c\u8fde\u5fc3\u6865\u201d","smalltext":"\u5728\u533b\u7597\u670d\u52a1\u8fc7\u7a0b\u4e2d\uff0c\u533b\u52a1\u4eba\u5458\u548c\u60a3\u8005\u4f5c\u4e3a\u91cd\u8981\u4e3b\u4f53\uff0c\u524d\u8005\u7684\u9700\u6c42\u51b3\u5b9a\u670d\u52a1\u65b9\u5411\uff0c\u540e\u8005\u7684\u884c\u52a8\u51b3\u5b9a\u4e86\u6267\u884c\u6548\u679c\u3002\u79ef\u6781\u8046\u542c\u53cc\u65b9\u7684\u9700\u6c42\uff0c\u6839\u636e\u4ed6\u4eec\u7684\u4f53\u9a8c\u548c\u53cd\u9988\u6301\u7eed\u4f18\u5316\u7ba1\u7406\u7ec6\u8282\uff0c\u5bf9\u533b\u7597\u670d\u52a1\u8d28\u91cf\u7684","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=11&id=2900"};
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 () {
}
});
});
}