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=365&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: 1746134509,
nonceStr: '8CcIM3m4sBPoL9KZ',
signature: '35e94a14c6b14f3c0fc284ca472847a478b17af0',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u5728\u4e00\u8d77\uff0c\u5fc3\u7075\u9a7f\u7ad9","smalltext":" \u533b\u9662\u533b\u62a4\u4eba\u5458\u7684\u5fc3\u7406\u72b6\u51b5\u9887\u8ba9\u4eba\u62c5\u5fe7\uff0c\u4e3a\u5e2e\u52a9\u533b\u62a4\u4eba\u5458\u8c03\u6574\u5fc3\u7406\u72b6\u6001,\u6709\u6548\u91ca\u653e\u5fc3\u7406\u538b\u529b,\u8f7b\u88c5\u4e0a\u9635,\u6d4e\u5357\u5e02\u7ae0\u4e18\u533a\u4eba\u6c11\u533b\u9662\u5fc3\u7406\u5c0f\u7ec4\u7ec4\u7ec7\u7b56\u5212\u4e86---\u201c\u5728\u4e00\u8d77,\u5fc3\u7075\u9a7f\u7ad9\u201d\u6d3b\u52a8,80","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=4&id=365"};
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 () {
}
});
});
}