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=650&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: 1714369818,
nonceStr: 'M2FwJOQxf3RsQrvE',
signature: '700cf877a2242d3dd83a7ee5e637db01d6e9e663',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u6df1\u5733\u5e02\u4e2d\u533b\u9662\uff1a\u4e00\u6b21\u201c\u610f\u5916\u201d \u4e0e\u533b\u7ed3\u7f18\u5973\u5b50\u611f\u6069\u6df1\u5733\u533b\u751f\u633d\u6551\u5bb6\u5ead","smalltext":"\u4fd7\u8bdd\u8bf4\uff1a\u201c\u60a3\u96be\u89c1\u771f\u60c5\u3002\u201d\u4e18\u5973\u58eb\u5728\u4e00\u6b21\u533b\u7597\u201c\u610f\u5916\u201d\u4e2d\uff0c\u4e0e\u6df1\u5733\u5e02\u4e2d\u533b\u9662\u7684\u4e00\u7fa4\u533b\u62a4\u4eba\u5458\u7ed3\u7f18\uff0c\u4e0d\u4ec5\u6210\u4e3a\u4e86\u670b\u53cb\uff0c\u8fd8\u6210\u4e86\u60a3\u96be\u4e4b\u4ea4\u3002\u7ed9\u5b69\u5b50\u6cbb\u7597\u80be\u708e\uff0c\u7ed3\u679c\u811a\u88ab\u70e7\u4f242018\u5e74\u521d\uff0c\u4e18\u5973\u58eb\u5e74\u4ec54\u5c81\u7684","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=11&id=650"};
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 () {
}
});
});
}