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=634&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: 1714974008,
nonceStr: 'McpBrzf0qDAvVbSx',
signature: '3aeebaa9bb73ac0f2bb6c9457947987a7f40baa7',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/201906\/3a6be3578f32682f5f0be02d20e2f4b6.jpg","title":"\u56db\u5ddd\u7701\u4eba\u6c11\u533b\u9662\uff1a\u60ca\u5fc3\u52a8\u9b44\u7684\u957f\u5b81\u53bf\u5730\u9707\u707e\u533a\u7a7a\u4e2d\u6551\u63f4\u624b\u8bb0","smalltext":"2019\u5e746\u670817\u65e5\u662f\u4e00\u4e2a\u5e73\u51e1\u800c\u666e\u901a\u7684\u65e5\u5b50\uff0c\u8fd9\u4e00\u5929\u6211\u503c\u73ed\u3002\u63a5\u73ed\u540e\u63a5\u6536\u5904\u7406\u4e863\u4e2a\u91cd\u75c5\u4eba\uff0c22:55\u5206\u8fd8\u5b88\u5728\u4e00\u4e2a\u5371\u91cd\u75c5\u4eba\u5e8a\u65c1\uff0c\u770b\u5c3f\u91cf\u548c\u8840\u6c14\u5206\u6790\uff0c\u8bc4\u4f30\u5bb9\u91cf\uff0c\u7a81\u7136\uff0c\u65c1\u8fb9\u7684\u62a4\u58eb\u8001\u5e08\u8bf4\uff1a\u5730\u9707\u4e86\uff01\u6211\u6014\u4e86","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=634"};
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 () {
}
});
});
}