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=1886&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: 1714650531,
nonceStr: 'kyMkcqIzrvvccG6d',
signature: 'a248efe4a39bca398204636845185275c240ad5a',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/202002\/01b35c36cfe1e48dede27a353ed00e50.jpg","title":"\u6d59\u6c5f\u5927\u5b66\u9644\u5c5e\u7b2c\u4e00\u533b\u9662\uff1a96\u5c81\u65b0\u51a0\u80ba\u708e\u60a3\u8005\u6cbb\u6108\u51fa\u9662\uff0c\u6216\u5168\u56fd\u6700\u9ad8\u9f84","smalltext":"\u6628\u5929\u4e0b\u5348\uff0c\u4e00\u4f4d96\u5c81\u9ad8\u9f84\u7684\u65b0\u51a0\u80ba\u708e\u60a3\u8005\u4ece\u6d59\u5927\u4e00\u9662\u4e4b\u6c5f\u9662\u533a\u6cbb\u6108\u51fa\u9662\uff0c\u56de\u5230\u5f53\u5730\u7ee7\u7eed\u63a5\u53d7\u9694\u79bb\u3001\u5eb7\u590d\uff0c\u5979\u4e5f\u662f\u76ee\u524d\u6d59\u6c5f\u6700\u9ad8\u9f84\u7684\u65b0\u51a0\u80ba\u708e\u60a3\u8005\u3002\u8fd9\u4f4d\u60a3\u8005\u4ece\u5f53\u5730\u533b\u9662\u8f6c\u8fd0\u81f3\u6d59\u5927\u4e00\u9662\u4e4b\u6c5f\u9662","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=1886"};
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 () {
}
});
});
}