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=218&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: 1746134314,
nonceStr: '4FftDBISuNa96bZV',
signature: '3cb55d4f49bb47d429c21e8b7c96ff8bc0f871d4',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/201905\/4f02bd9424cbd8fcf75e001ee45176b5.jpg","title":"\u4ee5\u515a\u56e2\u6587\u5316\u827a\u672f\u5efa\u8bbe\u5851\u9020\u533b\u9662\u4eba\u6587\u54c1\u724c","smalltext":"\u5065\u5eb7\u4e2d\u56fd2030\u5e74\u7684\u89c4\u5212\u7eb2\u8981\u91cc\u9762\u63d0\u51fa\u4e86\u4e00\u4e2a\u6218\u7565\u4e3b\u9898\uff0c\u90a3\u5c31\u662f\u7acb\u8db3\u5168\u4eba\u7fa4\u548c\u5168\u751f\u547d\u5468\u671f\u4e24\u4e2a\u7740\u529b\u70b9\uff0c\u5b9e\u73b0\u4ece\u80ce\u513f\u5230\u751f\u547d\u7ec8\u70b9\u7684\u5168\u7a0b\u5065\u5eb7\u670d\u52a1\u548c\u5065\u5eb7\u4fdd\u969c\uff0c\u5168\u9762\u7ef4\u62a4\u4eba\u6c11\u5065\u5eb7\uff0c\u8fd9\u662f\u6211\u4eec\u7684\u6218\u7565\u4e3b","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=4&id=218"};
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 () {
}
});
});
}