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=4757&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: 1716057059,
nonceStr: 'kapm3YKrSOF0GuOC',
signature: 'e5e5ee86c02aa7cf5886ad135b9fb89213a23f35',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u4e1c\u839e\u5e02\u5987\u5e7c\u4fdd\u5065\u9662-\u4e3a\u513f\u7ae5\u5b89\u5168\u7528\u836f\uff0c\u5f00\u51fa\u7684\u201c\u7cbe\u51c6\u836f\u65b9\u201d","smalltext":"\u4e00\u3001\u80cc\u666f\u4e0e\u8d77\u56e0\u201c\u820c\u5c16\u4e0a\u7684\u5b89\u5168\u201d\u9664\u4e86\u98df\u54c1\uff0c\u836f\u54c1\u4ea6\u662f\u4e0d\u5bb9\u5ffd\u89c6\u3002\u7279\u522b\u662f\u513f\u7ae5\u836f\u5bb3\u4e8b\u4ef6\u65f6\u6709\u53d1\u751f\u3002\u6839\u636e\u300a\u513f\u7ae5\u7528\u836f\u5b89\u5168\u73b0\u72b6\u62a5\u544a\u300b\uff1a\u5728\u513f\u7ae5\u4e2d\u6bd2\u4e8b\u4ef6\u4e2d\uff0c\u836f\u7269\u4e2d\u6bd2\u5360\u6bd4\u4ecd\u4fdd\u6301\u572840%\u4ee5\u4e0a\u3002\u5176","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=11&id=4757"};
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 () {
}
});
});
}