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=2356&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: 1730418307,
nonceStr: 'ScqwW1bRfWZ49NMo',
signature: '8f2b5cb35be14c4463b13ca09961e3950530c027',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u65b0\u7586\u7109\u8006\u53bf\u4eba\u6c11\u533b\u9662\uff1a\u521b\u65b0\u533b\u7597\u670d\u52a1\u6a21\u5f0f\uff0c\u8ba9\u7fa4\u4f17\u5171\u4eab\u5065\u5eb7\u7ea2\u5229","smalltext":"\u7109\u8006\u56de\u65cf\u81ea\u6cbb\u53bf\u4f4d\u4e8e\u5929\u5c71\u5357\u9e93\uff0c\u7109\u8006\u76c6\u5730\u4e2d\u5fc3\u3002\u5168\u53bf\u884c\u653f\u603b\u9762\u79ef2570.88 \u5e73\u65b9\u516c\u91cc\uff0c\u8f964 \u4e614 \u95472 \u4e2a\u56fd\u8425\u519c\u7267\u573a\uff0c17 \u4e2a\u5c45\u59d4\u4f1a\uff0c46 \u4e2a\u884c\u653f\u6751\uff0c248 \u4e2a\u6751\u6c11\u5c0f\u7ec4\u3002\u53bf\u57df\u4eba\u53e317\u4e07\u4eba\uff0c\u805a\u5c45\u7740\u6c49\u3001\u56de\u3001","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=10&id=2356"};
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 () {
}
});
});
}