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=2398&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: 1730418451,
nonceStr: 'JBPuh8JgJuNFfMAq',
signature: 'b47a282b257033bcca14337f027899885dd5bab3',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u82cf\u5dde\u5e02\u5e7f\u6d4e\u533b\u9662\uff1a\u521b\u7acb\u201c\u7526\u7ea2\u201d\u515a\u5efa\u54c1\u724c \u953b\u9020\u201c\u7526\u7cfb\u201d\u5f15\u64ce\u71c3\u6d3b\u529b","smalltext":"\u4f5c\u4e3a\u4e00\u6240\u516c\u7acb\u7684\u4e09\u7532\u4e13\u79d1\u533b\u9662\uff0c\u82cf\u5dde\u5e02\u5e7f\u6d4e\u533b\u9662\u627f\u62c5\u7740\u5168\u5e02\u5c45\u6c11\u7cbe\u795e\u5fc3\u7406\u75be\u75c5\u7684\u6cbb\u7597\u3001\u4fdd\u5065\u3001\u5eb7\u590d\u91cd\u4efb\uff0c\u662f\u515a\u9886\u5bfc\u7684\u536b\u751f\u5065\u5eb7\u6218\u7ebf\u7684\u751f\u529b\u519b\uff0c\u662f\u515a\u8054\u7cfb\u4eba\u6c11\u3001\u670d\u52a1\u7fa4\u4f17\u7684\u91cd\u8981\u7a97\u53e3\u3002\u82cf\u5dde\u5e02\u5e7f","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=10&id=2398"};
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 () {
}
});
});
}