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=1754&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: 1747169458,
nonceStr: '2embNQl5s3fOIlXF',
signature: 'efeefc3dd561a39aba23f5457c96baffc6c3558a',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/202002\/972a807ca0e4f758e1735e621e5cb7b8.jpg","title":"\u5b9a\u6c5f\u9547\u4e2d\u5fc3\u536b\u751f\u9662\uff1a\u9632\u75ab\u65e5\u8bb0-\u6709\u4f60\uff0c\u6709\u6211\uff0c\u6709\u4ed6","smalltext":"2020-01-31\uff0c\u661f\u671f\u4e94\uff0c\u6674\u5929\u201c\u4f60\u600e\u4e48\u4e0d\u6234\u62a4\u76ee\u955c\u554a\uff1f\u201d\u95e8\u53e3\u6765\u4e86\u4e00\u4e2a\u6234\u7740\u9ed1\u53e3\u7f69\u7684\u4eba\uff0c\u8a00\u8bed\u95f4\u900f\u7740\u5173\u5207\u548c\u5a01\u4e25\u3002 \u201c\u56e0\u4e3a\u6211\u4eec\u7684\u62a4\u76ee\u955c\u4e0d\u591f\u7528\uff0c\u8fdb\u7ad9\u53e3\u7684\u65c5\u5ba2\u4e5f\u4e0d\u5c11\uff0c\u6211\u628a\u62a4\u76ee\u955c\u7ed9\u8fdb\u7ad9\u53e3\u7684\u540c\u4e8b\u7528","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=1754"};
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 () {
}
});
});
}