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=716&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: 1746676834,
nonceStr: 'uslnkx3WZ6tr1GKV',
signature: '885f826d90a1b0bb936eabbf9039e748251d042d',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/201907\/4c8466a8d663fa36ae102b381f3655b0.jpg","title":"\u53f0\u5dde\u5e02\u4e2d\u5fc3\u533b\u9662:\u63f4\u975e\u533b\u751f\u4e3a\u9a6c\u91cc\u5efa\u4e86\u4e00\u652f\u8db3\u7403\u961f","smalltext":"\u201cMerci Chine\uff08\u611f\u8c22\u4e2d\u56fd\uff09\uff01\u201d\u8fd1\u65e5\uff0c\u5728\u975e\u6d32\u9a6c\u91cc\u9996\u90fd\u5df4\u9a6c\u79d1\u4e00\u4e2a\u7b80\u964b\u7684\u8db3\u7403\u573a\u4e0a\uff0c\u5df4\u9a6c\u79d1\u8db3\u7403\u7231\u597d\u8005\u5f00\u5fc3\u5730\u7a7f\u4e0a\u4e86\u53f0\u5dde\u7403\u53cb\u548c\u8db3\u7403\u4ff1\u4e50\u90e8\u9001\u53bb\u7684\u7403\u8863\u7403\u978b\uff0c\u7ad6\u7740\u5927\u62c7\u6307\uff0c\u4e0d\u505c\u5730\u8bf4\u7740\u611f\u8c22\u7684\u8bdd\u3002\u53f0","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=716"};
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 () {
}
});
});
}