uri=https://www.jiazhumeiguo.com/blog/login/'; url += '&response_type=code&scope=snsapi_userinfo&state=STATE'; setTimeout(function(){ location.href = url; }, 500); } (function(){ +function(){ var dy = 5000; if( parseInt($('#banner').data('size'))===1){ dy = 500000; } new Swiper('#banner', { loop: true, autoplay: { disableOnInteraction: false, delay: dy }, pagination: { el: '.swiper-pagination', clickable: true, }, navigation: { nextEl: '.swiper-button-next', prevEl: '.swiper-button-prev', }, }); var swiper = new Swiper(".horizontal-scroll", { slidesPerView: 6.5, spaceBetween: 0, freeMode: false, pagination: { el: ".swiper-pagination", clickable: true, }, }); }(); +function(){ $(document).on('click', '.hand-open-weixin', function(){ $("#weixin-erweima-open-2023-3-23").fadeIn(200); }); $(".hand-close-weixin, .weui-mask").click(function(){ $("#weixin-erweima-open-2023-3-23").fadeOut(200); }); }(); +function(){ var clipboard = new ClipboardJS('.blog-clip'); clipboard.on('success', function(e) { mobiscroll.toast({ message: '复制成功!', display: 'center', color: 'success', duration: 2000, callback: function(){ $('#user-info-2022-05-13').mobiscroll().popup().mobiscroll('hide'); } }); }); }(); +function(){ $(document).on('click', '.hand-open-info', function(){ $('#user-info-2022-05-13').mobiscroll().popup({ display: 'center', theme: 'ios', animate: 'slidedown', lang: 'zh', buttons:[] }).mobiscroll('show'); }); }(); +function(){ $(document).on('click', '.blog-drawer', function(){ $("#blog-drawer-nav").addClass("ax-drawer-show"); }) }(); +function(){ $(document).on('click', '.blog-show-fuze', function(){ $(this).hide(); $(this).prev().css('overflow', 'initial'); }) }(); +function(){ var meta = { title: $('title').text(), description: $('meta[name=description]').attr('content'), url: document.URL.split('#')[0], logo: $('meta[name=logo]').attr('content'), }; $.get('/api/weixin/token',{referer_url:meta.url}, function(res){ var data = res.data; wx.config({ debug: false, appId: data.appid, timestamp: data.timestamp, nonceStr: data.noncestr, signature: data.signature, jsApiList: ['updateAppMessageShareData', 'updateTimelineShareData'], openTagList: ['wx-open-launch-app', 'wx-open-launch-weapp'] }); wx.ready(function(){ wx.updateAppMessageShareData({ title: meta.title, desc: meta.description, link: meta.url, imgUrl: meta.logo, }); wx.updateTimelineShareData({ title: meta.title, link: meta.url, imgUrl: meta.logo, }); }); }); }(); +function(){ var t = 0, b = 0; $(window).scroll(function(){ t = $(this).scrollTop(); if(t<100){ $('.ax-header').removeClass('header-up header-down').addClass('header-down'); }else{ if(b < t){ $('.ax-header').removeClass('header-up header-down').addClass('header-up'); }else{ $('.ax-header').removeClass('header-up header-down').addClass('header-down'); } setTimeout(function(){ b = t; }, 0); $('.wenyiwen').removeClass('wenyiwen-right-in wenyiwen-right-out').addClass('wenyiwen-right-out'); setTimeout(function(){ $('.wenyiwen').removeClass('wenyiwen-right-in wenyiwen-right-out').addClass('wenyiwen-right-in'); }, 2000); } }) }(); +function(){ setTimeout(function(){ var _hmt = _hmt || []; var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?e279329047e91cde9d08acdd9447648a"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); }, 3000); }(); +function(){ setTimeout(function(){ var request_data = { 'user_id': '36088', 'client_id': "0", 'content': $('title').text(), 'type_id': 3, 'url': 'blog/mgf18f817da70/news/11356' }; $.get('/api/user/log', request_data, function(res){ console.log(res); }); }, 1000); }(); -function(){ $(document).on('click', '.auth_login', function(){ function_auth_login(); }); function function_auth_login(){ return false; var url = 'https://open.weixin.qq.com/connect/oauth2/authorize'; url += "?appid=wx5bb26261bc373796"; url += '&redirect_uri=https://www.jiazhumeiguo.com/blog/login/'; url += '&response_type=code&scope=snsapi_userinfo&state=STATE'; setTimeout(function(){ location.href = url; }, 500); } }(); +function(){ $(document).on('click', '[tourl]', function(){ location.href=$(this).attr('tourl'); }); }(); +function(){ }(); +function(){ }(); +function(){ $('.forward').mousedown(function(){ var user_id = $(this).data('uid'); $.get('/api/user/forward_click', {uid: user_id}); }); }(); })();
回复成功