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=820&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: 1746983177,
nonceStr: 'VKEyNOZEoOvSiE4M',
signature: '66684967aa29129f71754554903bf2f647b135cf',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/201907\/a613bcd43c541922b50073f2b0a52e81.jpg","title":"\u80cc\u6c34\u8def\u4e0a\uff0c\u5f5d\u65cf\u5b69\u5b50\u8ffd\u7740\u4ed6\u95ee\uff1a\u53d4\u53d4\uff0c\u4ec0\u4e48\u662f\u4eba\u751f\uff1f","smalltext":"7\u670813\u65e5\uff0c\u5468\u516d\u4e0b\u5348\u4e00\u70b9\u8fc7\uff0c\u5728\u51c9\u5c71\u5dde\u91d1\u9633\u53bf\u6728\u5e9c\u4e61\u6302\u804c\u5e2e\u6276\u7684\u533b\u751f\u82cf\u5fd7\u5728\u670b\u53cb\u5708\u53d1\u4e86\u4e00\u6bb5\u89c6\u9891\uff0c\u4ed6\u5199\u9053\uff1a\u4e00\u8def\u8d70\u4e00\u8def\u642c\u77f3\u5934\uff0c\u63a5\u8fd1\u56db\u4e2a\u5c0f\u65f6\u7ec8\u4e8e\u5230\u4e86\uff0c\u9a6c\u4e0a\u5f00\u59cb\u5de5\u4f5c\u4e86\u3002\u89c6\u9891\u4e2d\uff0c\u4e00\u5757\u5de8\u5927\u7684\u82b1\u5c97\u5ca9","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=820"};
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 () {
}
});
});
}