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=5399&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: 1716015338,
nonceStr: 'mOXSAOmXbKpgSVLW',
signature: 'd355c0d6cabe88a7fb26ec2b874b6ae766fba4a1',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/d\/file\/p\/202207\/d58a4537e9bc7f92e4f95881cf2797b9.png","title":"\u91cd\u5e86\u5e02\u4e5d\u9f99\u5761\u533a\u4eba\u6c11\u533b\u9662 \uff1a\u795e\u5185\u5185\u5206\u6ccc\u79d1\u542f\u52a8\u201c\u4eba\u6587\u62a4\u7406\u793a\u8303\u75c5\u533a\u201d\u8bd5\u70b9","smalltext":"\u4e3a\u6df1\u5316\u4eba\u6587\u5173\u6000\u62a4\u7406\u5185\u6db5\uff0c\u9075\u5faa\u201c\u4ee5\u75c5\u4eba\u4e3a\u4e2d\u5fc3\u201d\u62a4\u7406\u670d\u52a1\u7406\u5ff5\uff0c\u6574\u4f53\u63d0\u5347\u62a4\u7406\u670d\u52a1\u6c34\u5e73\uff0c7\u670814\u65e5\u4e0b\u5348\uff0c\u6211\u9662\u4e1c\u9662\u533a\u795e\u5185\u5185\u5206\u6ccc\u79d1\u5728A\u533a\u5c0f\u4f1a\u8bae\u5ba4\u5f00\u5c55\u201c\u4eba\u6587\u62a4\u7406\u793a\u8303\u75c5\u533a\u201d\u542f\u52a8\u4f1a\uff0c\u526f\u9662\u957f\u9648\u4fed","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=5399"};
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 () {
}
});
});
}