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=4972&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: 1743703343,
nonceStr: 'fI4o1ivc0pMScjwO',
signature: '066c9e6b81202805ec88421eddb97e8078e6bf29',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u6df1\u5733\u5e02\u9f99\u5c97\u533a\u5987\u5e7c\u4fdd\u5065\u9662-\u65b0\u751f\u513f\u79d1\u4e00\u533a","smalltext":"\u4f4f\u8fdb\u9f99\u5c97\u533a\u5987\u5e7c\u4fdd\u5065\u9662\u65b0\u751f\u513f\u79d1\u4e00\u533a\u7684\u201c\u5c0f\u4e0d\u70b9\u201d\uff0c\u6709\u201c\u8feb\u4e0d\u53ca\u5f85\u201d\u6765\u5230\u4e16\u754c\u7684\u201c\u65e9\u4ea7\u513f\u201d\uff0c\u4e5f\u6709\u51fa\u73b0\u9ec4\u75b8\u7684\u201c\u5c0f\u9ec4\u4eba\u201d\uff0c\u8fd8\u6709\u5404\u79cd\u611f\u67d3\u91cd\u75be\u7684\u201c\u5c0f\u60a3\u513f\u201d\u3002\u548c\u522b\u7684\u79d1\u5ba4\u4e0d\u4e00\u6837\uff0c\u65b0\u751f\u513f\u79d1\u7684\u62a4","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=10&id=4972"};
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 () {
}
});
});
}