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=4850&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: 1744318172,
nonceStr: 'U4hOdq6zMhtHVnLO',
signature: '0ed8ed6c8bc4e0fbd61d2bf86c076c2fa373dca1',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u6c5f\u897f\u7701\u513f\u7ae5\u533b\u9662\uff1a\u53d4\u53d4\uff0c\u4f60\u80f8\u524d\u7684\u90a3\u4e2a\u5fbd\u7ae0\u771f\u597d\u770b","smalltext":"\u76db\u590f\u7684\u65e9\u6668\uff0c\u592a\u9633\u660e\u4eae\u4eae\uff0c\u6811\u68a2\u5df2\u7ecf\u6709\u8749\u5728\u9ad8\u58f0\u9e23\u53eb\u4e86\uff0c\u201c\u5431......\u201d\u5c16\u5229\u5639\u4eae\uff0c\u708e\u70ed\u7684\u590f\u5929\u5c31\u5728\u76db\u5927\u7684\u5e8f\u66f2\u4e2d\uff0c\u6b3e\u6b3e\u800c\u6765\u3002\u4f5c\u4e3a\u6c5f\u897f\u7701\u513f\u7ae5\u533b\u9662\u6ccc\u5c3f\u5916\u79d1\u7684\u4e00\u540d\u533b\u751f\uff0c\u5728\u8fd9\u76db\u590f\u7684\u6691\u671f\u662f\u975e\u5e38\u5145\u5b9e","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=4850"};
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 () {
}
});
});
}