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=123&classid=11&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: 1714768891,
nonceStr: 'Wv7mg5eDUERg7n7O',
signature: 'a76f90667ce404267716d49414b4c3344222204c',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/201905\/61f2590dbd5475d85b4e11cc1e7d7ad3.jpg","title":"\u300a\u751f\u95e8\u300b\uff1a\u8bb0\u5f55\u751f\u547d\u6545\u4e8b \u8be0\u91ca\u533b\u8005\u4ec1\u5fc3","smalltext":"\u4e00\u90e8\u62cd\u6444\u4e8e\u6b66\u6c49\u5927\u5b66\u4e2d\u5357\u533b\u9662\u7684\u5267\u96c6\u5f0f\u7eaa\u5f55\u7247\u300a\u751f\u95e8\u300b\u5386\u65f6700\u5929\u62cd\u6444\uff0c\u5b8c\u6574\u8bb0\u5f55\u4e8640\u591a\u4e2a\u5bb6\u5ead\u8fce\u63a5\u65b0\u751f\u547d\u7684\u6545\u4e8b\u3002\u4ece\u533b\u9662\u5230\u5bb6\u5ead\uff0c\u4ece\u57ce\u5e02\u5230\u519c\u6751\uff0c\u5728\u751f\u80b2\u7684\u5927\u4e3b\u9898\u4e0b\uff0c\u6784\u6210\u5f53\u4ee3\u4e2d\u56fd\u793e\u4f1a\u73af\u5883","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=11&id=123"};
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 () {
}
});
});
}