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=704&classid=4&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: 1738764170,
nonceStr: 'afwyp2j7XLjSfCPs',
signature: '56c2f22982baefc08b8c54095ba12ada6496e037',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/201907\/f722203d719ce172399c24aab2d4bab3.jpg","title":"\u6566\u5316\u5e02\u4e2d\u533b\u9662\uff1a\u533b\u60a3\u5173\u7cfb\u548c\u8c10\u5176\u5b9e\u5f88\u7b80\u5355","smalltext":"\u592b\u59bb\u4e8c\u4eba\u505a\u597d\u5145\u8db3\u51c6\u5907\uff0c\u75db\u4e0b\u51b3\u5fc3\u4e0d\u8981\u7684\u201c\u5c0f\u5929\u4f7f\u201d\uff0c\u5c45\u7136\u88ab\u4e2d\u533b\u9662\u7684\u5927\u592b\u7ed9\u7559\u4e0b\u4e86\uff0c15\u4e2a\u6708\u540e\u6536\u5230\u60a3\u8005\u9001\u6765\u7684\u9526\u65d7","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=4&id=704"};
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 () {
}
});
});
}