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=2472&classid=12&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: 1743764706,
nonceStr: 'tVsEE7769wKSu1TW',
signature: '6391918b757fd30d87360c799e0836950355cb68',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u200b\u82cf\u5dde\u5927\u5b66\u9644\u5c5e\u7b2c\u4e00\u533b\u9662\u8303\u5d58:\u8299\u84c9\u591c\u6708\u5f00\u5929\u955c","smalltext":"\u8303\u5d58\uff0c\u4e2d\u5171\u515a\u5458\uff0c\u82cf\u5dde\u5927\u5b66\u9644\u5c5e\u7b2c\u4e00\u533b\u9662\u515a\u59d4\u529e\u516c\u5ba4\u5e38\u52a1\u526f\u4e3b\u4efb\uff08\u4e3b\u6301\u5de5\u4f5c\uff09\uff0c\u7855\u58eb\uff0c\u526f\u7814\u7a76\u5458\u3002\u4e2d\u56fd\u533b\u9662\u534f\u4f1a\u6587\u5316\u4e13\u4e1a\u59d4\u5458\u4f1a\u59d4\u5458\u3001\u79d8\u4e66\uff1b\u4e2d\u56fd\u533b\u4fc3\u4f1a\u57ce\u5e02\u533b\u9662\u5206\u4f1a\u59d4\u5458\uff1b\u4e2d\u56fd\u81ea\u5a92\u4f53\u8054\u76df\u6c5f\u82cf\u5206\u76df\u7406","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=12&id=2472"};
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 () {
}
});
});
}