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=177&classid=10&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: 1744328803,
nonceStr: 'ovMNAhnpAAwaxQVn',
signature: 'bc8544a97b0613cd434d8c312cbf88be8e862287',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u6e56\u5317\u7701\u4e2d\u5c71\u533b\u9662\uff1a\u5728\u8f6c\u578b\u4e2d\u6253\u9020\u51fa\u7684\u4eba\u6587\u54c1\u724c","smalltext":" \u5bf9\u4e8e\u8001\u4e00\u8f88\u7684\u7684\u6b66\u6c49\u4eba\u6765\u8bf4\uff0c\u4e00\u5b9a\u8fd8\u5bf9\u8fd9\u6837\u4e00\u4ef6\u4e8b\u60c5\u8bb0\u5fc6\u72b9\u65b0\uff1a1951\u5e74\u7684\u201c\u516b\u4e00\u201d\u5efa\u519b\u8282\u90a3\u5929\uff0c\u9633\u5149\u707f\u70c2\uff0c\u76db\u51b5\u7a7a\u524d\uff0c\u5728\u785a\u53e3\u4e2d\u5c71\u5927\u9053\u7684\u6700\u5357\u7aef\uff0c\u4e00\u5bb6\u4e13\u95e8\u4e3a\u519b\u9700\u4f01\u4e1a\u804c\u5de5\u63d0\u4f9b\u533b\u7597\u670d\u52a1\u7684\u201c\u519b","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=10&id=177"};
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 () {
}
});
});
}