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=3568&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: 1714724190,
nonceStr: 'KBrBGDKh8YRsx1bu',
signature: 'c8666cd73e9bdac0c2c4cd7d6d9404808a558303',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u6df1\u5733\u5e02\u4e2d\u533b\u9662\uff1a\u51dd\u5fc3\u805a\u529b\u4f20\u627f\u521b\u65b0\uff0c\u63a8\u8fdb\u9ad8\u6c34\u5e73\u7efc\u5408\u6027\u7814\u7a76\u578b\u4e2d\u533b\u533b\u9662\u5efa\u8bbe","smalltext":"\u6df1\u5733\u5e02\u4e2d\u533b\u9662\u63a8\u62ff\u79d1\u6797\u8fdc\u65b9\u4e3b\u4efb\u8fd0\u7528\u6574\u810a\u7597\u6cd5\u4e3a\u60a3\u8005\u6cbb\u7597\u8170\u75be\u3002\u6df1\u5733\u5e02\u4e2d\u533b\u9662\u5fc3\u80f8\u5916\u79d1\u7a0b\u9896\u4e3b\u4efb\u6b63\u5728\u4e3a\u5148\u5929\u6027\u5fc3\u810f\u75c5\u60a3\u8005\u5b9e\u65bd\u5c01\u5835\u672f\u3002 \u4e2d\u533b\u836f\u662f\u201c\u5065\u5eb7\u4e2d\u56fd\u201d\u5efa\u8bbe\u7684\u91cd\u8981\u529b\u91cf\uff0c\u201c\u652f\u6301","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=3568"};
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 () {
}
});
});
}