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=2425&classid=10&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: 1746235938,
nonceStr: 'IzOenogqGRYI8rRT',
signature: 'f4d8f5d095be788c910e6c6ef977166c20ffc634',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u4e0a\u6d77\u5e02\u666e\u9640\u533a\u5229\u7fa4\u533b\u9662\uff1a\u4ee5\u4eba\u4e3a\u672c \u5065\u5eb7\u76f8\u4f34","smalltext":"\u4e0a\u6d77\u5e02\u666e\u9640\u533a\u5229\u7fa4\u533b\u9662\u79c9\u627f\u201c\u4ee5\u4eba\u4e3a\u672c\u201d\u7684\u7406\u5ff5\uff0c\u575a\u6301\u201c\u4ee5\u60a3\u8005\u4e3a\u4e2d\u5fc3\uff0c\u4ee5\u804c\u5de5\u4e3a\u6838\u5fc3\u201d\uff0c\u7ed3\u5408\u533b\u9662\u60a0\u4e45\u7684\u5386\u53f2\u5e95\u8574\uff0c\u4f20\u627f\u7cbe\u81f4\u3001\u548c\u8c10\u7684\u533b\u9662\u4eba\u6587\u7279\u8272\uff0c\u5851\u9020\u201c\u7cbe\u81f4\u548c\u8c10\u3001\u5927\u6c14\u5f00\u653e\u201d\u7684\u73b0\u4ee3\u201c\u5c0f","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=10&id=2425"};
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 () {
}
});
});
}