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=896&classid=5&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: 1747082491,
nonceStr: 'z8s5M3xYBBPr2Xgi',
signature: '1b45c42142b7392f10e38d9639d2b548437b05ff',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u95fd\u4e1c\u533b\u9662:\u7eb9\u8eab\u9700\u614e\u91cd \u8eab\u4f53\u4f24\u5bb3\u5927 \u795b\u9664\u5f88\u82e6\u607c","smalltext":"\u672f\u524d\u672f\u540e\u3000\u3000\u798f\u5b8918\u5c81\u5c0f\u4f19\u5b50\u5434\u5929(\u5316\u540d)\u9ad8\u4e2d\u6bd5\u4e1a\uff0c\u5e74\u8f7b\u6c14\u76db\uff0c\u770b\u7740\u540c\u9f84\u4eba\u90fd\u53bb\u7eb9\u8eab\uff0c\u89c9\u5f97\u5f88\u9177\uff0c\u4e00\u65f6\u51b2\u52a8\uff0c\u4e5f\u52a0\u5165\u5230\u7eb9\u8eab\u9752\u5e74\u961f\u4f0d\u4e2d\uff0c\u56de\u5230\u5bb6\u4e2d\u88ab\u7236\u4eb2\u770b\u89c1\uff0c\u7236\u5b50\u4fe9\u6574\u5929\u56e0\u6b64\u4e8b\u4e89\u5435\uff0c\u5434\u5929\u9042\u5230\u95fd\u4e1c\u533b","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=896"};
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 () {
}
});
});
}