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=6578&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: 1730416482,
nonceStr: 'UgCvbVouW6z8Offb',
signature: '2334dcc36bab9704c090a6602db7437e12f577f8',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u533b\u9662\u4eba\u6587\u7ba1\u7406\u5f81\u6587\uff1a\u4e00\u676f\u6c34\u7684\u6545\u4e8b","smalltext":" \u201c\u4eca\u665a\u662f\u4e00\u4e2a\u8ba9\u4eba\u611f\u52a8\u7684\u591c\u665a\uff0c\u603b\u4f1a\u6709\u4eba\u7ed9\u4f60\u610f\u60f3\u4e0d\u5230\u7684\u611f\u52a8\uff0c\u4e5f\u603b\u4f1a\u6709\u4eba\u5728\u4e0d\u7ecf\u610f\u95f4\u8bb0\u5f97\u4f60\u3002\u201d\u8fd9\u662f\u6211\u5728\u90a3\u4e2a\u5bd2\u51ac\u7684\u591c\u665a\u5199\u4e0b\u7684\u6700\u6e29\u6696\u7684\u8bdd\u8bed\u3002 \u8ba9\u6211\u5199\u4e0b\u8fd9\u6bb5\u8bdd\u662f\u5ed6\u5a46\u5a46\u548c\u5979\u7684","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=14&id=6578"};
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 () {
}
});
});
}