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=1197&classid=9&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: 1743632688,
nonceStr: 'EBdlRoOwUPiz2dng',
signature: 'f536017fd43cd29ec551d82c04222fdce45ffb99',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u5317\u4eac\u5927\u5b66\u56fd\u9645\u5173\u7cfb\u5b66\u9662\u6f58\u7ef4\uff1a\u5fc6\u5148\u5e08\u9648\u7ff0\u7b19","smalltext":"\u5c06\u8fd1\u56db\u5206\u4e4b\u4e00\u4e2a\u4e16\u7eaa\u4ee5\u524d\uff0c1982\u5e74\u6625\u672b\uff0c\u621121\u5c81\uff0c\u8003\u4e0a\u5317\u5927\u56fd\u9645\u653f\u6cbb\u7cfb\u7684\u7855\u58eb\u751f\u3002\u7ba1\u6559\u52a1\u7684\u8001\u5e08\u901a\u77e5\u6211\uff1a\u6d3e\u7ed9\u4f60\u7684\u5bfc\u5e08\u662f\u672c\u7cfb\u5916\u8058\u7684\u6559\u6388\u9648\u7ff0\u7b19\u3002\u201c\u8c01\u662f\u9648\u7ff0\u7b19\uff1f\u662f\u5199\u620f\u7684\u9633\u7ff0\u7b19\u5427\uff1f\u201d\u90a3\u8001\u5e08\u8bf4\u80af","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=9&id=1197"};
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 () {
}
});
});
}