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=3821&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: 1745108650,
nonceStr: 'ZbUy3vwhSjTxM6h5',
signature: '416c793fd1ccf901749d3d9e28d97a1b58f3bc47',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u56db\u5ddd\u7701\u79d1\u5b66\u57ce\u533b\u9662\uff1a\u79fb\u52a8\u7684\u201c\u62a2\u6551\u201d \u6696\u5fc3","smalltext":"\u201c\u4e00\u4e2a\u9ad8\u4e3e\u8f93\u6db2\u75c5\u74f6\uff0c\u4e00\u8f86\u5feb\u901f\u884c\u9a76\u7684\u8f6c\u8fd0\u8f66\uff0c\u8f66\u4e0a\u4e00\u4e2a\u8dea\u7740\u7684\u533b\u751f\uff0c\u6b63\u5728\u4e0d\u505c\u5730\u4e3a\u75c5\u4eba\u505a\u5fc3\u80ba\u590d\u82cf\u2026\u2026\u201d\u8fd9\u4e2a\u753b\u9762\u6211\u4eec\u66fe\u5728\u7535\u89c6\u3001\u7535\u5f71\u4e2d\u770b\u89c1\u8fc7\uff0c\u6216\u8005\u5728\u542c\u522b\u4eba\u8bf4\u8fc7\u3002\u4f46\u5728\u4eca\u5929\uff0c\u8fd9\u4ef6\u4e8b\u5374\u771f\u771f","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=3821"};
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 () {
}
});
});
}