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=5356&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: 1743702947,
nonceStr: 'KutVCW1F0wdWFJ5v',
signature: '13fc1bd5e516821f1c73506cbd2585b120dc4586',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u97f6\u5173\u5e02\u5987\u5e7c\u4fdd\u5065\u9662\uff1a\u6211\u548c\u5988\u5988\u7684\u7b2c\u4e00\u4e2a\u201c\u5bb6\u201d","smalltext":"\u8fd1\u65e5\uff0c\u7531\u6211\u9662\u7ec4\u7ec7\u5f00\u5c55\u7684\u201c\u594b\u8fdb\u4e03\u5341\u8f7d\uff0c\u6267\u7b14\u81f4\u672a\u6765\u201d\u7ae5\u7ed8\u5927\u8d5b\u51b3\u8d5b\u4e3e\u884c\uff0c\u6570\u5341\u540d\u513f\u7ae5\u73b0\u573a\u4f5c\u753b\uff0c\u53d1\u6325\u60f3\u8c61\u529b\u63cf\u7ed8\u201c\u6211\u548c\u5988\u5988\u7684\u7b2c\u4e00\u4e2a\u2018\u5bb6\u2019\u201d\u3002\u3000\u30002022\u5e74\uff0c\u6211\u9662\u8fce\u676570\u5468\u5e74\u9662\u5e86\uff0c\u7b56\u5212\u5f00\u5c55\u201c\u4e73","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=5356"};
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 () {
}
});
});
}