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=2660&classid=13&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: 1716044115,
nonceStr: 'WGE19b0NFdLTszNF',
signature: '5d953d8d5cf50ede362bf8015a1cb499c60e590a',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u82cf\u5dde\u5927\u5b66\u9644\u5c5e\u7b2c\u4e00\u533b\u9662\u5ba3\u4f20\u56e2\u961f\uff1a\u5b88\u6b63\u521b\u65b0\uff0c\u878d\u5408\u53d1\u5c55","smalltext":"2019\u5e74\uff0c\u82cf\u5927\u9644\u4e00\u9662\u5ba3\u4f20\u56e2\u961f\u59cb\u7ec8\u7d27\u6263\u4e3b\u9898\u4e3b\u7ebf\uff0c\u7d27\u5bc6\u7ed3\u5408\u7701\u3001\u5e02\u536b\u751f\u5065\u5eb7\u91cd\u70b9\u5de5\u4f5c\uff0c\u4ee5\u201c\u56f4\u7ed5\u4e2d\u5fc3\u3001\u670d\u52a1\u5927\u5c40\uff0c\u7a81\u51fa\u91cd\u70b9\u3001\u5f18\u626c\u5178\u578b\uff0c\u5f3a\u5316\u6548\u679c\u3001\u521b\u5efa\u54c1\u724c\u201d\u4e3a\u5de5\u4f5c\u601d\u8def\uff0c\u575a\u6301\u5b88\u6b63\u521b\u65b0\uff0c\u878d\u5408\u53d1\u5c55","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=13&id=2660"};
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 () {
}
});
});
}