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=1456&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: 1714888631,
nonceStr: 'gelKEfEwubFyGf8g',
signature: '1512513d0b96421f959d1b969aa8e00904853ad1',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u8d35\u9633\u5e02\u7b2c\u4e8c\u4eba\u6c11\u533b\u9662:2019\u5e74\u4e2d\u56fd\u6700\u7f8e\u594b\u6597\u8005\u5218\u82b3\u7684\u5e26\u6bcd\u6c42\u533b\u5386\u7a0b","smalltext":"\u5e08\u8005\uff0c\u4e09\u5c3a\u8bb2\u53f0\u80b2\u4eba\u4e07\u5343\uff1b\u533b\u8005\uff0c\u65e0\u5f71\u706f\u4e0b\u6551\u4eba\u65e0\u6570\u3002\u6559\u5e08\u4e0e\u533b\u5e08\uff0c\u4e00\u4e2a\u5728\u5b66\u6821\uff0c\u53e6\u4e00\u4e2a\u5728\u533b\u9662\uff0c\u4f46\u90fd\u662f\u5171\u540c\u5c06\u4eba\u7684\u8eab\u5fc3\u53d1\u5c55\u548c\u751f\u547d\u673a\u4f53\u7684\u5065\u5eb7\u8fd0\u884c\u4f5c\u4e3a\u6bcf\u5929\u7684\u5de5\u4f5c\u5185\u5bb9\u3002 \u4ed6\u4eec\uff0c\u5bf9\u4eba\u5173\u6000\u6148\u7231\uff0c\u5bf9\u751f","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=1456"};
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 () {
}
});
});
}