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=5104&classid=24&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: 1743630922,
nonceStr: 'eONw7hHc6bD2vWmg',
signature: '839960d959de4f9b37225ff6d355398ef0f23864',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/d\/file\/p\/202112\/68ba0c6f40bccd08cdaf766eb1cfce58.png","title":"\u516d\u4e07\u4eba\u6b21\u56f4\u89c2\u4e2d\u56fd\u533b\u9662\u4eba\u6587\u54c1\u724c\u5cf0\u4f1a\uff0c\u4e0b\u6b21\u8def\u6f14\u5c06\u5728\u6210\u90fd\u4e3e\u884c","smalltext":"\u628a\u201c\u75c5\u4eba\u6ee1\u610f\u5ea6\u201d\u4f5c\u4e3a\u533b\u9662\u7684\u751f\u547d\u7ebf\uff0c\u628a\u201c\u4f18\u8d28\u670d\u52a1\u201d\u786e\u7acb\u4e3a\u533b\u9662\u7684\u6838\u5fc3\u7ade\u4e89\u529b\u548c\u5dee\u5f02\u5316\u53d1\u5c55\u6218\u7565\uff0c\u201c\u9762\u5bf9\u5931\u8d25\u5e26\u6765\u7684\u632b\u6298\uff0c\u4e0d\u4e22\u5931\u6700\u521d\u7684\u70ed\u60c5\u201d\u300212\u670810\u65e5\uff0c\u6f8e\u6e43\u65b0\u95fb\u4ece\u56fd\u5bb6\u536b\u5065\u59d4\u4e0b\u5c5e\u4e2d\u56fd","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=24&id=5104"};
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 () {
}
});
});
}