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=4724&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: 1716092249,
nonceStr: 'DmEAeh2DLtwp5D3B',
signature: '7114e77b39666b017218a48be4cc9dad9e46417e',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u6e56\u5317\u7701\u4e2d\u5c71\u533b\u9662\uff1a\u7528\u7231\u63a5\u529b\uff0c\u7231\u5fc3\u76f8\u968f","smalltext":"\u201c\u8fb9\u7239\u7239\uff0c\u5403\u996d\u4e86\u5417\uff1f\u4eca\u5929\u611f\u89c9\u600e\u4e48\u6837\uff1f\u201d\u201c\u8001\u8fb9\u540c\u5fd7\u6211\u4e00\u4f1a\u7ed9\u60a8\u6362\u5e8a\u5355\uff0c\u60a8\u7b49\u6211\u4e00\u4e0b\u554a\u3002\u201d\u201c\u8fb9\u7237\u7237\uff0c\u8fd8\u6709\u6ca1\u6709\u70ed\u6c34\uff1f\u6211\u7ed9\u60a8\u6362\u4e00\u58f6\u65b0\u7684\u5427\u3002\u201d\u4f4f\u5728\u6e56\u5317\u7701\u7b2c\u4e09\u4eba\u6c11\u533b\u9662\uff08\u6e56\u5317\u7701\u4e2d\u5c71\u533b\u9662\uff09\u5173\u8282\u521b\u4f24","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=4724"};
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 () {
}
});
});
}