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=118&classid=12&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: 1715825917,
nonceStr: 'C4VLw3BhcbOQzSuS',
signature: '4930d85a970ff569e80280f45f3b751368b12885',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/201905\/730451ca83e2b00fb13256719a4e64a9.jpg","title":"\u6e56\u5357\u7701\u4eba\u6c11\u533b\u9662\u515a\u59d4\u526f\u4e66\u8bb0\u9ec4\u5229\u534e","smalltext":"\u9ec4\u5229\u534e\uff0c\u5973\uff0c\u66fe\u4efb\u6e56\u5357\u7701\u4eba\u6c11\u533b\u9662\u515a\u59d4\u526f\u4e66\u8bb0\u3002\u591a\u5e74\u6765\uff0c\u5979\u81f4\u529b\u4e8e\u5efa\u8bbe\u201c\u60a3\u8005\u5fc3\u4e2d\u6700\u597d\u7684\u4eba\u6587\u533b\u9662\u201d\uff0c\u79ef\u6781\u63a2\u5bfb\u4eba\u6587\u771f\u8c1b\uff0c\u704c\u8f93\u4eba\u6587\u7406\u5ff5\uff0c\u4f20\u9012\u4eba\u6587\u60c5\u6000\uff0c\u63a8\u884c\u4eba","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=12&id=118"};
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 () {
}
});
});
}