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=572&classid=4&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: 1714629448,
nonceStr: 'NC4FFXrxugGxT2DT',
signature: 'ce73311a3a591d9e11c243b6c01c7f6ac5c59799',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u868c\u57e0\u533b\u5b66\u9662:\u4f20\u6388\u7ed9\u5b66\u751f\u4e00\u628a\u6709\u6e29\u5ea6\u7684\u624b\u672f\u5200","smalltext":"\u4e0b\u53486\u70b9\uff0c\u672c\u5e94\u662f\u9ad8\u6821\u6700\u70ed\u95f9\u7684\u65f6\u5019\u3002\u4f46\u8bb0\u8005\u5728\u868c\u57e0\u533b\u5b66\u9662\u6821\u56ed\u91cc\u884c\u8d70\uff0c\u9664\u4e86\u64cd\u573a\u4e0a\u8fd8\u6709\u953b\u70bc\u7684\u5b66\u751f\u5916\uff0c\u5404\u4e2a\u6559\u5ba4\u5df2\u7ecf\u5750\u6ee1\u4e86\u4f0f\u6848\u8bfb\u4e66\u7684\u5b66\u751f\u3002\u9760\u8fd1\u7a97\u6237\uff0c\u8bb0\u8005\u51e0\u4e4e\u542c\u4e0d\u5230\u6559\u5ba4\u91cc\u7684\u58f0\u97f3\uff0c\u6240\u6709\u7684","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=4&id=572"};
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 () {
}
});
});
}