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=2587&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: 1746210599,
nonceStr: 'ZOBzudtj47J4RUGe',
signature: '85405cac79b8575cfa073ec3b86cbb932533ac7c',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u5e73\u5c71\u53bf\u5987\u5e7c\u4fdd\u5065\u9662 :\u4ece\u5b59\u5b50\u5175\u6cd5\u770b\u53bf\u7ea7\u5987\u5e7c\u7cfb\u7edf\u65b0\u5a92\u4f53\u5efa\u8bbe\u8fd0\u7ef4","smalltext":"\u4f5c\u4e3a\u6cb3\u5317\u7701\u5e73\u5c71\u53bf\u5987\u5e7c\u4fdd\u5065\u9662\uff0c\u6211\u4eec\u867d\u7136\u8eab\u5904\u57fa\u5c42\uff0c\u4f46\u4ece\u4e0d\u5e73\u5eb8\u3002\u6211\u4eec\u867d\u7136\u662f\u5c0f\u5c0f\u7684\u53bf\u5987\u5e7c\uff0c\u4f46\u4e00\u76f4\u81f4\u529b\u4e8e\u6253\u9020\u6709\u6e29\u5ea6\u7684\u70ed\u5e73\u53f0\u3002\u81ea2016\u5e742\u670814\u65e5\u521b\u5efa\u6cb3\u5317\u7701\u5e73\u5c71\u53bf\u5987\u5e7c\u4fdd\u5065\u9662\u670d\u52a1\u53f7\uff0c\u662f\u4e2d","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=11&id=2587"};
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 () {
}
});
});
}