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=1630&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: 1748801234,
nonceStr: '2PcWi8D9zea0bgIC',
signature: 'dea526259d90faef72c85d6fc2558c860e5563be',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/202001\/f20e27d66865f25937bd07d8c2109938.jpg","title":"\u6b66\u6c49\u5927\u5b66\u4e2d\u5357\u533b\u9662\uff1a\u4e00\u4f4d\u533b\u751f\u9047\u523a\u540e\u7684\u4e00\u5e74","smalltext":"2019\u5e7412\u670824\u65e5\uff0c\u5e73\u5b89\u591c\uff0c\u5317\u4eac\u5e02\u6c11\u822a\u603b\u533b\u9662\u6025\u8bca\u79d1\u526f\u4e3b\u4efb\u6768\u6587\u533b\u751f\u88ab\u75c5\u4eba\u5bb6\u5c5e\u780d\u4f24\uff0c\u62a2\u6551\u65e0\u6548\u79bb\u4e16\uff0c\u968f\u540e\uff0c\u6768\u6587\u533b\u751f\u9047\u88ad\u7684\u89c6\u9891\u5728\u4e92\u8054\u7f51\u4e0a\u4f20\u64ad\u3002\u770b\u5230\u8fd9\u5219\u89c6\u9891\u7684\u5f53\u665a\uff0c\u6b66\u6c49\u5927\u5b66\u4e2d\u5357\u533b\u9662\u6ccc\u5c3f\u79d1","url":"https:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=10&id=1630"};
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 () {
}
});
});
}