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=1407&classid=4&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: 1714415309,
nonceStr: 'Ds0zov5L9qpiOZ8A',
signature: 'b3cae1930271b03431f671ef5511f7d2d47735f5',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/201911\/042b3cc7813982e6c1be9e16c4fbbd8d.jpg","title":"\u6e56\u5357\u7701\u4eba\u6c11\u533b\u9662\u8d3a\u6e58\u73b2:\u513f\u79d1\u533b\u751f\u7684\u201c\u4fe1\u201d\u4e0e\u201c\u5ff5\u201d","smalltext":" \u6211\u53eb\u8d3a\u6e58\u73b2\uff0c\u662f\u6e56\u5357\u7701\u4eba\u6c11\u533b\u9662\u513f\u7ae5\u533b\u5b66\u4e2d\u5fc3\u7684\u533b\u751f\uff0c\u5de5\u4f5c\u5728\u4e34\u5e8a\u4e00\u7ebf28\u5e74\u3002\u5230\u73b0\u5728\u4e3a\u6b62\uff0c\u6211\u7684\u5927\u5b66\u540c\u5b66\u90fd\u5f88\u597d\u5947\uff0c\u6211\u4e3a\u4ec0\u4e48\u80fd\u5728\u513f\u79d1\u6267\u7740\u575a\u5b8828\u5e74\uff0c\u4e00\u5982\u65e2\u5f80\u6bcf\u5929\u5feb\u4e50\u5730\u5de5\u4f5c\u3002\u7b54\u6848\u5c31\u662f\u8fd9","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=4&id=1407"};
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 () {
}
});
});
}