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=4978&classid=10&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: 1743632888,
nonceStr: 'VghqRINNugHHUXwM',
signature: 'a1896c24bccb18d296ef4b0b45ef41252f6a2d71',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u9547\u6c5f\u5e02\u7b2c\u4e00\u4eba\u6c11\u533b\u9662-\u201c\u7c89\u7ea2\u4e1d\u5e26\u201d\u5173\u7231\u4e73\u623f\u884c\u52a8\u56e2\u961f","smalltext":"\u4ee5\u9547\u6c5f\u5e02\u7b2c\u4e00\u4eba\u6c11\u533b\u9662\u4e73\u623f\u5916\u79d1\u4e3a\u6838\u5fc3\u7ec4\u5efa\u7684\u201c\u7c89\u7ea2\u4e1d\u5e26\u201d\u5173\u7231\u4e73\u623f\u884c\u52a8\uff0c\u5c31\u662f\u9488\u5bf9\u8bca\u7597\u8fc7\u7a0b\u4e2d\u53d1\u73b0\u7684\uff0c\u7fa4\u4f17\u5bf9\u4e8e\u4e73\u623f\u75be\u75c5\u65e9\u53d1\u73b0\u65e9\u8bca\u65ad\u65e9\u6cbb\u7597\u7684\u8feb\u5207\u9700\u6c42\u800c\u5f00\u5c55\u7684\u3002\u201c\u7c89\u7ea2\u4e1d\u5e26\u201d\u7528\u5fc3\u5475","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=10&id=4978"};
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 () {
}
});
});
}