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=4909&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: 1746129238,
nonceStr: 'bnS4Oy1rbBq6NacF',
signature: '1650c2b48c9a9f60bb528b9447984c7519316c7d',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u590d\u65e6\u5927\u5b66\u9644\u5c5e\u534e\u5c71\u533b\u9662-\u8679\u6865\u9662\u533a\u5206\u515a\u59d4\u526f\u4e66\u8bb0\u9879\u857e\u7ea2\u6559\u6388","smalltext":"\u9879\u857e\u7ea2\u6559\u6388\u662f\u590d\u65e6\u5927\u5b66\u9644\u5c5e\u534e\u5c71\u533b\u9662\u8679\u6865\u9662\u533a\u5206\u515a\u59d4\u526f\u4e66\u8bb0\u3001\u534e\u5c71\u533b\u9662\u76ae\u80a4\u79d1\u526f\u4e3b\u4efb\uff0c\u540c\u65f6\u62c5\u4efb\u76ae\u80a4\u79d1\u7b2c\u4e00\u515a\u652f\u90e8\u7684\u7edf\u6218\u59d4\u5458\u3002\u9879\u6559\u6388\u4f5c\u4e3a\u534e\u5c71\u533b\u9662\u77e5\u540d\u7684\u76ae\u80a4\u79d1\u6559\u6388\uff0c\u5c3d\u7ba1\u5e73\u65f6\u7684\u533b\u6559\u7814","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=12&id=4909"};
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 () {
}
});
});
}