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=510&classid=11&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: 1746210826,
nonceStr: 'IRJWoEw4S2sTk54y',
signature: '753aff5c8aa82a92db7733ff5a94fe6d85acd659',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u5e7f\u897f\u533b\u79d1\u5927\u5b66\u7b2c\u4e8c\u9644\u5c5e\u533b\u9662\uff1a\u201c\u5341\u5e74\u4e4b\u75d2\u201d\uff01\u9047\u4e0a\u4e16\u754c\u6027\u96be\u9898\uff0c\u6211\u4eec\u5fc3\u8fde\u5fc3","smalltext":"\u53c8\u662f\u4e00\u5e74\u5ea6\u7684\u201c\u516d\u4e00\u513f\u7ae5\u8282\u201d\uff0c\u5f53\u5b69\u5b50\u4eec\u5728\u6821\u56ed\u91cc\u3001\u5728\u8001\u5e08\u3001\u5728\u7236\u6bcd\u7684\u966a\u4f34\u4e0b\u8fc7\u7740\u5feb\u4e50\u516d\u4e00\uff0c\u7136\u800c\u5bf9\u5c0f\u91d1\u5b8f\u6765\u8bf4\uff0c\u5df2\u7ecf\u4e0d\u77e5\u9053\u4ec0\u4e48\u662f\u513f\u7ae5\u8282\u4e86\u3002\u8eab\u60a3\u7f55\u89c1\u201c\u7591\u96be\u6742\u75c7\u201d\u7684\u4ed62018\u5e74\u7684\u201c\u516d\u4e00\u201d","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=11&id=510"};
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 () {
}
});
});
}