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=6696&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: 1715768015,
nonceStr: 'w9Mk4jHbQv0gzsYJ',
signature: '47ad4e3c69ac0f892a8a9b84ef11c77935ebfd40',
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\u5979\u60f3\u628a\u81ea\u5df1\u6d3b\u6d3b\u997f\u6b7b","smalltext":"\u4e00\u5929\u6668\u95f4\u67e5\u623f\u521a\u7ed3\u675f\uff0c\u6551\u62a4\u4eba\u5458\u4fbf\u63a8\u7740\u5e73\u8f66\u9001\u6765\u4e86\u4e00\u4f4d\u65b0\u75c5\u4eba\uff0c\u5306\u5306\u4e00\u773c\u4e4b\u95f4\u53ea\u770b\u5230\u8fd9\u4f4d\u963f\u59e8\u516d\u5341\u5c81\u5de6\u53f3\u7684\u6a21\u6837\uff0c\u770b\u4e0a\u53bb\u6709\u4e9b\u865a\u5f31\uff0c\u4f3c\u4e4e\u8fd8\u75db\u5f97\u5389\u5bb3\uff0c\u76b1\u7740\u7709\u5934\u8737\u7f29\u7740\u8eab\u4f53\u8eba\u5728\u5e73\u8f66\u4e0a\u3002\u65c1\u8fb9\u966a\u7740","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=14&id=6696"};
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 () {
}
});
});
}