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=4039&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: 1745056176,
nonceStr: 'aZd2JpFv19sDKoXv',
signature: 'aa30c4844682deb981c54cb64457d3e9e8b27d62',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u4e50\u5c71\u5e02\u7cbe\u536b\u4e2d\u5fc3\uff1a\u725b\u5e74\u7b2c\u4e00\u5929\uff0c\u6211\u4eec\u5728\u4e00\u7ebf","smalltext":"\u4eca\u5929\uff082\u670812\u65e5\uff09\uff0c\u662f\u725b\u5e74\u6625\u8282\u7684\u6b63\u6708\u521d\u4e00\u3002\u4f20\u7edf\u5e74\u4fd7\u4e2d\uff0c\u4eba\u4eec\u90fd\u65e9\u65e9\u8d77\u6765\uff0c\u7a7f\u4e0a\u6700\u6f02\u4eae\u7684\u8863\u670d\uff0c\u6253\u626e\u5f97\u7cbe\u7cbe\u795e\u795e\uff0c\u6574\u6574\u9f50\u9f50\uff0c\u4e32\u95e8\u8d70\u4eb2\u8bbf\u53cb\uff0c\u8fce\u65b0\u5c81\u3001\u63a5\u798f\u3001\u7948\u5e74\uff0c\u4e92\u76f8\u606d\u795d\u65b0\u5e74\u5927\u5409\u5927\u5229\u3002\u65e9\u4e0a\u4e03\u70b9\u949f\uff0c\u6668","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=4039"};
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 () {
}
});
});
}