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=1967&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: 1747146484,
nonceStr: 'SKw2DQh8wu2AHS2X',
signature: '7cf29671ae26689250b2ac545192dd4c0f8a2729',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u6cb3\u5317\u5927\u5b66\u9644\u5c5e\u533b\u9662\uff1a\u5c3d\u5df1\u6240\u80fd\uff0c\u80dc\u5229\u5c5e\u4e8e\u6211\u4eec","smalltext":" \u6765\u5230\u611f\u67d3\u6027\u75be\u75c5\u79d1\u4e00\u75c5\u533a\u652f\u63f4\u4e0d\u77e5\u4e0d\u89c9\u5df2\u7ecf\u8fc7\u53bb\u5341\u591a\u5929\u4e86\uff0c\u5728\u8fd9\u5341\u591a\u5929\u91cc\uff0c\u5fc3\u8840\u7ba1\u5185\u79d1\u4e8c\u75c5\u533a\u5e74\u8f7b\u7684\u62a4\u58eb\u7530\u96e8\u946b\u770b\u5230\u4e86\u201c\u6cb3\u5927\u9644\u9662\u4eba\u201d\u8eab\u4e0a\u4e0d\u60e7\u751f\u6b7b\uff0c\u8fce\u96be\u800c\u4e0a\u7684\u7cbe\u795e\uff0c\u968f\u7740\u53d1\u70ed\u60a3\u8005\u4eba\u6570","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=1967"};
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 () {
}
});
});
}