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=3841&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: 1745109104,
nonceStr: 'HtaNKw1lO25BMuPP',
signature: 'ee7efacebaf9863dd8c5a68a560ff2cc2771765a',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u56db\u5ddd\u7701\u79d1\u5b66\u57ce\u533b\u9662\uff1a\u5bf9\u4e8e\u751f\u547d \u6211\u4eec\u51b3\u4e0d\u653e\u5f03","smalltext":"\u201c\u5b63\u4e3b\u4efb\uff0c\u8c22\u8c22\u60a8\uff0c\u8c22\u8c22\u60a8\u4eec\u56e2\u961f\uff0c\u8981\u4e0d\u662f\u60a8\u4eec\u53ca\u65f6\u4f38\u51fa\u5929\u4f7f\u4e4b\u624b\uff0c\u6211\u7684\u7236\u4eb2\u53ef\u80fd\u2026\u2026\u201d\u8fd1\u65e5\uff0c\u5728\u56db\u5ddd\u7701\u79d1\u5b66\u57ce\u533b\u9662\u8033\u9f3b\u54bd\u5589\u79d1\u4f4f\u9662\u75c5\u533a\uff0c\u6bcf\u6b21\u67e5\u623f\u65f6\uff0c\u5c48\u5973\u58eb\u770b\u7740\u7236\u4eb2\u8138\u8272\u65e5\u76ca\u7ea2\u6da6\uff0c\u7cbe\u795e\u4e5f\u4e00\u5929\u5929\u597d","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=3841"};
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 () {
}
});
});
}