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=4675&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: 1715207245,
nonceStr: 'mdw7hoJx9P5RkueJ',
signature: 'd65ac2105b08c87dd0e030992afd0f6ab2648c24',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u6e2d\u5357\u5e02\u7b2c\u4e8c\u533b\u9662-\u4f20\u627f\u7ea2\u8272\u57fa\u56e0 \u6c72\u53d6\u594b\u8fdb\u529b\u91cf","smalltext":"2021\u5e74\u662f\u4e2d\u56fd\u5171\u4ea7\u515a\u6210\u7acb100\u5468\u5e74\uff0c\u4e5f\u662f\u201c\u5341\u56db\u4e94\u201d\u5f00\u5c40\u4e4b\u5e74\u3002\u6e2d\u5357\u5e02\u7b2c\u4e8c\u533b\u9662\u7edf\u4e00\u601d\u60f3\uff0c\u63d0\u9ad8\u8ba4\u8bc6\uff0c\u64e6\u4eae\u201c\u6e2d\u5357\u536b\u5065\u515a\u65d7\u7ea2\u201d\u54c1\u724c\uff0c\u5168\u9762\u5b9e\u65bd\u201c1216\u201d\u515a\u5efa\u5de5\u4f5c\u603b\u4f53\u601d\u8def\uff1a\u5373\u7d27\u6263\u884c\u4e1a\u7279\u70b9\uff0c\u575a\u6301","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=10&id=4675"};
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 () {
}
});
});
}