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=4644&classid=12&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: 1730418591,
nonceStr: 'Jtww6iTTZ66ovYOG',
signature: '2cc30a9c1318011616a7e280bfa41bfa670fe3d2',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u4e2d\u56fd\u798f\u5229\u4f1a\u56fd\u9645\u548c\u5e73\u5987\u5e7c\u4fdd\u5065\u9662-\u533b\u52a1\u793e\u5de5\u53f2\u5fc3\u6021","smalltext":"\u53f2\u5fc3\u6021\u540c\u5fd72014\u5e74\u5165\u804c\u4fdd\u5065\u9662\u540e\uff0c\u4f5c\u4e3a\u533b\u52a1\u793e\u5de5\uff0c\u53f2\u5fc3\u6021\u540c\u5fd7\u79ef\u6781\u53c2\u52a0\u5404\u7c7b\u5fd7\u613f\u670d\u52a1\uff0c\u7528\u5fd7\u613f\u670d\u52a1\u548c\u516c\u76ca\u9879\u76ee\u521b\u65b0\u533b\u9662\u6587\u5316\u5efa\u8bbe\u3002\u4ece\u95e8\u8bca\u5bfc\u533b\u5230\u793e\u533a\u4e49\u8bca\u3001\u54a8\u8be2\uff0c\u5979\u7acb\u8db3\u5c97\u4f4d\uff0c\u670d\u52a1\u793e\u4f1a\uff0c\u65e0\u79c1\u5949\u732e","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=12&id=4644"};
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 () {
}
});
});
}