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=5096&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: 1716119383,
nonceStr: 'B1FLs1EZQ0HJx5zp',
signature: 'b13471a4c0f466da183a32ad5df7edbd92d72fb3',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/d\/file\/p\/202112\/241041a3658774477c231c12d3eaa0a0.png","title":"\u5e7f\u5dde\u533b\u79d1\u5927\u5b66\u9644\u5c5e\u7b2c\u4e09\u533b\u9662\uff1a\u533b\u60a3\u89d2\u8272\u4e92\u6362\u4f53\u9a8c\u8425\u201c\u533b\u5b66\u4e91\u4f53\u9a8c\u201d","smalltext":"\u75ab\u60c5\u4ee5\u6765\uff0c\u533b\u7597\u884c\u4e1a\u5907\u53d7\u5173\u6ce8\uff0c\u533b\u60a3\u5173\u7cfb\u4e5f\u65f6\u5e38\u6210\u4e3a\u793e\u4f1a\u70ed\u70b9\u8bdd\u9898\u3002\u5728\u4eba\u4eec\u5bf9\u533b\u7597\u884c\u4e1a\u7ed9\u4e88\u66f4\u591a\u8ba4\u53ef\uff0c\u4f46\u540c\u65f6\u5bf9\u5065\u5eb7\u751f\u6d3b\u7684\u9700\u6c42\u8d8a\u6765\u8d8a\u5f3a\u70c8\u7684\u5f53\u4e0b\uff0c\u63d0\u9ad8\u516c\u4f17\u5bf9\u533b\u5b66\u7684\u8ba4\u77e5\u3001\u589e\u8fdb\u793e\u4f1a\u5bf9\u533b\u8005\u7684","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=5096"};
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 () {
}
});
});
}