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=1643&classid=5&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: 1714791453,
nonceStr: 'VjZb3sQPpPYoMQFh',
signature: 'd625045646b4592db2b9921a41af587ccdfc4055',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u9752\u5c9b\u5e02\u536b\u751f\u5065\u5eb7\u59d4:\u9752\u5c9b\u4eba\u7684\u997a\u5b50\u6c5f\u6e56","smalltext":"\u7f8e\u98df\u6216\u5927\u9690\u9690\u4e8e\u95f9\u5e02\uff0c\u6216\u5c0f\u9690\u9690\u4e8e\u964b\u5df7\u4e07\u5343\u98ce\u5473\u7684\u78b0\u649e\uff0c\u5404\u5927\u83dc\u7cfb\u7684\u878d\u5408\uff0c\u9020\u5c31\u4e86\u996e\u98df\u6c5f\u6e56\u3002\u9752\u5c9b\u7684\u5564\u9152\u548c\u86e4\u870a\u662f\u6700\u7279\u522b\u7684\u5b58\u5728\u7b80\u5355\uff0c\u76f4\u63a5\uff0c\u6734\u5b9e\u65e0\u534e \u5728\u89e5\u7b79\u4ea4\u9519\u4e2d\u5c31\u80fd\u611f\u53d7\u5927\u5343\u4e16\u754c\uff0c\u6709\u70b9\u968f\u610f\uff0c","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=1643"};
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 () {
}
});
});
}