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=101&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: 1714655856,
nonceStr: 'AtYXH0bID4DOOCFx',
signature: 'a680ff59d1f002bfe844cd479a2fce4fce55a015',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/201905\/df244aa7ee6967ea56c4bba294e668eb.jpg","title":"\u590d\u65e6\u5927\u5b66\u9644\u5c5e\u4e2d\u5c71\u533b\u9662-\u8ba9\u6bcf\u4e2a\u5458\u5de5\u5185\u5fc3\u5145\u6ee1\u7231","smalltext":" \u8fd9\u5bb6\u533b\u9662\u8fde\u7eed\u516d\u6b21\u83b7\u5f97\u201c\u4e2d\u56fd\u533b\u7597\u673a\u6784\u6700\u4f73\u96c7\u4e3b\u201d\u79f0\u53f7\uff0c\u8fd9\u5bb6\u533b\u9662\u9886\u5bfc\u575a\u4fe1\uff0c\u8981\u8ba9\u533b\u751f\u5e26\u7ed9\u60a3\u8005\u6e29\u6696\uff0c\u9996\u5148\u5c31\u8981\u8ba9\u533b\u751f\u5728\u7ba1\u7406\u4e2d\u611f\u53d7\u5230\u6e29\u6696\uff0c\u56e0\u4e3a\u53ea\u6709\u5185\u5fc3\u4f4f\u7740\u9633\u5149\u7684\u4eba\uff0c\u624d\u80fd\u5c06\u9633\u5149\u5e26\u7ed9\u522b","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=10&id=101"};
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 () {
}
});
});
}