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=840&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: 1738735151,
nonceStr: 'Xc12SXkQyvcM1ndY',
signature: '7c960c3a422a839136670a91f47d1d7e49a448fa',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/201907\/ae42fabfa6bf5e4e7292a1a915ce32d1.jpg","title":"\u90f4\u5dde\u5e02\u7b2c\u4e00\u4eba\u6c11\u533b\u9662\u5f90\u81ea\u5f3a\uff1a\u90a3\u4e2a\u590f\u5929\u4ed6\u60f3\u653e\u5f03\u6cbb\u7597","smalltext":"\u5fae\u4fe1\u4e0a\u5f39\u51fa\u4e00\u6761\u589e\u52a0\u4e3a\u597d\u53cb\u7684\u63d0\u793a\uff0c\u5fae\u4fe1\u540d\u53eb\u201c\u77f3\u5934\u201d\uff0c\u5fae\u4fe1\u56fe\u6807\u662f\u4e00\u5bf9\u7537\u5b69\u5b50\u7684\u7167\u7247\u3002\u6211\u597d\u5947\u5730\u6dfb\u52a0\u4e86\u597d\u53cb\uff0c\u201c\u77f3\u5934\u201d\u53d1\u6765\u4e863\u5f20\u62cd\u7167\u6280\u672f\u4e0d\u6562\u606d\u7ef4\u7684\u7167\u7247\u3002\u540e\u6765\u6211\u5f04\u6e05\u695a\u4e86\uff0c\u8fd9\u662f\u201c\u77f3\u5934\u201d","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=4&id=840"};
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 () {
}
});
});
}