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=2000&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: 1747145519,
nonceStr: 'JJJGLL3paZsL7VmM',
signature: '4069e3df33288af0306a793e04064f6068c7734e',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u4e50\u5c71\u5e02\u7cbe\u795e\u536b\u751f\u4e2d\u5fc3\uff1a\u56e0\u4e3a \u6211\u662f\u4e00\u540d\u6218\u58eb","smalltext":"\u6e05\u6668 \u4e03\u65f6\u534a \u8fb0\u65f6\uff0c \u5929\u8272\u7070\u6da9\uff0c\u5bd2\u98ce\u51db\u51bd\uff0c\u7ec6\u96e8\u7eb7\u98de\uff0c \u4f60\u603b\u662f\u50cf\u95e8\u8bca\u697cLED\u5927\u5c4f\u4e0a\u7684\u65f6\u949f\u4e00\u6837\uff0c \u51c6\u65f6\u5728\u4e2d\u5fc3\u5927\u95e8\u901a\u9053\u53e3\u7ad9\u7acb\uff0c \u4e00\u8fb9\uff0c\u7b11\u76c8\u76c8\u5730\u5411\u540c\u4e8b\u4eec\u95ee\u5019\u7740\uff1a\u65e9\u4e0a\u597d\uff01 \u50cf\u6781\u4e86\uff0c\u9633\u6625\u4e09\u6708\u7684\u201c\u5439\u9762\u4e0d\u5bd2","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=2000"};
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 () {
}
});
});
}