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=3085&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: 1747101117,
nonceStr: 'Tb65jNfFXnMWbGaC',
signature: '4bf609478fe0e8de78e82e64dd82818fd6385022',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u6566\u5316\u5e02\u533b\u9662\uff1a\u533b\u751f\u5728\u9694\u79bb\u70b9\u7684\u201c\u559c\u6012\u54c0\u4e50\u201d","smalltext":"4\u67084\u65e5\u90a3\u5929\uff0c\u770b\u7740\u7535\u89c6\u91cc\u64ad\u653e\u7684\u201c\u81f4\u656c\u6297\u51fb\u75ab\u60c5\u7684\u6700\u7f8e\u9006\u884c\u8005\u201d\u7684\u65b0\u95fb\uff0c\u542c\u774010\u70b9\u949f\u51c6\u65f6\u54cd\u8d77\u7684\u9e23\u7b1b\u58f0\uff0c\u8111\u6d77\u4e2d\u9891\u9891\u51fa\u73b0\u7f51\u7edc\u7535\u89c6\u4e2d\u64ad\u51fa\u7684\u79cd\u79cd\u65b0\u95fb\u548c\u8d8a\u6765\u8d8a\u5c11\u7684\u786e\u8bca\u4eba\u6570\uff0c\u60f3\u5230\u65e0\u6570\u8fdc\u65b9\u7684\u540c","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=3085"};
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 () {
}
});
});
}