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=1869&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: 1715410104,
nonceStr: '4yM0HIKOHoU1SoWh',
signature: '484979aad4778d14e16b0d8d044fc97520e19991',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/202002\/afdb358432df6878c51d878083dfcbee.jpg","title":"\u897f\u5357\u533b\u79d1\u5927\u5b66\u9644\u5c5e\u4e2d\u533b\u533b\u9662\uff1a\u5979\u72e0\u5fc3\u629b\u4e0b\u53cc\u80de\u80ce\u5973\u513f\uff0c\u77ed\u53d1\u8d74\u6218","smalltext":"\u201c\u5988\u5988\u8981\u53bb\u6253\u5c0f\u602a\u517d\uff0c\u4f60\u4eec\u5728\u5bb6\u597d\u597d\u7684\uff0c\u7b49\u7740\u5988\u5988\u51ef\u65cb\u800c\u5f52\uff01\u201d\u4e34\u884c\u524d\uff0c\u897f\u5357\u533b\u79d1\u5927\u5b66\u9644\u5c5e\u4e2d\u533b\u533b\u9662\u7b2c\u4e8c\u6279\u6cf8\u5dde\u201c\u65b0\u51a0\u80ba\u708e\u201d\u5e94\u6025\u533b\u7597\u961f\u961f\u5458\u5434\u7fe0\u73b2\u4e3b\u7ba1\u62a4\u5e08\u5bf9\u81ea\u5df11\u5c81\u96f68\u4e2a\u6708\u7684\u53cc\u80de\u80ce\u5973\u513f\u5c0f","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=1869"};
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 () {
}
});
});
}