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=1860&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: 1715616729,
nonceStr: 'S88UoTpbmqtiOhia',
signature: 'f1c7565dcd824eb9e2168ef8bf4b68273e3404aa',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/202002\/3ea632b16ea56fa6e478168bf924eef9.jpg","title":"\u4e2d\u56fd\u79d1\u5927\u9644\u4e00\u9662\uff1a\u6731\u54e5\u54e5\u5199\u7ed9\u6731\u7238\u7238\u7684\u4e00\u5c01\u4fe1","smalltext":"\u201c\u6731\u7238\u7238\uff0c\u5bb6\u91cc\u8fd1\u6765\u4e00\u5207\u90fd\u597d\uff0c\u60a8\u4e0d\u5728\u5bb6\uff0c\u6211\u8d1f\u8d23\u5e26\u59b9\u59b9\u7761\u89c9\u3002\u5979\u5f88\u4e56\uff0c\u4e5f\u5f88\u60f3\u60a8\u3002\u8fd9\u51e0\u5929\uff0c\u6211\u9884\u4e60\u4e86\u65b0\u7684\u8bfe\u6587\u300a\u627e\u6625\u5929\u300b\u548c\u300a\u5f00\u6ee1\u9c9c\u82b1\u7684\u5c0f\u8def\u300b\uff0c\u5e0c\u671b\u53ef\u4ee5\u501f\u7740\u6e29\u6696\u7684\u6625\u98ce\u5e26\u53bb\u6211\u4eec\u6240\u6709\u7f8e\u597d\u7684\u795d","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=1860"};
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 () {
}
});
});
}