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=6714&classid=14&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: 1715416276,
nonceStr: 'doIrjW0qvbX1axf3',
signature: '1ab87856d3544df892c9334cde049d324208cc66',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u533b\u9662\u4eba\u6587\u7ba1\u7406\u5f81\u6587\uff1a\u62e9\u4e00\u4e8b\uff0c\u7ec8\u4e00\u751f\uff0c\u4e0d\u4e3a\u7e41\u534e\u6613\u5320\u5fc3","smalltext":"\u5510\u4ee3\u5f20\u795c\u6709\u8bd7\u4e91\uff1a\u201c\u7cbe\u534e\u5728\u7b14\u7aef\uff0c\u54ab\u5c3a\u5320\u5fc3\u96be\u3002\u201d\u8fd9\u5927\u6982\u662f\u6c49\u8bed\u4e2d\u5173\u4e8e\u201c\u5320\u5fc3\u201d\u4e8c\u5b57\u6700\u65e9\u7684\u8bb0\u8f7d\u3002\u800c\u5728\u8fd9\u4e2a\u88ab\u5de5\u4e1a\u65f6\u4ee3\u7684\u6d41\u6c34\u7ebf\u78be\u8fc7\u3001\u4eba\u5fc3\u601d\u53e4\u7684\u5f53\u4ee3\uff0c\u201c\u5320\u5fc3\u201d\u88ab\u63d0\u70bc\u548c\u8d4b\u4e88\u4e86\u66f4\u591a\u7684\u5185\u6db5","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=14&id=6714"};
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 () {
}
});
});
}