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=1011&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: 1714904076,
nonceStr: 'lWeOwLxguIYSgQJn',
signature: 'bbd5889404bce39c29d66a0bc2ddf44f092d225a',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u6ca7\u5dde\u5e02\u4eba\u6c11\u533b\u9662\uff1a\u4e09\u5c81\u5e7c\u7ae5\u6cf3\u6c60\u6eba\u6c34\uff0c\u5979\u5fc3\u80ba\u590d\u82cf15\u5206\u949f\u2026\u2026","smalltext":"8\u67082\u65e5\u665a\uff0c\u5728\u732e\u53bf\u6c34\u4e0a\u4e50\u56ed\u53d1\u751f\u60ca\u9669\u4e00\u5e55!\u4e00\u540d\u4e09\u5c81\u5973\u7ae5\u5728\u6cf3\u6c60\u6eba\u6c34\uff0c\u53d1\u73b0\u65f6\u5df2\u65e0\u751f\u547d\u4f53\u5f81\uff0c\u6ca7\u5dde\u5e02\u4eba\u6c11\u533b\u9662\u795e\u7ecf\u5185\u79d1\u4e09\u533a\u62a4\u58eb\u9a6c\u7f8e\u6668\u542c\u5230\u60ca\u547c\uff0c\u8d76\u5230\u73b0\u573a\u8fdb\u884c\u62a2\u6551\uff0c\u5fc3\u80ba\u590d\u82cf15\u5206\u949f\uff0c\u7ec8\u5c06\u5b69\u5b50\u62c9","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=1011"};
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 () {
}
});
});
}