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=6744&classid=14&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: 1741809592,
nonceStr: 'xRLLDur4hWfbMHW5',
signature: 'cddece5e9f9c433631a4dc58311aff46fd4e0ef5',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u533b\u9662\u4eba\u6587\u7ba1\u7406\u5f81\u6587\uff1a\u7528\u201c\u540e\u6094\u836f\u201d\u7ed9\u80bf\u7624\u60a3\u8005\u201c\u6cbb\u5fc3\u201d","smalltext":"\u201c\u8fd9\u4e2a\u5375\u6ce1\u770b\u8d77\u6765\u8fd8\u4e0d\u9519\uff0c\u6211\u4eec\u518d\u53d6\u8fd9\u4e00\u4e2a\u8bd5\u8bd5\u3002\u201d\u201c\u53c8\u53d6\u52301\u4e2a\uff0c\u73b0\u5728\u603b\u5171\u670911\u4e2a\u5375\u5b50\u3002\u201d\u201c\u592a\u597d\u4e86\uff01\u201d\u56f4\u5728\u624b\u672f\u53f0\u65c1\u7684\u533b\u62a4\u4eec\u90fd\u677e\u4e86\u53e3\u6c14\uff0c\u4e3a\u8fd9\u4f4d\u65e2\u4e0d\u5e78\u53c8\u5e78\u8fd0\u7684\u5973\u60a3\u8005\u611f\u5230\u9ad8\u5174\u3002\u8fd9\u662f\u6625","url":"https:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=14&id=6744"};
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 () {
}
});
});
}