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=210&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: 1746134711,
nonceStr: 'atEmfw7ZZf3TyT7w',
signature: 'e142768b70a58de8d60f2b829882de085d9b20be',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/201905\/622e780612a26ba1ac3c1b51047bbc2d.jpg","title":"\u6c5f\u82cf\u5c0f\u4f19\u4e3a\u7231\u5954\u6ce2\u56db\u5343\u516c\u91cc\uff0c\u5e38\u5dde\u4e09\u9662\u6210\u4eba\u4e4b\u7f8e","smalltext":"\u8fd1\u65e5\uff0c\u4e00\u5219\u201c\u5c0f\u4f19\u5954\u6ce24000\u516c\u91cc\u628a\u91cd\u75c5\u5973\u53cb\u63a5\u56de\u5e38\u5dde\u6551\u6cbb\u201d\u7684\u65b0\u95fb\u706b\u7206\u4e86\u7f51\u7edc\uff0c\u6c5f\u82cf\u672c\u5730\u5404\u7ea7\u5a92\u4f53\u3001\u4eba\u6c11\u7f51\u3001\u4eba\u6c11\u65e5\u62a5\u3001CCTV\u300a\u65b0\u95fb\u76f4\u64ad\u95f4\u300b\u548c\u300a24\u5c0f\u65f6\u300b\u7eb7\u7eb7\u62a5\u9053\uff0c\u533b\u9662\u54c1\u724c\u5ba3\u4f20\u7a81\u7834\u4e86\u591a","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=210"};
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 () {
}
});
});
}