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=2340&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: 1747124268,
nonceStr: 'YkJNJodL93HTqRfS',
signature: '1563af752998772c391022bbfc8df2919c89147a',
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\u533b\u79d1\u5927\u5b66\u7b2c\u4e8c\u533b\u9662\uff1a\u4ece\u706b\u7ebf\u4e0a\u6210\u957f\u8d77\u6765\u7684\u9752\u6625\u529b\u91cf","smalltext":"2020\u5e74\u7684\u5230\u6765\uff0c\u8ba9\u7b2c\u4e00\u6279\u201c90\u540e\u201d\u8fc8\u5165\u4e86\u800c\u7acb\u4e4b\u5e74\u3002\u5728\u9632\u63a7\u65b0\u51a0\u80ba\u708e\u75ab\u60c5\u7684\u201c\u9006\u884c\u5927\u519b\u201d\u91cc\uff0c\u201c90\u540e\u201d\u4eec\u6446\u8131\u7a1a\u5ae9\uff0c\u7528\u5e74\u8f7b\u7684\u80a9\u8180\u625b\u8d77\u793e\u4f1a\u8d23\u4efb\uff0c\u4e3a\u75ab\u60c5\u9632\u63a7\u963b\u51fb\u6218\u6ce8\u5165\u4e86\u5f3a\u5927\u7684\u65b0\u751f\u529b\u91cf\u3002\u201c","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=2340"};
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 () {
}
});
});
}