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=1154&classid=4&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: 1746128624,
nonceStr: 'Oaj1GvRIX6CQ6hQO',
signature: '161cae4218468f2e3b023ef086fbb4a3dd7f5bef',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u5185\u6c5f\u5e02\u7b2c\u4e00\u4eba\u6c11\u533b\u9662\u7f57\u7ade\u592b:\u201c\u7b2c\u4e00\u201d\u7684\u6545\u4e8b","smalltext":"\u5185\u6c5f\u5e02\u7b2c\u4e00\u4eba\u6c11\u533b\u9662\u4ece\u4e00\u4e5d\u4e09\u4e5d\u5e74\u81f3\u4eca\uff0c\u6297\u6218\u4e2d\u7b5a\u8def\u84dd\u7f15\uff0c\u89e3\u653e\u540e\u59cb\u5177\u89c4\u6a21\uff0c\u6539\u9769\u5f00\u653e\u540e\u5f97\u5230\u957f\u8db3\u53d1\u5c55\u3002\u5979\u59cb\u7ec8\u548c\u56fd\u5bb6\u7684\u547d\u8fd0\u3001\u6c11\u65cf\u7684\u5174\u8870\u3001\u533b\u5b66\u7684\u660c\u884c\u76f8\u4e0e\u6d6e\u6c89\u606f\u606f\u76f8\u5173\uff0c\u4f46\u4e0d\u5bb9\u5ffd\u89c6\u7684\u662f\uff0c\u4e00","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=4&id=1154"};
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 () {
}
});
});
}