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=2897&classid=12&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: 1714984409,
nonceStr: 's1qE9GgLnvuAXXVt',
signature: '8ca30ff46861a10d32c6b2217cf8200066a0bf33',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u4e2d\u5c71\u5927\u5b66\u9644\u5c5e\u7b2c\u4e03\u533b\u9662\u4f55\u88d5\u9686\uff1a\u4ece\u201c\u75c5\u6709\u6240\u533b\u201d\u5230\u201c\u75c5\u6709\u826f\u533b\u201d","smalltext":"\u4f55\u88d5\u9686\uff0c\u4e2d\u5c71\u5927\u5b66\u9644\u5c5e\u7b2c\u4e03\u533b\u9662\u521b\u9662\u9662\u957f\uff0c\u6d88\u5316\u533b\u5b66\u4e2d\u5fc3\u5b66\u79d1\u5e26\u5934\u4eba\u3001\u9996\u5e2d\u79d1\u5b66\u5bb6\uff1b\u4e2d\u5c71\u5927\u5b66\u9644\u5c5e\u7b2c\u4e00\u533b\u9662\u666e\u901a\u5916\u79d1(\u56fd\u5bb6\u91cd\u70b9\u5b66\u79d1\u3001\u56fd\u5bb6\u4e34\u5e8a\u91cd\u70b9\u4e13\u79d1)\u5b66\u79d1\u5e26\u5934\u4eba\u3001\u4e3b\u4efb\uff0c\u80c3\u80a0\u5916\u79d1\u4e2d\u5fc3\u4e3b\u4efb","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=12&id=2897"};
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 () {
}
});
});
}