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=1830&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: 1714876105,
nonceStr: 'oawbFR3nKR7KzjXr',
signature: '79b7cbde7ee84628112870fa8dc9df526544e62c',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/202002\/25458e821f2f8bc97b4c69467815d7ba.jpg","title":"\u4fe1\u9633\u5e02\u4e2d\u5fc3\u533b\u9662\uff1a\u8fd9\u4e00\u7897\u997a\u5b50\uff0c \u5b64\u4f36\u4f36\u7684\u8fc7\u4e86\u4e2a\u8de8\u5e74\u591c","smalltext":" \u5728\u547c\u5438\u5185\u79d1\u62a4\u58eb\u957f\u7a0b\u8273\u5bb6\u91cc\u7684\u9910\u684c\u4e0a\uff0c\u653e\u7740\u4e00\u7897\u997a\u5b50\u3002\u8fd9\u7897\u997a\u5b50\u5931\u53bb\u4e86\u521a\u51fa\u9505\u65f6\u7684\u9971\u6ee1\uff0c\u76b1\u76b1\u5df4\u5df4\u7684\u7c98\u8fde\u5728\u4e00\u8d77\uff0c\u989c\u8272\u4e5f\u53d8\u5f97\u6697\u9ec4\u3002\u4e00\u770b\u5c31\u77e5\u9053\u8fd9\u662f\u4e00\u7897\u653e\u4e86\u5f88\u4e45\u7684\u997a\u5b50\u3002\u6709\u591a\u4e45\uff1f\u2014","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=1830"};
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 () {
}
});
});
}