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=874&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: 1747146557,
nonceStr: 'ROb8BgAPaNC4E0TA',
signature: 'a7efd9af17fe637a046f8712875760f23eaf0a98',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/201907\/70955c4157599b0893ead46fa2c57d9e.jpg","title":"\u82cf\u5927\u9644\u4e00\u9662\uff1a3D\u6253\u5370\u6280\u672f\u8ba975\u5c81\u963f\u5a46\u91cd\u5c55\u7b11\u989c","smalltext":"\u201c\u6211\u53c8\u80fd\u8d70\u8def\u4e86\uff01\u201d\u987e\u963f\u5a46\u7684\u5174\u594b\u6ea2\u4e8e\u8a00\u8868\uff01\u79d1\u6280\u65e5\u65b0\u6708\u5f02\uff0c3D\u6253\u5370\u6280\u672f\u5df2\u7ecf\u4e0d\u662f\u65b0\u9c9c\u8bcd\u6c47\u4e86\uff0c\u53ea\u4e0d\u8fc7\uff0c\u5c063D\u6253\u5370\u6280\u672f\u5e94\u7528\u4e8e\u9ad8\u96be\u5ea6\u590d\u6742\u5173\u8282\u7ffb\u4fee\u624b\u672f\uff0c\u4e2a\u6027\u5316\u7cbe\u786e\u5236\u5b9a\u6cbb\u7597\u65b9\u6848\uff0c\u8ba975\u5c81\u7684\u987e\u963f\u5a46\u91cd","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=874"};
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 () {
}
});
});
}