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=2258&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: 1745165273,
nonceStr: 'ujwlQR15vTRRNP6T',
signature: 'de87c5c891d14b9ce766cf58b19179199617c255',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/202003\/9dcef04ebf263acc96c02efca17a0664.jpg","title":"\u666e\u5b9a\u53bf\u4eba\u6c11\u533b\u9662\uff1a\u4eba\u5927\u4ee3\u8868\u89c1\u201c\u75ab\u201d\u52c7\u4e3a\uff0c\u6625\u6696\u82b1\u5f00\u6307\u65e5\u53ef\u671f","smalltext":"\u6211\u4eec\u5927\u5bb6\u7684\u4e07\u4f17\u4e00\u5fc3\uff0c\u51b0\u96ea\u6d88\u878d\u7684\u6625\u5929\u4e0d\u4f1a\u592a\u8fdc\uff01\u6625\u6696\u82b1\u5f00\u6307\u65e5\u53ef\u671f\uff01","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=2258"};
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 () {
}
});
});
}