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=1498&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: 1747190015,
nonceStr: 'SGOSPY9U3cN3QISU',
signature: '3fc26ba82662b725664464d5c6c3edf06b848f6a',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u590d\u65e6\u5927\u5b66\u9644\u5c5e\u4e2d\u5c71\u533b\u9662\uff1a\u5168\u56fd\u9996\u5957\u300a\u7cd6\u5c3f\u75c5\u54d1\u94c3\u5065\u8eab\u64cd\u300b\u9996\u53d1","smalltext":"\u8054\u5408\u56fd\u7cd6\u5c3f\u75c5\u65e5\u662f\u7531\u56fd\u9645\u7cd6\u5c3f\u75c5\u8054\u76df\u548c\u4e16\u754c\u536b\u751f\u7ec4\u7ec7\u4e8e1991\u5e74\u5171\u540c\u53d1\u8d77\u7684\u6d3b\u52a8\uff0c\u65e8\u5728\u7eaa\u5ff5\u53d1\u73b0\u80f0\u5c9b\u7d20\u7684\u52a0\u62ff\u5927\u73ed\u5ef7\u533b\u751f\u30022019\u5e74\u6d3b\u52a8\u7684\u4e3b\u9898\u662f\u201c\u9632\u63a7\u7cd6\u5c3f\u75c5\uff0c\u4fdd\u62a4\u4f60\u7684\u5bb6\u5ead\u201d\uff0c\u5373\u4ee5\u5bb6\u5ead\u548c\u4e2a","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=1498"};
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 () {
}
});
});
}