碧蓝航线z1哪里捞,碧蓝航线z系( 二 )


/ig, '##IK_LINEBREAK##')).text().split('##IK_LINEBREAK##').join('\n')); $(pre).addClass('brush:'+$(pre).attr('l')+';toolbar:false;'); if (window.SyntaxHighlighter) { SyntaxHighlighter.highlight(pre); $(answerText).find('.syntaxhighlighter .code .line').each(function(index, line){ $(answerText).find('.syntaxhighlighter .gutter .line').eq(index).height($(line).height()); }); } else { var sioUrl = https.autoTrans('http://img.iknow.bdimg.com/libs/SyntaxHighlighter/shCore.min.js'); $.sio(sioUrl).callByBrowser(function(){ SyntaxHighlighter.defaults['quick-code'] = false; SyntaxHighlighter.config.stripBrs = true; SyntaxHighlighter.highlight(pre); $(answerText).find('.syntaxhighlighter .code .line').each(function(index, line){ $(answerText).find('.syntaxhighlighter .gutter .line').eq(index).height($(line).height()); }); }); } }); $(answerText).find('ikvideo').each(function(i, video){ var id = 'VIDEO_' + $.id(); var src = http://www.ncwxdh.com/p/$(video).attr('src'); var poster = $(video).attr('img') || 'https://gss0.bdstatic.com/7051cy89QMgCncy6lo7D0j9wexYrbOWh7c50/yt/hhr_b.jpg'; var sid; var width = $(answerText).width(); var height = width * 0.563; // 如果为mp4资源 if (/^(http|https):\/\/.+\.mp4$/.test(src)) { if (!F.context('hasIkVideo')) { F.context('hasIkVideo', 1); log.addKey({ ikvideo: 1 }); } var html = '<video ' + 'class="ik-video" ' + 'controls ' + 'style="font-size: 18px"' + 'poster="' + poster + '"' + 'width="' + width + '" height="' + height + '" ' + '' + '' + '播放视频需要启用 JavaScript , 推荐使用的浏览器访问 。
' + ''; $(video).after(html); new VideoDuration({ video: $(video).next('video')[0] }); return; } var container = $('').attr('id', id).insertBefore($(video)); if (src.indexOf('v.baidu.com') > -1 ) { container.html(''); return; } if (src.indexOf('youku') > -1 && (sid = src.match(/sid\/(.*?)[\?\/]/))) { if (sid[1]) { src = 'http://player.youku.com/player.php/sid/'+sid[1]+'/v.swf'; } } container.html(''); }); }); var scrollLogged = false; var middleLogged = false; var bottomLogged = false; $(document).on('scroll', function () { var docViewTop = $(window).scrollTop(); var docViewBottom = docViewTop + $(window).height(); var $cmsScroll = $('#cms-scroll'); if ($cmsScroll.length > 0) { var scrollElemTop = $cmsScroll.offset().top; if (!scrollLogged && (scrollElemTop > docViewTop && scrollElemTop 0) { var middleElemTop = $cmsScroll.offset().top; if (!middleLogged && (middleElemTop > docViewTop && middleElemTop 0) { var bottomElemTop = $knowledge.offset().top; if (!bottomLogged && (bottomElemTop > docViewTop && bottomElemTop < docViewBottom)) { bottomLogged = true; log.send({ area: 'question_knowledge' }); } } }); require.async(['common:widget/js/ui/lazyload/lazyload'], function(lazyload){ $('.wgt-replyer-best .avatar-48 a, .wgt-replyer-best .avatar-66 a, .wgt-replyer-special .avatar-66 a,.wgt-replyer-best .avatar-69 a, .wgt-replyer-best .avatar-70 a, .wgt-replyer-best .avatar-66 a, #cms-company a').lazyload(); }); $('.ikqb-map').each(function(index, item) { var ifreamObj = $("").attr({ frameborder: '0' ,width:"430" ,height:"310" ,style: 'display:none;' ,className: 'answer-map' }), tmpsrc = http://www.ncwxdh.com/p/$(item).attr("map") || $(item).attr("src"); var iframeSrc = http://www.ncwxdh.com/p/!/ueditor/dialogs/map/i.test(tmpsrc) ?'//zhidao.baidu.com/html/map' + tmpsrc.replace(/^iknow/i, '') : tmpsrc; ifreamObj.attr('src', iframeSrc); $(item).before(ifreamObj).remove(); ifreamObj.after( $("").addClass('f-aid').html("本数据来源于百度地图 , 最终结果以百度地图最新数据为准 。 ") ).show(); }); if ($('video.edui-faked-video').size() > 0) { Video.init(); } require.async(['question-new:widget/js/trans-yun/trans-yun-log'], function(YunLog){ YunLog.init(); }); require.async(['common:widget/js/logic/ut/ut'], function(UT){ UT.start(['userbar','header','wgt-ask','answer-editor','wgt-answers']); }); File.init(); logPV(); if (F.context('user')['isUserAdmin'] != '1'){ require.async(['question-new:widget/js/select-search/select-search'], function(A){ A.init(); }); } log.init({key:2014, query: 'body',action:'click'}); function logPV(){ var logOptions = { screen: parseInt($('body').height()/$(window).height()), cid: F.context('page')['cid'], view: F.context('page').isView, cidTop: F.context('page')['cidTop'], cidMid: F.context('page')['cidMid'], refer: document.referrer, userStatus: '', adsEids: F.context('page').adsAll.adsEids.join(','), create_time: F.context('page').createTime || 0, asker_uid: F.context('page').uid || 0, viewer_uid: F.context('user').uid || 0, isNewPcQbPage: F.context('pageType') === 'view' ? 1 : 0, entry: $.url.getQueryValue(location.href, 'entry'), pageType: 'view', isNewTpl: 1 }; log.addKey({ evaSampling: 253, qid: F.context('page')['qid'] }); if (F.context('page').relateQids) { logOptions.relateQids = F.context('page').relateQids; } if (F.context('page').relateTopicQids) { logOptions.relateTopicQids = F.context('page').relateTopicQids; } if ($('.classinfo').length) { log.addKey({'classinfo': 1}); } var uadminIcon = $('.uadmin-a'); var uadminIconSize = uadminIcon.length; if (uadminIconSize) { logOptions.uadminIconNum = uadminIconSize; } if (0) { logOptions.uid = F.context('user').uid; } if ($.url.getQueryValue(location.href, 'waitexp')) { logOptions.waitExpType = $.url.getQueryValue(location.href, 'waitexp'); } if ($.url.getQueryValue(location.href, 'personas')) { logOptions.waitExpPersonas = $.url.getQueryValue(location.href, 'personas'); } log.addKey(logOptions); } var grid68 = $('.qb-content'), qid = F.context('page')['qid']; $.each({ 'qb-content' : '.q-content a@', 'qb-supply-content' : '.q-supply-content a@', 'qb-best-text' : '.wgt-best .best-text a@', 'qb-special-bast-text' : '.wgt-special .best-text a@', 'qb-recommend-text' : '.wgt-recommend .recommend-text a@', 'qb-answer-text' : '.answer-text a@', 'qb-replyask-ask' : '.ask+dd a', 'qb-replyask-reply' : '.reply+dd a', 'qb-best-thank' : '.thank pre a', 'qb-answer-refer' : '.answer-refer a' }, function(key, val){ var aLink = grid68.find( val.replace(/\@$/, '[title!="点击查看大图"]') ) .not('.app-keyword,.inner-link') .filter(function(){ return this.getAttribute('href').match(/^http/i) && this.innerHTML != '' && !$(this).closest('.ed2k-wrap').size() && !$(this).closest('.thunder-wrap').size() }); aLink.click(function(){ log.send({ 'type' : 2014, 'page' : 'question', 'qid' : qid, 'area' : key, 'action': 'linkClick', 'text' : this.getAttribute('href'), 'host' : this.getAttribute('href').split('/')[2] }); }); grid68.find( val.replace(/\@$/, '') ).attr('rel', 'nofollow noopener'); }); $(document).on('click', '.ikqb_img_alink', function(evt){ if($.browser.msie&&$.browser.version==6){ return false; } var imgTarget = $(this).find('img'), imgBigSrc = http://www.ncwxdh.com/p/$(this).attr('href'), maxWidth = $(this).parent('p').outerWidth(), imgSmallSrc = http://www.ncwxdh.com/p/imgTarget.attr('esrc'), sourceWidth = imgTarget.width(), sourceHeight = imgTarget.height(); if(imgTarget.hasClass('img_show')){ imgTarget.attr('src',imgBigSrc); if(!imgTarget.hasClass('ikqb_img')){ imgTarget.removeClass('ikqb_img'); imgTarget.animate({ 'width':'100%' },500); }else{ imgTarget.animate({ 'maxWidth':'500px', 'maxHeight':'340px' },500); } imgTarget.removeClass('img_show'); }else{ $(this).append('

推荐阅读