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=773&classid=14&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: 1730418481,
nonceStr: 'pAMAqFJTL7Sm7nLE',
signature: 'ace81e2ca2c517a526d9bcc0bdf02e493df7cadc',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u5173\u4e8e\u5f00\u5c55\u533b\u9662\u4eba\u6587\u54c1\u724c\u5efa\u8bbe\u8005\u4e13\u9898\u5f81\u6587\u6d3b\u52a8\u7684\u901a\u77e5","smalltext":"\u4e3a\u6df1\u5165\u843d\u5b9e\u515a\u7684\u5341\u4e5d\u5927\u7cbe\u795e\uff0c\u5c55\u793a\u65b0\u65f6\u4ee3\u533b\u9662\u4eba\u6587\u54c1\u724c\u5de5\u4f5c\u8005\u7684\u826f\u597d\u5f62\u8c61\u3002\u4e2d\u56fd\u751f\u547d\u5173\u6000\u534f\u4f1a\u5373\u65e5\u542f\u52a8\u533b\u9662\u4eba\u6587\u54c1\u724c\u5efa\u8bbe\u8005\u4e13\u9898\u5f81\u6587\u6d3b\u52a8\u3002\u73b0\u5c31\u6709\u5173\u4e8b\u9879\u901a\u77e5\u5982\u4e0b\uff1a\u4e00\u3001\u4e3b\u529e\u5355\u4f4d\u4e3b\u529e\uff1a\u4e2d\u56fd","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=14&id=773"};
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 () {
}
});
});
}