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=6562&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: 1730422786,
nonceStr: 'mEz7PQ4qivKDXqsr',
signature: 'a2620aabbfb5907ecc1d8e63346ba7aa3bbbe236',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u533b\u9662\u4eba\u6587\u7ba1\u7406\u5f81\u6587\uff1a\u4eba\u672c\u4f4d\u533b\u7597\u4e0e\u533b\u5b66\u4eba\u6587\u7ba1\u7406\u5728\u533b\u7597\u5b9e\u8df5\u4e2d\u7684\u5951\u5408","smalltext":"\u4eba\u672c\u4f4d\u533b\u7597\u7684\u6982\u5ff5\u662f\u5f20\u4e2d\u5357\u6559\u6388\u4e8e2011\u5e74\u63d0\u51fa\u6765\u7684\uff0c\u5728\u201c\u5feb\u70b9\u6cbb\u597d\u75c5\u201d\u4e0e\u201c\u6062\u590d\u901f\u5ea6\u6162\u201d\u3001\u201c\u5343\u4e07\u522b\u51fa\u4e8b\u201d\u4e0e\u201c\u533b\u7597\u5e76\u53d1\u75c7\u591a\u201d\u3001\u201c\u5c11\u82b1\u51a4\u6789\u94b1\u201d\u4e0e\u201c\u5927\u91cf\u8fc7\u5ea6\u533b\u7597\u201d\u3001\u201c\u628a\u6211\u5f53\u4eba\u5f85\u201d","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=14&id=6562"};
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 () {
}
});
});
}