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=4639&classid=11&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: 1716029183,
nonceStr: 'k2N2hwcbeLObYRb2',
signature: 'b3b4afcefc94d3b2a35cfc27f1159d5cd4dfa024',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02\u7ae0\u4e18\u533a\u4eba\u6c11\u533b\u9662-\u6d85\u69c3\u91cd\u751f\u533b\u8005\u4ec1\u5fc3","smalltext":" \u4eca\u5929\u7684\u4e3b\u4eba\u516c\u5979\u53eb\u5c0f\u67d4\uff08\u5316\u540d\uff09\uff0c\u662f\u4e00\u540d\u5927\u5b66\u5728\u8bfb\u5373\u5c06\u6bd5\u4e1a\u7684\u535a\u58eb\u751f\uff0c\u5979\u6709\u4e2a\u76f8\u604b\u56db\u5e74\u7684\u7537\u670b\u53cb\uff0c\u56e0\u4e3a\u4e24\u4eba\u90fd\u662f\u72ec\u751f\u5b50\u5973\uff0c\u7236\u6bcd\u90fd\u60f3\u5b69\u5b50\u56de\u5230\u8eab\u8fb9\u62e9\u4e1a\uff0c\u9762\u5bf9\u8fd9\u4ef6\u4e8b\u60c5\u7537\u670b\u53cb\u679c\u65ad\u7684\u56de\u5230\u7236\u6bcd\u8eab\u4f53","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=11&id=4639"};
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 () {
}
});
});
}