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=4762&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: 1716073334,
nonceStr: 'dN6Hz200mWosxLZV',
signature: '137878992840ed797840404fba7b432407c1e6ff',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u6f2f\u6cb3\u5e02\u4e2d\u5fc3\u533b\u9662-\u7231\u7684\u5947\u8ff9","smalltext":"\u201c\u51e1\u662f\u4eba\uff0c\u7686\u9700\u7231\uff0c\u5929\u540c\u8986\uff0c\u5730\u540c\u8f7d\u201d\uff0c\u65e9\u4e0a\u966a\u513f\u5b50\u8bfb\u5b8c\u300a\u5f1f\u5b50\u89c4\u300b\uff0c\u5e26\u7740\u6ee1\u6ee1\u7684\u80fd\u91cf\u5f00\u542f\u4e00\u5929\u7684\u5de5\u4f5c\u3002\t\t\t\t\t\u5230\u79d1\u5ba4\u63a5\u89e6\u7684\u7b2c\u4e00\u4f4d\u60a3\u8005\u5c31\u662f\u674e\u5976\u5976\uff0c4\u67088\u65e5\u5979\u662f\u4ee5\u201c\u51a0\u5fc3\u75c5\uff0c\u4e0d\u7a33\u5b9a\u578b\u5fc3\u7ede\u75db\uff0c\u9ad8\u8840\u538b3","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=11&id=4762"};
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 () {
}
});
});
}