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=1704&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: 1714634648,
nonceStr: 'bpb5fxMU4lLWIRb8',
signature: 'c0c97b44467daeec3715c857b1e3b7ebde07cfd1',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u961c\u65b0\u5e02\u4e2d\u5fc3\u533b\u9662\uff1a\u8fd9\u4e2a\u4e94\u53e3\u4e4b\u5bb6\uff0c\u6709\u4e09\u4e2a\u4eba\u7ed9\u201c\u65b0\u51a0\u201d\u80ba\u708e\u4e0b\u6218\u4e66","smalltext":"\u9ad8\u741b\u6dc7\u548c\u97e9\u9732\u662f\u961c\u65b0\u5e02\u4e2d\u5fc3\u533b\u9662\u7684\u4e00\u5bf9\u62a4\u58eb\u592b\u59bb\uff0c\u9ad8\u741b\u6dc7\u662f\u6d88\u6bd2\u4f9b\u5e94\u4e2d\u5fc3\u7684\u526f\u62a4\u58eb\u957f\uff0c\u8fd9\u6b21\u75ab\u60c5\u53d1\u751f\u540e\uff0c\u88ab\u7d27\u6025\u8c03\u914d\u5230\u53d1\u70ed\u95e8\u8bca\u8d1f\u8d23\u914d\u5408\u62a4\u7406\u7ba1\u7406\u5de5\u4f5c\u3002\u97e9\u9732\u662f\u547c\u5438\u5185\u79d1\u7684\u4e00\u540d\u62a4\u58eb\uff0c\u6709\u7740\u4e30\u5bcc","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=1704"};
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 () {
}
});
});
}