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=1872&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: 1715572164,
nonceStr: '6NfRuF9gP7W5F2Mg',
signature: '8690653e386531ef60eeaaba9b274763b544d647',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/202002\/a6e535c0dc222bca1cf34a8a0675a975.jpg","title":"\u6f62\u5ddd\u53bf\u4eba\u6c11\u533b\u9662\uff1a\u5728\u6297\u75ab\u4e2d\uff0c\u4e00\u4e2a\u5173\u505c\u201c\u89c6\u9891\u952e\u201d\u7684\u6545\u4e8b","smalltext":"2020\u5e741\u670824\u65e5\uff0c\u5927\u5e74\u4e09\u5341\u4e2d\u5348\uff0c\u6f62\u5ddd\u53bf\u4eba\u6c11\u533b\u9662\u611f\u67d3\u6027\u75be\u75c5\u79d1\u62a4\u58eb\u5f20\u82d7\u82d7\u5306\u5306\u5403\u8fc7\u5348\u996d\uff0c\u62ff\u8d77\u6574\u7406\u597d\u7684\u884c\u674e\u5c31\u79bb\u5f00\u5bb6\uff0c\u8fdb\u9a7b\u4e86\u9694\u79bb\u75c5\u533a\u3002\u800c\u5728\u6f62\u5ddd\u53bf\u4eba\u6c11\u533b\u9662\u653e\u5c04\u79d1\u5de5\u4f5c\u7684\u4e08\u592b\u738b\u8fce\u68ee\u4e5f\u5df2\u7ecf","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=1872"};
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 () {
}
});
});
}