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=1259&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: 1714699090,
nonceStr: 'l1O1Q3FhUlLxghHH',
signature: 'd055071d9cb5c603a595866a5f976f5d8e1bde74',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u897f\u5357\u533b\u79d1\u5927\u5b66\u9644\u5c5e\u4e2d\u533b\u533b\u9662:\u76d1\u63a7\u4e0b\u4e00\u5e55\uff01\u5987\u4ea7\u79d1\u533b\u751f\u201c\u8dea\u201d\u6258\u80ce\u513f\u8110\u5e26","smalltext":"2019\u5e7410\u67088\u65e5\u51cc\u6668\u6cf8\u5dde\u4e00\u5b55\u5987\u5728\u5bb6\u4e2d\u7a81\u7136\u7834\u6c34\u51fa\u73b0\u8110\u5e26\u8131\u5782\u9669\u60c5\u5371\u53ca\u80ce\u513f\u6027\u547d\u5987\u4ea7\u79d1\u526f\u6559\u6388\u9f99\u5c0f\u5e73\u8dea\u5728\u6551\u62a4\u5e8a\u4e0a\u6258\u4e3e\u8110\u5e26\u76f4\u81f3\u5b55\u5987\u8eba\u5230\u624b\u672f\u5e8a\u4e0a\u2026\u2026\u80ce\u819c\u7834\u88c2 \u80ce\u513f\u8110\u5e26\u8131\u51fa \u201c\u533b","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=1259"};
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 () {
}
});
});
}