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=1194&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: 1743702961,
nonceStr: 'MOMpkBeLsW4GWUMH',
signature: 'ed50dda877443af703ce8fae71af91f4ac4b8a36',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u6210\u90fd\u5e02\u536b\u8ba1\u5ba3\u6559\u4e2d\u5fc3\u8303\u6708\u79cb\uff1a\u6b27\u73ca\u7684\u5341\u5e74\u4e00\u89c9\u201c\u9ebb\u9189\u68a6\u201d","smalltext":"\u80a4\u8272\u767d\u3001\u53d1\u9afb\u9ad8\uff0c\u9e45\u86cb\u8138\u3001\u6708\u7259\u7709\uff0c\u521d\u8bc6\u6b27\u73ca\u7684\u4eba\u7edd\u5bf9\u60f3\u4e0d\u5230\u773c\u524d\u8fd9\u4f4d\u6e29\u6587\u5c14\u96c5\u3001\u7709\u76ee\u5982\u753b\u7684\u7f8e\u5973\u662f\u4f4d\u201c\u533b\u9f84\u201d\u6709\u774034\u5e74\u7684\u9ebb\u9189\u79d1\u533b\u751f\uff0c\u66f4\u8ba9\u4eba\u610f\u60f3\u4e0d\u5230\u7684\u662f\u5979\u8fd8\u6709\u7740\u670d\u5f79\u90e8\u961f\uff0c\u201c\u519b\u9f84\u201d 27","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=4&id=1194"};
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 () {
}
});
});
}