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=850&classid=4&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: 1738752586,
nonceStr: 'YweY3Unm89ZnWo9H',
signature: '9273a9c89efcae6ad6887e7ac4b76408adeb7475',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/201907\/90f001844b3098bbf66b41a6f6717818.jpg","title":"\u590d\u65e6\u5927\u5b66\u9644\u5c5e\u4e2d\u5c71\u533b\u9662\u9f50\u7490\u7490\uff1a\u5728\u8fd9\u91cc\uff0c\u611f\u53d7\u65f6\u5149\u5bf9\u8bdd\u200b","smalltext":" \u5982\u679c\u8981\u5bf9\u81ea\u5df1\u4ece\u4e8b\u533b\u9662\u4eba\u6587\u5de5\u4f5c\u505a\u4e2a\u56de\u987e\u548c\u603b\u7ed3\uff0c\u8fd9\u4e9b\u5e74\u6536\u83b7\u6700\u591a\u7684\u662f\u4e00\u6bb5\u201c\u542c\u6545\u4e8b\u201d\u7684\u7ecf\u5386\u3002\u4e00\u6b21\u6b21\u8046\u542c\u548c\u611f\u609f\uff0c\u8ba9\u6211\u7ecf\u5386\u548c\u611f\u53d7\u7740\u4e00\u573a\u573a\u201c\u65f6\u5149\u201d\u7684\u5bf9\u8bdd\u3002 \u51e0\u5e74\u524d\uff0c\u6211\u548c\u5c0f\u4f19\u4f34\u4eec\u4e00\u8d77","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=4&id=850"};
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 () {
}
});
});
}