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=3621&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: 1714777939,
nonceStr: 'ocuuEVoQdFBd0enR',
signature: 'a683491bfc1a59312f529de2726a9bc2a2fa531f',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u5185\u8499\u53e4\u81ea\u6cbb\u533a\u5987\u5e7c\u4fdd\u5065\u9662\uff1a\u7528\u6e29\u6696\u70b9\u4eae\u4e00\u76cf\u76cf\u201c\u751f\u547d\u4e4b\u706f\u201d","smalltext":" \u201c\u867d\u7136\u6210\u4e3a\u513f\u79d1\u533b\u751f\u662f\u5076\u7136\uff0c\u4f46\u662f\u4ece\u4e8b\u4e86\u8fd9\u4e00\u4e13\u4e1a\u540e\uff0c\u6211\u8d8a\u6765\u8d8a\u559c\u6b22\uff0c\u5e86\u5e78\u5f53\u521d\u7684\u9009\u62e9\u662f\u5bf9\u7684\u3002\u513f\u79d1\u533b\u751f\u8fd9\u4e2a\u804c\u4e1a\u662f\u5149\u8363\u800c\u795e\u5723\u7684\uff0c\u56e0\u4e3a\u5b83\u62a4\u4f51\u7684\u662f\u7956\u56fd\u7684\u672a\u6765\uff01\u201d\u8fd9\u662f\u513f\u79d1\u533b\u751f\u738b\u80b2\u6c11\u7684\u533b\u8005","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=3621"};
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 () {
}
});
});
}