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=157&classid=13&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: 1743925736,
nonceStr: 'wKJgKid7dYWbVgYu',
signature: '2db3fefcf3d2da51c92ea51a9e7bd878dff3f00e',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/201905\/e51060cc609616b4c928f419203bedf6.jpg","title":"\u897f\u5b89\u4ea4\u901a\u5927\u5b66\u7b2c\u4e00\u9644\u5c5e\u533b\u9662\uff1a\u4f20\u627f\u533b\u9662\u6587\u5316\u5185\u6db5 \u6811\u7acb\u4eba\u6587\u670d\u52a1\u7406\u5ff5","smalltext":"\u897f\u5b89\u4ea4\u901a\u5927\u5b66\u7b2c\u4e00\u9644\u5c5e\u533b\u9662\u7684\u53d1\u5c55\u53f2\u4e0e\u56fd\u5bb6\u7684\u53d1\u5c55\u3001\u6c11\u65cf\u7684\u547d\u8fd0\u4e00\u8109\u76f8\u627f","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=13&id=157"};
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 () {
}
});
});
}