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=6685&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: 1746135296,
nonceStr: 'pCgZxXZKma9kayXU',
signature: '8c2ee4ee8b0490ac2b6abb70ac3fc07c167d1178',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u533b\u9662\u4eba\u6587\u7ba1\u7406\u5f81\u6587\uff1a\u4e0e\u81ea\u5df1\u7684\u5bf9\u8bdd\u4e4b\u4e66","smalltext":"\u524d\u51e0\u5929\u5de5\u4f5c\u4e4b\u4f59\uff0c\u4e0e\u79d1\u91cc\u4e00\u4f4d\u56db\u5341\u6765\u5c81\u7684\u7537\u540c\u4e8b\u804a\u5230\u4e86\u5f53\u5e74\u660e\u6708\uff0c\u4e8e\u662f\u8bf4\u5230\u4e86\u300a\u660e\u671d\u90a3\u4e9b\u4e8b\u513f\u300b\uff0c\u6211\u4eec\u4ece\u5f90\u8fbe\u3001\u5e38\u9047\u6625\u8bf4\u5230\u4e86\u5510\u5bc5\u3001\u738b\u9633\u660e\uff0c\u53c8\u4ece\u4fde\u5927\u7337\u3001\u621a\u7ee7\u5149\u8bf4\u5230\u5f90\u73a0\u3001\u5f20\u5c45\u6b63\uff0c\u867d\u7136\u6709\u4e9b\u5386","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=14&id=6685"};
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 () {
}
});
});
}