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=1446&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: 1715124327,
nonceStr: 'P6ZRUYVlhRxi7Hoh',
signature: '0cd12f87f0cc0de381d76ddb4f474eb787a1f9de',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/201912\/611438d88d52e3cca04b95893ed1e21a.jpg","title":"\u67f3\u5dde\u5e02\u5987\u5e7c\u4fdd\u5065\u9662:\u89c6\u529b\u6b8b\u75be\u513f\u7ae5\u7684\u201c\u5149\u660e\u68a6\u201d","smalltext":"\u201c\u592a\u611f\u8c22\u4f60\u4eec\u4e86\uff01\u4f60\u4eec\u771f\u7684\u662f\u6211\u5b69\u5b50\u7684\u5929\u4f7f\uff01\u201d\u67f3\u5dde\u5e02\u5987\u5e7c\u4fdd\u5065\u9662\u773c\u79d1\u89c6\u529b\u5eb7\u590d\u8bad\u7ec3\u5ba4\u5916\u6768\u6768\u5988\u5988\u53d1\u51fa\u7531\u8877\u7684\u611f\u53f9\u3002\u539f\u6765\uff0c\u6768\u6768\u662f\u67f3\u5dde\u5e02\u5987\u5e7c\u4fdd\u5065\u9662\u9996\u6279\u63a5\u53d7\u8bd5\u70b9\u89c6\u529b\u6b8b\u75be\u513f\u7ae5\u5eb7\u590d\u8bad\u7ec3\u7684\u5b69","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=1446"};
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 () {
}
});
});
}