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=1354&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: 1715097528,
nonceStr: 'jpD9Kbo5ZuITDHyk',
signature: '7a093ac0b9e1c5b5ad318db08cc1f01efe78b119',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/201911\/1bac6e2f091bf2fc303627bb0db86e96.jpg","title":"\u5e38\u5dde\u4e00\u9662\uff1a\u8de8\u8d8a1800\u516c\u91cc\uff0c\u4ed6\u5c06\u4ece\u533b\u521d\u5fc3\u954c\u523b\u5728\u9752\u85cf\u9ad8\u539f","smalltext":"\u91d1\u79cb\u5341\u6708\uff0c\u662f\u4e30\u6536\u7684\u65f6\u8282\uff0c\u4e5f\u662f\u4e3e\u56fd\u6b22\u5e86\u7684\u65e5\u5b50\uff0c\u800c\u5bf9\u5e38\u5dde\u4e00\u9662\u7684\u4ed6\u6765\u8bf4\uff0c\u8fd9\u662f\u4e00\u4e2a\u65b0\u7684\u5f00\u59cb\u3002\u80a9\u8d1f\u7740\u5404\u7ea7\u7ec4\u7ec7\u7684\u91cd\u6258\u4e0e\u4eba\u6c11\u7684\u671f\u671b\uff0c\u5e26\u7740\u533b\u9662\u9886\u5bfc\u548c\u5168\u9662\u804c\u5de5\u7684\u5631\u6258\uff0c\u8d85\u58f0\u79d1\u4e3b\u6cbb\u533b\u5e08\u738b\u51b2\u8e0f\u4e0a\u524d","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=1354"};
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 () {
}
});
});
}