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=2084&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: 1716061644,
nonceStr: 'SP7Yd8ThELTZDvp3',
signature: '5eeece56fb1ed0b1fb6f27e7991b1862d233b5c4',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/202002\/10301aa9f8ac708bcffe807577758140.jpg","title":"[\u5f00\u653e\u7533\u8bf7]\uff1a\u300a2020\u5e74\u867e\u7c73\u5988\u54aa\u80b2\u513f\u65e5\u5386\u300b\u514d\u8d39\u6350\u8d60\u7ed9\u5987\u5e7c\u4fdd\u5065\u533b\u9662","smalltext":"\u4e3a\u5e2e\u52a9\u5230\u66f4\u591a\u5728\u4e00\u7ebf\u6218\u6597\u7684\u5b55\u5988\u5988\uff0c\u7ecf\u8fc7\u4e2d\u56fd\u751f\u547d\u5173\u6000\u534f\u4f1a\u533b\u9662\u4eba\u6587\u5efa\u8bbe\u4e13\u59d4\u4f1a\u59d4\u5458\u867e\u7c73\u5988\u54aa\u540c\u610f\uff0c\u5373\u65e5\u8d77\uff0c\u867e\u7c73\u5988\u54aa\u5411\u5168\u56fd\u5404\u5987\u5e7c\u4fdd\u5065\u533b\u9662\u6350\u8d60\u4e00\u62792020\u5e74\u867e\u7c73\u5988\u54aa\u80b2\u513f\u65e5\u5386\u3002\u6b64\u4e66\u51dd\u96c6\u8457","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=2084"};
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 () {
}
});
});
}