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=1727&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: 1747169970,
nonceStr: 'NX81BDpb4PGwebxo',
signature: 'db35a26526229779853d2484c1d0b6adc8074f79',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u8d35\u9633\u5e02\u7b2c\u4e8c\u4eba\u6c11\u533b\u9662\uff1a\u533b\u9662\u6536\u5230\u4e00\u5f20\u6696\u5fc3\u7684\u5c0f\u7eb8\u6761\u2026\u2026","smalltext":" 2020\u5e74\u7684\u5f00\u5e74\u6709\u4e9b\u7279\u6b8a\uff0c\u56e0\u4e3a\u65b0\u578b\u51a0\u72b6\u75c5\u6bd2\u7684\u7206\u53d1\uff0c\u5e02\u4e8c\u533b\uff08\u91d1\u9633\u533b\u9662\uff09\u7684\u90e8\u5206\u767d\u8863\u5929\u4f7f\u4eec\u53d8\u8eab\u94e0\u7532\u52c7\u58eb\u7ec4\u6210\u63f4\u9102\u56e2\u961f\u9006\u884c\u800c\u4e0a\uff0c\u533b\u9662\u7684\u53d1\u70ed\u95e8\u8bca\u3001\u9884\u68c0\u5206\u8bca\u3001\u6025\u8bca\u79d1\u3001\u547c\u5438\u5185\u79d1\u3001\u513f\u79d1\u7b49","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=1727"};
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 () {
}
});
});
}