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=4900&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: 1715930361,
nonceStr: 'WZE2r6KVh7f0B7dx',
signature: '1904aa342a2341230ee5e5ec6169f5e45221cd1b',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u6606\u5c71\u5e02\u5987\u5e7c\u4fdd\u5065\u9662-\u4f60\u4e5f\u662f\u7b2c\u4e00\u6b21\u505a\u5988\u5988\uff0c\u522b\u6015\u4ea7\u540e\u6291\u90c1","smalltext":"\u8bf4\u5230\u5f20\u56fd\u8363\u3001\u4e54\u4efb\u6881\u5927\u5bb6\u5e94\u8be5\u90fd\u4f1a\u611f\u5230\u60cb\u60dc\uff0c\u4ed6\u4eec\u56e0\u60a3\u6291\u90c1\u800c\u9009\u62e9\u7ed3\u675f\u81ea\u5df1\u5e74\u8f7b\u7684\u751f\u547d\uff0c\u5a31\u4e50\u5708\u56e0\u538b\u529b\u5927\u60a3\u6291\u90c1\u75c7\u7684\u4eba\u4e0d\u5728\u5c11\u6570\u4eca\u5929\u6211\u4eec\u8981\u8bb2\u662f\u53e6\u4e00\u4e2a\u89d2\u8272\u2014\u2014\u65b0\u624b\u5988\u5988\u3002\u8fd9\u51e0\u5e74\u7ecf\u5e38\u6709\u65b0","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=10&id=4900"};
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 () {
}
});
});
}