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=648&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: 1746619996,
nonceStr: 'OD6kWbqX44uAfDW7',
signature: 'c0c1b5b96c09563db5c223926c8ef9620dc0ba25',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/201906\/e161cd2476e5f97d492f3fc2d14f51a5.jpg","title":"\u6d59\u5927\u56db\u9662\uff1a\u62a2\u6551\u4e00\u4f4d\u53d9\u5229\u4e9a\u6eb6\u8840\u75c7\u5b9d\u5b9d\uff0c\u533b\u751f\u62a4\u58eb\u7528\u4e0a\u7ffb\u8bd1\u795e\u5668","smalltext":"\u62a2\u6551\u4e00\u4f4d\u53d9\u5229\u4e9a\u6eb6\u8840\u75c7\u5b9d\u5b9d\uff0c\u5988\u5988\u8bed\u8a00\u4e0d\u901a\u600e\u4e48\u529e\r\n\u533b\u751f\u62a4\u58eb\u7528\u4e0a\u7ffb\u8bd1\u795e\u5668\r\n","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=648"};
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 () {
}
});
});
}