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=1139&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: 1714693013,
nonceStr: 'HNlMRdOMjWQxsimR',
signature: '4ebcfe534449319146ed427d6ff6aecaf80b125a',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/201909\/3a0ec2b0d9e2a534b5f6f99bf8a95b90.jpg","title":"\u56db\u5ddd\u7701\u4eba\u6c11\u533b\u9662\uff1a\u75c5\u623f\u91cc\u7684\u522b\u6837\u4e2d\u79cb","smalltext":"\u5728\u56db\u5ddd\u7701\u4eba\u6c11\u533b\u9662\u7684\u513f\u7ae5\u8840\u6db2\/\u80bf\u7624\u75c5\u623f\u91cc\uff0c\u5e38\u5e74\u4f4f\u7740\u4e00\u7fa4\u53e3\u7f69\u5929\u4f7f\u4eec\uff0c\u4ed6\u4eec\u8eab\u60a3\u767d\u8840\u75c5\u3001\u6dcb\u5df4\u7624\u7b49\u6076\u6027\u80bf\u7624\uff0c\u4e0d\u5f97\u4e0d\u79bb\u5f00\u5bb6\u56ed\u6765\u5230\u533b\u9662\uff0c\u5f00\u59cb\u4e0e\u75be\u75c5\u7684\u6597\u4e89\u3002\u5c3d\u7ba1\u75be\u75c5\u4e0e\u5316\u7597\u8ba9\u4ed6\u4eec\u5927\u591a\u6389\u5149","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=1139"};
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 () {
}
});
});
}