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=1002&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: 1747101798,
nonceStr: 'OKP2CrB7FLssCpBE',
signature: '03c19d3c2b12a407679ac0576aae0d041d3610dc',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u5e7f\u533b\u9644\u5c5e\u987a\u5fb7\u533b\u9662:\u663c\u4e0e\u591c\u7684\u575a\u5b88,\u5e26\u4f60\u8fdb\u5165\u6700\u771f\u5b9e\u7684\u533b\u751f\u5341\u4e8c\u65f6\u8fb0\uff01","smalltext":"\u533b\u8005\u8363\u8000\uff0c\u6e29\u6696\u540c\u884c\uff0c\u5e7f\u5dde\u533b\u79d1\u5927\u5b66\u9644\u5c5e\u987a\u5fb7\u533b\u9662\u81f4\u656c\u4e2d\u56fd\u533b\u5e08\u8282\u5b98\u5ba3\u5927\u7247\u4e8e8\u670819\u65e5\u53d1\u5e03\u3002\u663c\u591c\u66f4\u66ff\uff0c\u56db\u5b63\u8f6e\u56de\uff0c\u533b\u9662\u91cc\u5341\u4e8c\u65f6\u8fb0\u5f85\u673a\uff0c\u5404\u79d1\u5ba4\u5341\u4e8c\u65f6\u8fb0\u5468\u8f6c\uff0c\u4ed6\u4eec\u7684\u4e00\u5929\uff0c\u4f60\u53ef\u80fd\u60f3\u8c61\u4e0d\u5230\u2026\u2026","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=1002"};
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 () {
}
});
});
}