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=2692&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: 1716011042,
nonceStr: 'jzF18wkr54Hzx0zf',
signature: '18b657cf6d08304e923ca64baa5a76434740ce65',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u5185\u8499\u53e4\u81ea\u6cbb\u533a\u5987\u5e7c\u4fdd\u5065\u9662\uff1a\u6625\u6696\u82b1\u5f00\u65e5 \u82f1\u96c4\u5f52\u4e61\u65f6","smalltext":"\u201c\u594b\u529b\u6297\u75ab\uff0c\u820d\u751f\u5fd8\u6b7b\u3001\u5144\u5f1f\u60c5\u6df1\uff01\u2026\u2026\u5199\u5728\u5185\u8499\u53e4\u81ea\u6cbb\u533a\u5987\u5e7c\u4fdd\u5065\u9662\u7684\u9662\u65d7\u4e0a\u7684\u8fd9\u4e00\u6bb5\u6bb5\u795d\u798f\u662f\u6b66\u6c49\u534f\u548c\u533b\u9662\u4e66\u8bb0\u7b49\u674e\u4e91\u9e4f\u5728\u534f\u548c\u533b\u9662\u7684\u201c\u6218\u53cb\u201d\u4eec\u30022\u67084\u65e5\u51fa\u53d1\u65f6\uff0c\u674e\u4e91\u9e4f\u7279\u610f\u548c\u533b\u9662\u8981","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=2692"};
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 () {
}
});
});
}