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=2771&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: 1715747502,
nonceStr: 'XjXwROP3CYusJGJ9',
signature: '26e8f8dcf1af412015eb048b9e8dd66974ffe1b2',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u4e0a\u6d77\u4ea4\u901a\u5927\u5b66\u533b\u5b66\u9662\u9644\u5c5e\u7b2c\u4e5d\u4eba\u6c11\u533b\u9662\uff1a\u201c\u5fae\u7b11\u7b51\u68a6\u201d\u5507\u816d\u88c2\u60a3\u513f\u5065\u5eb7\u4ff1\u4e50\u90e8","smalltext":"\u4e00\u3001\u4eba\u6587\u6848\u4f8b\u80cc\u666f\u5507\u816d\u88c2\u662f\u53e3\u8154\u988c\u9762\u90e8\u6700\u5e38\u89c1\u7684\u5148\u5929\u6027\u7578\u5f62\uff0c\u6839\u636e\u56fd\u5185\u7684\u6587\u732e\u62a5\u9053\u5507\u816d\u88c2\u7684\u53d1\u75c5\u7387\u4e3a1.17\u2030~2.04\u2030\uff0c\u8fd1\u5e74\u6765\u7684\u8d44\u6599\u8868\u660e\u8fd8\u6709\u4e0d\u65ad\u4e0a\u5347\u7684\u8d8b\u52bf\u3002\u5507\u816d\u88c2\u60a3\u513f\u88ab\u5916\u754c\u79f0\u4e3a\u201c\u5fae","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=11&id=2771"};
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 () {
}
});
});
}