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=1929&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: 1747146484,
nonceStr: '9QDZvTvA7AeeqgNc',
signature: 'f6b2962c3e0e0f507a99fc0f7945a98ca8cf2ed5',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u6e29\u5dde\u5e02\u4e2d\u533b\u9662\uff1a \u6614\u65e5\u6218\u975e\u5178\uff0c\u4eca\u671d\u6597\u65b0\u51a0\uff0c\u201c\u8001\u5c06\u201d\u6731\u5c0f\u533a\u518d\u4e0a\u4e00\u7ebf","smalltext":"17\u5e74\u524d\uff0c\u521a\u53c2\u52a0\u5de5\u4f5c\u4e09\u56db\u5e74\u7684\u6731\u5c0f\u533a\uff0c\u6210\u4e3a\u6e29\u5dde\u7b2c\u4e00\u6279\u6297\u51fb\u975e\u5178\u75ab\u60c5\u7684\u201c\u52c7\u58eb\u201d\uff1b17\u5e74\u540e\uff0c\u4f5c\u4e3a\u6e29\u5dde\u5e02\u4e2d\u533b\u9662\u611f\u67d3\u809d\u75c5\u79d1\u4e3b\u4efb\u7684\u4ed6\uff0c\u4e3b\u52a8\u8bf7\u7f28\u5e26\u9886\u5e74\u8f7b\u7684\u533b\u751f\u518d\u6b21\u8e0f\u4e0a\u6297\u51fb\u65b0\u578b\u51a0\u72b6\u75c5\u6bd2\u611f\u67d3\u80ba\u708e","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=1929"};
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 () {
}
});
});
}