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=706&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: 1738774564,
nonceStr: 'NMmi5DXqwfOoeQq7',
signature: 'a9ec7f76f8cff2d199f6f8f2391e0a3c9b0471d5',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/201907\/4702fb092d514226dcaec62a86d3b541.png","title":"\u6566\u5316\u5e02\u4e2d\u533b\u9662\uff1a\u4e3a\u60a3\u8005\u5efa\u4e00\u4e2a\u201c\u533b\u60a3\u5171\u8bfb\u89d2\u201d","smalltext":"\u533b\u9662\u4eba\u6587\u5efa\u8bbe\u542c\u8d77\u6765\u9ad8\u5927\u4e0a\u7684\u6837\u5b50\uff0c\u5176\u5b9e\u53ea\u8981\u4ece\u7ec6\u8282\u505a\u8d77\uff0c\u4ece\u6ee1\u8db3\u60a3\u8005\u9700\u6c42\u505a\u8d77\uff0c\u60a3\u8005\u7684\u4fe1\u8d56\u81ea\u7136\u5c31\u6765\u4e86","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=4&id=706"};
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 () {
}
});
});
}