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=159&classid=10&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: 1714691237,
nonceStr: 'Az0holPN1vh9cc2J',
signature: 'ce41abb25d9173da5fdc5aa0cb59c6a22ca5dc60',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/201905\/c095adcdc6999518fd5131a7549b615c.gif","title":"\u9999\u6e2f\u5927\u5b66\u6df1\u5733\u533b\u9662\uff1a\u5f00\u521b\u516c\u7acb\u533b\u9662\u6539\u9769\u7684\u5148\u6cb3","smalltext":"\u9999\u6e2f\u5927\u5b66\u6df1\u5733\u533b\u9662\u4f5c\u4e3a\u6df1\u6e2f\u643a\u624b\u5408\u4f5c\u7684\u516c\u7acb\u533b\u9662\u6539\u9769\u521b\u65b0\u8bd5\u70b9\uff0c\u4e8e2012\u5e747\u67081\u65e5\u5f00\u4e1a\u3002\u80a9\u8d1f\u7740\u6df1\u6e2f\u5408\u4f5c\u7684\u7279\u6b8a\u4f7f\u547d\uff0c\u533b\u9662\u4ee5\u201c\u5353\u8d8a\u521b\u65b0\uff0c\u4fe1\u4efb\u5173\u7231\uff1b\u4ee5\u4eba\u4e3a\u672c\uff0c\u7ee9\u6548\u95ee\u8d23\u201d\u7684\u7ba1\u6cbb\u7406\u5ff5\uff0c\u79ef\u6781\u627f\u8f7d\u65f6","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=10&id=159"};
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 () {
}
});
});
}