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=720&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: 1746677182,
nonceStr: 'Yp0zHueZitHY1LGf',
signature: '10ba005fd64d5cfbe9075cf7f7ac90fe2e3c44d8',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/201907\/bc16d41a99781281fbe1116a9793e168.jpg","title":"\u63ed\u9633\u5e02\u4eba\u6c11\u533b\u9662\uff1a\u9c7c\u9aa8\u5361\u809b\u95e8 \u533b\u751f\u89e3\u96be\u9898","smalltext":" \u201c\u9c7c\u9aa8\u5361\u5589\u201d\u89c1\u5f97\u591a\uff0c\u4f46\u89c1\u8fc7\u201c\u9c7c\u9aa8\u5361\u809b\u95e8\u201d\u5417\uff1f\u8fd1\u65e5\uff0c\u9648\u5148\u751f\u5403\u9c7c\u540e\u4e0d\u5e78\u88ab\u9c7c\u9aa8\u5361\u4f4f\u809b\u95e8\uff0c\u6700\u7ec8\u627e\u5230\u63ed\u9633\u5e02\u4eba\u6c11\u533b\u9662\u666e\u5916\u4e00\u809b\u80a0\u5916\u79d1\uff0c\u6797\u6653\u677e\u533b\u5b66\u7855\u58eb\u4e3a\u5176\u5b9e\u65bd\u809b\u95e8\u76f4\u80a0\u5f02\u7269\u53d6\u51fa\u624b\u672f\uff0c\u53d6\u51fa","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=720"};
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 () {
}
});
});
}