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=1034&classid=4&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: 1725756990,
nonceStr: 'Kq0KPXniEjrObIrE',
signature: '581bb84028486299c893b60cd4e1533d48b23716',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u82cf\u5dde\u5927\u5b66\u9644\u5c5e\u7b2c\u4e00\u533b\u9662\u90b1\u6d63\u654f:\u6539\u53d8\uff0c\u633a\u597d\uff01","smalltext":"2016\u5e74\uff0c\u6211\u63a5\u4e86\u4e00\u4e2a\u975e\u5e38\u201c\u68d8\u624b\u201d\u7684\u4efb\u52a1\u3002\u5728\u90a3\u4e00\u5e74\u76845\u670812\u65e5\uff0c\u6211\u4eec\u529e\u516c\u5ba4\u9ec4\u607a\u6587\u4e3b\u4efb\u53d1\u7684\u4e00\u6761\u62a4\u58eb\u8282\u4e3b\u9898\u670b\u53cb\u5708\uff0c\u5374\u610f\u5916\u6536\u5230\u4e86\u8001\u4e61\u5b9e\u540d\u70b9\u8d5e\u98ce\u6e7f\u514d\u75ab\u79d1\u738b\u9e23\u519b\u533b\u751f\uff1a\u533b\u5fb7\u597d\uff0c\u6280\u672f\u4f73\uff0c\u5f88\u591a\u82cf","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=4&id=1034"};
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 () {
}
});
});
}