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=4683&classid=10&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: 1715238949,
nonceStr: '4o8QNUANgdPYYOng',
signature: '469c573b0309648f38cf3d853a81bc59cbc4db3f',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u6e56\u5317\u7701\u7b2c\u4e09\u4eba\u6c11\u533b\u9662-\u5fc3\u8840\u7ba1\u5185\u79d1","smalltext":"\u6e56\u5317\u7701\u7b2c\u4e09\u4eba\u6c11\u533b\u9662\uff08\u6e56\u5317\u7701\u4e2d\u5c71\u533b\u9662\uff09\u662f\u4e00\u6240\u96c6\u533b\u7597\u3001\u79d1\u7814\u3001\u6559\u5b66\u3001\u9884\u9632\u3001\u5eb7\u590d\u4e3a\u4e00\u4f53\u7684\u7efc\u5408\u6027\u5927\u578b\u4e09\u7ea7\u7532\u7b49\u533b\u9662\uff0c\u662f\u201c\u6e56\u5317\u7701\u8111\u5352\u4e2d\u8bca\u7597\u4e2d\u5fc3\u201d\u3001\u201c\u6e56\u5317\u7701\u8111\u5352\u4e2d\u7b5b\u67e5\u4e0e\u9632\u6cbb\u9886\u5bfc\u5c0f\u7ec4\u529e","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=10&id=4683"};
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 () {
}
});
});
}