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=6513&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: 1750062372,
nonceStr: 'AJqAnokCbqFRkGPP',
signature: 'e8e79147e278f5925f17e32fb5206e0ab997af18',
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\u5e73\u51e1\u4e2d\u8715\u53d8\u7684\u82f1\u96c4","smalltext":"\u4e00\u4e2a\u5e73\u51e1\u7684\u4eba\uff0c\u5982\u4f55\u53d8\u7684\u4f1f\u5927\uff1f\u5f53\u5979\u7a7f\u4e0a\u4e00\u88ad\u767d\u8863\uff0c\u5f53\u5979\u5168\u529b\u62ef\u6551\u6bcf\u4e00\u4e2a\u751f\u547d\uff0c\u5f53\u5979\u7528\u81ea\u5df1\u7684\u8eab\u8eaf\uff0c\u77d7\u7acb\u5728\u75ab\u60c5\u6700\u524d\u7ebf\uff0c\u8fd9\u5c31\u662f\u4f1f\u5927\u3002\u62a4\u58eb\uff0c\u662f\u4ece\u5e73\u51e1\u4e2d\u8715\u53d8\u7684\u82f1\u96c4\uff01\u5e74\u5e74\u5c81\u5c81\uff0c\u5c81\u5c81\u5e74\u5e74\uff0c\u4e09\u73ed\u5012\u7684\u65e5\u5e38\u9020","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=14&id=6513"};
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 () {
}
});
});
}