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=4935&classid=11&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: 1746121123,
nonceStr: 'RLVlRNXORxDP4M0H',
signature: '836638ed0535489538ab43851b58239cb9014d52',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u897f\u5b89\u4ea4\u901a\u5927\u5b66\u7b2c\u4e8c\u9644\u5c5e\u533b\u9662-\u79d1\u666e\u76f4\u64ad\u95f4","smalltext":"\u4ece\u7f8e\u98df\u5230\u7f8e\u5986\uff0c\u4ece\u6559\u80b2\u5230\u79d1\u666e\uff0c\u7f51\u7edc\u76f4\u64ad\u7684\u5185\u5bb9\u5f62\u6001\u5df2\u7ecf\u4ece\u6cdb\u5a31\u4e50\u5411\u7740\u4e13\u4e1a\u7684\u9886\u57df\u4e0d\u65ad\u53d1\u5c55\uff0c\u5404\u5927\u516c\u4f17\u53f7\u4e3a\u7f51\u53cb\u4eec\u5e26\u6765\u4e86\u66f4\u52a0\u591a\u5143\u7684\u76f4\u64ad\u5185\u5bb9\u548c\u770b\u70b9\u3002\u5728\u4f17\u591a\u5782\u7c7b\u5185\u5bb9\u4e2d\uff0c\u79d1\u666e\u7c7b\u76f4\u64ad\u7684\u70ed\u5ea6\u6b63","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=11&id=4935"};
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 () {
}
});
});
}