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=4709&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: 1746160351,
nonceStr: 'kbBMw6OegcbLr0ON',
signature: 'e7d961eb7238a9ce1f60abad006ccd543b64b99d',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u6f2f\u6cb3\u5e02\u4e2d\u5fc3\u533b\u9662-\u60f3\u5f53\u53a8\u5e08\u7684\u201c\u5927\u806a\u660e\u201d","smalltext":"\u65e9\u4ea4\u73ed\u6668\u4f1a\u4e0a\uff0c\u6f2f\u6cb3\u5e02\u4e2d\u5fc3\u533b\u9662\u795e\u7ecf\u5185\u79d1\u4e09\u75c5\u533a\u591c\u73ed\u533b\u751f\u91cd\u70b9\u4ea4\u73ed\u7684\u4e00\u4f4d\u60a3\u8005\u5f15\u53d1\u4e86\u62a4\u58eb\u674e\u96c5\u96ef\u7684\u597d\u5947\u5fc3\uff0c\u4ed6\u662f\u540e\u534a\u591c\u6536\u4f4f\u75c5\u533a\u7684\uff0c\u53eb\u5c0f\u6d9b\uff08\u5316\u540d\uff09\uff0c14\u5c81\uff0c\u8bca\u65ad\u4e3a\u9885\u5185\u611f\u67d3\u3002\u6668\u95f4\u62a4\u7406\u65f6\uff0c\u674e\u96c5\u96ef\u53d1\u73b0","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=11&id=4709"};
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 () {
}
});
});
}