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=2736&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: 1714693764,
nonceStr: 'WIXeVnA4gOORTAma',
signature: '12cd219230dcac572a6ca89bb27e6e6d313358ec',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u767d\u94f6\u5e02\u7b2c\u4e00\u4eba\u6c11\u533b\u9662\uff1a\u65b0\u51a0\u80ba\u708e\u6297\u75ab\u5b9e\u8df5\u4e2d\u6df1\u5165\u7406\u89e3\u3001\u4f53\u4f1a\u515a\u7684\u5341\u4e5d\u5927\u7cbe\u795e\u7684\u7cbe\u9ad3","smalltext":" \u6211\u662f\u4e00\u540d\u57fa\u5c42\u533b\u52a1\u5de5\u4f5c\u8005\uff08\u7518\u8083\u7701\u767d\u94f6\u5e02\u7b2c\u4e00\u4eba\u6c11\u533b\u9662\u773c\u79d1\u4e3b\u4efb\u533b\u5e08\uff09\uff0c\u6c11\u4e3b\u515a\u6d3e\u4eba\u58eb\uff08\u4e5d\u4e09\u5b66\u793e\u767d\u94f6\u5e02\u59d4\u4f1a\u4e00\u652f\u793e\u4e3b\u59d4\uff09\uff0c\u653f\u534f\u59d4\u5458\uff08\u767d\u94f6\u5e02\u7b2c\u4e03\u5c4a\u653f\u534f\u59d4\u5458\uff09\u3002 \u5728\u8fd9\u6b21\u65b0\u51a0\u80ba\u708e\u6297\u75ab\u5b9e\u8df5\u4e2d","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=2736"};
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 () {
}
});
});
}