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=4896&classid=11&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: 1716156252,
nonceStr: 'AyGkg9mItQPbZzAr',
signature: 'a0193fef3f9bd472b319137b06a9f9ac79eea622',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u804a\u57ce\u5e02\u4e1c\u660c\u5e9c\u4eba\u6c11\u533b\u9662-\u515a\u5efa\u5f15\u9886\uff0c\u5f00\u521b\u533b\u9662\u5065\u5eb7\u79d1\u666e\u65b0\u5c40\u9762","smalltext":"\u968f\u7740\u793e\u4f1a\u7ecf\u6d4e\u7684\u53d1\u5c55\uff0c\u4eba\u4eec\u5bf9\u5065\u5eb7\u77e5\u8bc6\u7684\u9700\u6c42\u8d8a\u6765\u8d8a\u5927\uff0c\u5065\u5eb7\u79d1\u666e\u6210\u4e3a\u6c11\u751f\u5927\u4e8b\u3002\u6839\u636e\u300a\u5065\u5eb7\u4e2d\u56fd2030\u89c4\u5212\u7eb2\u8981\u300b\u63d0\u51fa\u7684\u201c\u5171\u5efa\u5171\u4eab\u3001\u5168\u6c11\u5065\u5eb7\u201d\u6218\u7565\u4e3b\u9898\uff0c\u666e\u53ca\u5065\u5eb7\u751f\u6d3b\u6210\u4e3a\u9996\u8981\u4efb\u52a1\uff0c\u5065\u5eb7","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=11&id=4896"};
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 () {
}
});
});
}