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=6687&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: 1715820359,
nonceStr: '7py0BT05MnhzWGJR',
signature: 'd3dcd3aff01ea9f3a453c4b0980ec7c4cde60215',
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\u5199\u7ed9\u4e94\u5e74\u540e\u81ea\u5df1\u7684\u4e00\u5c01\u4fe1","smalltext":"\u4eb2\u7231\u7684\u81ea\u5df1\uff1a\u89c1\u4fe1\u5982\u5514\uff01\u65f6\u5149\u834f\u82d2\uff0c\u767d\u9a79\u8fc7\u9699\uff1b\u5f53\u4f60\u8bfb\u8d77\u8fd9\u5c01\u4fe1\u65f6\uff0c\u5df2\u662f\u4e94\u5e74\u540e\u3002\u6b64\u65f6\u7684\u4f60\uff0c\u662f\u5426\u4f9d\u65e7\u4fdd\u6301\u90a3\u4efd\u70ed\u7231\uff1f\u662f\u5426\u4f9d\u65e7\u77e2\u5fd7\u4e0d\u6e1d\u3001\u7b03\u884c\u4e0d\u6020\uff1f\u6211\u60f3\uff0c\u7b54\u6848\u662f\u6bcb\u5eb8\u7f6e\u7591\u7684\u3002\u66fe\u8bb0\u5426\uff0c\u4e94\u5e74\u524d\u7684\u4eca\u5929\uff0c\u515a\u7684","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=14&id=6687"};
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 () {
}
});
});
}