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=1279&classid=5&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: 1747167538,
nonceStr: '4t8w7Dxh2jx5gFQT',
signature: '3144bedbc97da26f00d2f5f77ecb2da8ffb738ff',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u6e56\u5317\u7701\u4e2d\u5c71\u533b\u9662\uff1a\u9ad8\u9f84\u201c\u8106\u201d\u7239\u7239 \u533b\u751f\u5999\u624b\u52a9\u5eb7\u590d","smalltext":"\u201c\u4e00\u6b65\uff0c\u4e24\u6b65\uff0c\u4e09\u6b65\u2026\u2026\u201d\u77ed\u77ed\u51e0\u7c73\u7684\u8def\u7a0b\uff0c\u5374\u8ba993\u5c81\u7684\u5f20\u7239\u7239\u8d70\u5f97\u6cea\u6d41\u6ee1\u9762\uff0c\u8fd9\u662f\u600e\u4e48\u4e00\u56de\u4e8b\u5462\uff1f\u4eca\u5e7410\u67088\u53f7\uff0c\u5bb6\u4f4f\u6c5f\u6c49\u533a\u7684\u5f20\u7239\u7239\u8d77\u5e8a\u540e\u7167\u4f8b\u6253\u592a\u6781\u8fdb\u884c\u8eab\u4f53\u953b\u70bc\uff0c\u5728\u8f6c\u6362\u52a8\u4f5c\u65f6\u7a0d\u5fae\u5927\u529b\u4e86\u70b9\uff0c","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=1279"};
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 () {
}
});
});
}