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=1272&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: 1746134425,
nonceStr: '9INl2n9waRJ51gLA',
signature: 'bfc9adccc59230086c2dcaf9f44d438df52cbfbf',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u4e0a\u6d77\u5e02\u5949\u8d24\u533a\u4e2d\u5fc3\u533b\u9662\u5b63\u5170\uff1a\u591c\u7684\u5b88\u5019","smalltext":"\u4f60\u89c1\u8fc7\u51cc\u66683\u70b9\u7684\u533b\u9662\u5417\uff1f\r\n\u5f53\u4e16\u754c\u90fd\u5728\u6c89\u7761\uff0c\u5979\uff08\u4ed6\uff09\u4eec\u5374\u8fd8\u5728\u5b88\u5019\uff0c\u7528\u4e00\u4e2a\u53c8\u4e00\u4e2a\u7684\u4e0d\u7720\u4e4b\u591c\uff0c\u4e3a\u751f\u547d\u5b88\u5019\uff01","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=4&id=1272"};
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 () {
}
});
});
}