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=206&classid=7&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: 1714750545,
nonceStr: '09nr1hBzLINj0LBc',
signature: '23d7c060aaab055167a7a8dab599c69b3fdda386',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/201905\/4a95e5710b465f05451770d859cf1d2c.jpg","title":"2019\u5e74\u4e2d\u56fd\u533b\u9662\u4eba\u6587\u54c1\u724c\u5cf0\u4f1a\u201c\u4eba\u6587\u7ba1\u7406\u521b\u65b0\u533b\u9662\u201d\u83b7\u5956\u540d\u5355","smalltext":"1\t\u5b89\u5fbd\u7701\u7b2c\u4e8c\u4eba\u6c11\u533b\u96622\t\u5317\u5927\u533b\u7597\u5eb7\u590d\u533b\u96623\t\u5317\u6d77\u5e02\u4eba\u6c11\u533b\u96624\t\u6ca7\u5dde\u5e02\u4eba\u6c11\u533b\u96625\t\u5e38\u5fb7\u7b2c\u56db\u4eba\u6c11\u533b\u96626\t\u5e38\u5dde\u5e02\u7b2c\u4e09\u4eba\u6c11\u533b\u96627\t\u5e38\u5dde\u5e02\u80bf\u7624\u533b\u96628\t\u90f4\u5dde\u5e02\u7b2c\u4e00\u4eba\u6c11\u533b\u96629\t\u6210\u90fd\u5927\u5b66\u9644\u5c5e\u533b","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=7&id=206"};
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 () {
}
});
});
}