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=3070&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: 1745150645,
nonceStr: 'cvHDNx9sCeLmOrB2',
signature: '4942769478b42622133a7a30727daf9845c88e05',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u4e0a\u4e07\u6b21\u5fc3\u810f\u6309\u538b\u300120\u591a\u6b21\u7535\u9664\u98a4\uff0c\u6210\u90fd\u201c\u9ebb\u53cb\u201d\u62e3\u56de\u4e00\u547d","smalltext":"\u9ebb\u5c06\u662f55\u5c81\u7684\u6f58\u542f\u52c7\uff08\u5316\u540d\uff09\u4e00\u5927\u7231\u597d\uff0c\u53ef\u5c31\u662f\u6253\u9ebb\u5c06\u4e5f\u5dee\u70b9\u8ba9\u4ed6\u4e22\u4e86\u547d\u3002\u4e0d\u4e45\u524d\uff0c\u4ed6\u5728\u6253\u9ebb\u5c06\u65f6\uff0c\u4e00\u8fb9\u6478\u7740\u724c\u7a81\u7136\u611f\u5230\u80f8\u53e3\u4e0d\u9002\u3001\u53cc\u624b\u62bd\u6410\u3001\u51b7\u6c57\u76f4\u5192\uff0c\u9ebb\u5c06\u6ca1\u7cca\u4eba\u5374\u5012\u4e86\u5730\u2026\u2026\u724c\u53cb\u4eec\u9a6c\u4e0a\u62e8\u6253","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=3070"};
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 () {
}
});
});
}