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=713&classid=11&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: 1746121123,
nonceStr: 'tVC8uLSBJ7SEFSah',
signature: 'f4375cd8a44ea19dd27a4fa2197a7c268e92a06a',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/201907\/336b568613767f43669f5aa05c4eed45.jpg","title":"\u53a6\u95e8\u5f18\u7231\u533b\u9662\uff1a\u4f60\u4e0d\u77e5\u9053\u7684\u5f18\u7231\u90a3\u4e9b\u4e8b\u513f","smalltext":"1 \u71c3\uff1a\u9ed1\u9a6c\/\u70ed\u8840--\u81f4\u9752\u6625\u592a\u71c3\u592a\u55e8\u592a\u70ed\u8840\u4e86\uff01\u5efa\u53d1\u96c6\u56e2\u201c\u81f4\u9752\u6625\u201d\u4e09\u4eba\u7bee\u7403\u8d5b\u4e2d\uff0c\u5e74\u8f7b\u7684\u5f18\u7231\u533b\u7597\u961f\u5982\u4e00\u5339\u9ed1\u9a6c\u4ee5\u7834\u7af9\u4e4b\u52bf\u4e00\u8def\u62ab\u8346\u65a9\u68d8\u6740\u5165\u51b3\u8d5b\uff0c\u5e76\u5c06\u51a0\u519b\u6536\u5165\u56ca\u4e2d\uff01\u5f53\u665a\uff0c\u6574\u4e2a\u670b\u53cb\u5708\u90fd\u6cb8\u817e","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=11&id=713"};
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 () {
}
});
});
}