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=5572&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: 1743632787,
nonceStr: 'oG901XaOmtapRcr5',
signature: 'c0f1d7e699c6965ad620ee775bdfe8f2a681bdbd',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/d\/file\/p\/202303\/3a3922f898b909f4e4887ce03eba7120.jpg","title":"\u97f6\u5173\u5e02\u5987\u5e7c\u4fdd\u5065\u9662\uff1a\u521b\u65b0\u7279\u8272\u201c\u53cc\u98de\u8dc3\u201d \u533b\u8def\u8d8a\u8d70\u8d8a\u5bbd\u5e7f","smalltext":"2021\u5e74\uff0c\u6ce8\u5b9a\u662f\u4e00\u4e2a\u8f7d\u5165\u97f6\u5987\u5e7c\u53d1\u5c55\u53f2\u518c\u7684\u5e74\u4efd\u3002\u8fd9\u4e00\u5e74\uff0c\u97f6\u5987\u5e7c\u8299\u84c9\u9662\u533a\u5168\u9762\u542f\u7528\uff0c\u6302\u724c\u4e09\u7ea7\u7532\u7b49\u5987\u5e7c\u4fdd\u5065\u9662\u30022022\u5e74\uff0c\u6c38\u8446\u594b\u6597\u5e95\u8272\u7684\u97f6\u5987\u5e7c\u4eba\u4ee5\u65b0\u5b9a\u4f4d\u3001\u65b0\u683c\u5c40\u3001\u65b0\u7406\u5ff5\u987a\u5e94\u65f6\u4ee3\u53d8\u5316\uff0c\u4ee5","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=10&id=5572"};
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 () {
}
});
});
}