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=3146&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: 1743764878,
nonceStr: '2DGwNG8vuRcz3nhb',
signature: 'bfe003b85226d52dd54dbcda7c7c8adfbcd5cb15',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u5305\u5934\u533b\u5b66\u9662\u7b2c\u4e8c\u9644\u5c5e\u533b\u9662\uff1a\u201c\u674f\u6797\u4e66\u9999\u201d\u8bfb\u4e66\u4f1a","smalltext":" \u5305\u5934\u533b\u5b66\u9662\u7b2c\u4e8c\u9644\u5c5e\u533b\u9662\u201c\u674f\u6797\u4e66\u9999\u201d\u8bfb\u4e66\u4f1a\u662f\u7531\u9662\u56e2\u59d4\u57282016\u5e74\u521b\u65b0\u7684\u4e00\u9879\u804c\u5de5\u6587\u5316\u6d3b\u52a8\uff0c\u4ee5\u201c\u5206\u4eab\u9605\u8bfb\u3001\u4ea4\u6d41\u601d\u60f3\u3001\u542f\u8fea\u667a\u6167\u3001\u4f20\u64ad\u6b63\u80fd\u91cf\u201d\u4e3a\u5b97\u65e8\uff0c\u73b0\u5df2\u5f00\u5c55\u4e865\u671f\uff0c\u7b2c6\u671f\u5373\u5c06","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=11&id=3146"};
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 () {
}
});
});
}