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=3846&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: 1745108650,
nonceStr: '5Ynaw9sNFhme7ciI',
signature: 'cfecb8ad583de5cd6a53938b218c75dddda0ab82',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u6c5f\u6c49\u6cb9\u7530\u603b\u533b\u9662\uff1a\u6025\u8bca\u79d1\u201c\u7f8e\u5c0f\u62a4\u201d\u5f53\u8d77\u201c\u5929\u4f7f\u5988\u5988\u201d","smalltext":"12\u67082\u65e5\u665a\uff0c\u6cb9\u7530\u603b\u533b\u9662\u6025\u8bca\u79d1\u62a4\u58eb\u957f\u5218\u660e\u7ea2\u7684\u4e00\u6761\u670b\u53cb\u5708\uff0c\u5f15\u6765\u4f17\u4eba\u70b9\u8d5e\uff1a\u79f0\u5979\u4eec\u79d1\u7684\u201c\u7f8e\u5c0f\u62a4\u662f\u6700\u7f8e\u7684\u5929\u4f7f\u5988\u5988\u3002\u201d","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=3846"};
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 () {
}
});
});
}