字体:大 中 小
护眼
关灯
上一页
目录
下一页
第一百零二章 后招 (第2/3页)
nction(){ ync('question:idget/value-comment/value-comment.js',function(vc){
('748124551');
});
}();
!function(){ ync('question:idget/value-comment/value-comment.js',function(vc){
('746934443');
});
}();
!function(){ ync('question:idget/value-comment/value-comment.js',function(vc){
('746292253');
});
}();
!function(){ ync('question:idget/ansers/ansers.js', function(ans){
Best();
});
}();
!function(){ ync('common:idget/js/util/log/log.js', function(log) {
// 展现相关问题的PV,ps:不知道以前怎么这么写,related_search_sho和网友都在找参数是一样的?
ddKey({related_search_sho: '1'});
// 为您推荐展现pv
ddKey({bottom_union: '1'});
});
}();
!function(){ ync('question:idget/related/related.js', function(rel){
rel({
cmsRelq: "",
cmsRelqrl: "",
isLog: false });
});
}();
!function(){ ync(['common:idget/js/util/tangram/tangram.js', 'common:idget/js/util/log/log.js'], function($, log) {
// 展现相关问题的PV
ddKey({topic_sho: '1'});
// 实验
var relateTopicQids = [];
$('#gt-topic a[data-qid]').each(function(){
($(this).data('qid'));
});
xt('page').relateTopicQids = relateTopicQids.join('_');
});
}();
!function(){ ync('common:idget/js/util/log/log.js', function(log){
//展现推送问题的PV
ddKey({push: '1'});
({key:2016, query: '.gt-push .ft a'});
});
}();
!function(){
ync('question:idget/user/nologin/nologin.js');
}();
!function(){ync('question:idget/user/info/daily/daily.js', function(Daily){
({"date":"2017.03.11","term":"1290","list":[{"id":"44989","title":"\u81ea\u5236\u85af\u7247\u771f\u7684\u5403\u4e0d\u80d6\u5417\uff1f","mt_img_src":"https:\/\/gss0.\/8_BXsjip0QIZ8tyhnq\/timg?h_rate=0&apikno&quality=100&size=250&sec=0&di=655d727e1d8b75d1f9c3511a23dc328e&src=http%3A%2F%2Fikno02.bosstatic.%2F%2Fzhidaoribao%2F2017%2F0311%2Fshu.jpg"},{"id":"44874","title":"\u7ecf\u5e38\u5750\u98de\u673a\u7684\u4eba\u8001\u5f97\u6162\u5417\uff1f","mt_img_src":"https:\/\/gss0.\/8_BXsjip0QIZ8tyhnq\/timg?h_rate=0&apikno&quality=100&size=250&sec=0&di=c1490da788cafbb9a186dac796cabbe7&src=http%3A%2F%.%2Fzhidao%2Fh%253D800%252C450%2Fsign%3D7fc310e462600c33f02cd6c02a7c7d3b%2Fcefc1e178a82b9015e3010c37a8da9773812efa5.jpg"},{"id":"44988","title":"\u97e9\u56fd\u90e8\u7f72\u201c\u8428\u5fb7\u201d\u5bf9\u6211\u4eec\u6709\u591a\u5927\u5f71\u54cd\uff1f","mt_img_src":"https:\/\/gss0.\/8_BXsjip0QIZ8tyhnq\/timg?h_rate=0&apikno&quality=100&size=250&sec=0&di=aa68a4e0480910c734b75075e140877a&src=http%3A%2F%.%2Fzhidao%2Fh%253D800%252C450%2Fsign%3Dae2adb6b8b26cffc697fb7ba893166a4%2F241f95cad1c8a786d078e7fc6e09c93d71cf50f5.jpg"},{"id":"44915","title":"\u201c\u4f3c\u66fe\u76f8\u8bc6\u201d\u7684\u611f\u89c9\u4ece\u4f55\u800c\u6765\uff1f","mt_img_src":"https:\/\/gss0.\/8_BXsjip0QIZ8tyhnq\/timg?h_rate=0&apikno&quality=100&size=250&sec=0&di=7cfa1050278498f70f867c99d854fd2c&src=http%3A%2F%.%2Fzhidao%2Fh%253D800%252C450%2Fsign%3D83cee4e662600c33f02cd6c02a7c7d3b%2Fcefc1e178a82b901a23de4c17a8da9773812efb4.jpg"},{"id":"37453","title":"\u81ea\u7136\u6761\u4ef6\u4e0b\uff0c\u4eba\u7c7b\u7537\u5973\u6bd4\u4f8b\u4e3a\u4ec0\u4e48\u662f1:1\uff1f","mt_img_src":"https:\/\/gss0.\/8_BXsjip0QIZ8tyhnq\/timg?h_rate=0&apikno&quality=100&size=250&sec=0&di=f582e13f2374d065e8791e608bd66fec&src=http%3A%2F%.%2Fzhidao%2Fh%253D800%252C450%2Fsign%3D277417f3adc27d1ea57333cc2be5815a%2Fe61190ef76c6a7ef3d500d71f4faaf51f3de6677.jpg"},{"id":"44900","title":"\u4ece\u300a\u4e09\u751f\u4e09\u4e16\u300b\u4fb5\u6743\u4e8b\u4ef6\u8c08\u8d77\u201c\u8457\u4f5c\u6743\u201d\u4fdd\u62a4","mt_img_src":"https:\/\/gss0.\/8_BXsjip0QIZ8tyhnq\/timg?h_rate=0&apikno&quality=100&size=250&sec=0&di=6e24a442822c5a3ab5750386e26932ff&src=http%3A%2F%.%2Fzhidao%2Fh%253D800%252C450%2Fsign%3D9dabf91e84b1cb133e3c341bed647a7a%2F5ab5c9ea15ce36d37c3a11c133f33a87e950b101.jpg"},{"id":"45030","title":"\u4e92\u8054\u7f51\u548c\u624b\u673a\u662f\u5982\u4f55\u8ba9\u6211\u4eec\u53d8\u5f97\u5bb3\u7f9e\u7684\uff1f","mt_img_src":"https:\/\/gss0.\/8_BXsjip0QIZ8tyhnq\/timg?h_rate=0&apikno&quality=100&size=250&sec=0&di=bcfba35dd27b5f9c988929633899670a&src=http%3A%2F%.%2Fzhidao%2Fh%253D800%252C450%2Fsign%3Dfbd28e41d858ccbf1be9bd3229e8900a%2Fc75c10385343fbf2fa1d81d0b97eca8065388f0b.jpg"}]}, '0');
});
}();
!function(){
ync('question:idget/user/nologin-daily/nologin-daily.js');
}();
!function(){ync('common:idget/js/logic/union/union.js', function(union){
// args[2, 3]自定义定向使用, common:union中有限制只能调用一次;
union('968278', 'union-asplu', {
'zdquery' : '',
'zdclassid' : '218',
'zhidaoqid' : '288975752'
});
});
}();
!function(){ ync('question:idget/ad-right/ad-right.js');
}();
!function(){ require('common:idget/js/logic/ie-prompt/ie-prompt.js');
}();
!function(){
ync(['common:idget/js/util/tangram/tangram.js', 'common:idget/js/util/log/log.js', 'common:idget/js/util/event/event.js', 'common:idget/js/logic/submit/submit.js', 'common:idget/js/ui/dialog/dialog.js', 'question:idget/js/file/file.js', 'question:idget/js/left-promotion/left-promotion.js', 'question:idget/js/video/video.js', 'common:idget/js/ui/tip/tip.js', 'question:idget/ask/share/share.js', 'common:idget/js/util/https/https.js'], function($, log, ec, Submit, Dialog, File, LeftPromotion, Video, Tip, share, https){
// 打点QB页用户可操作时间
alog('', 'drt', +ne Date);
// xt('ne_qb_fr', 'ne_qb_' + 0);
$(function(){
ddKey({
qbleftdon: $('.qbleftdon').find('li').size(),
qbrightdon:$('.qbrightdon').find('.r').size()
});
if ( $( '.qbleftdon a' ).size() ) {
ddKey({
ec_ads: '2',
ec_ads_count: $('.qbleftdon').find('_ad_title, _qad_title, _ad_title').size()
});
$('.qbleftdon a').click(function(){
var $parent = $( this ).parent();
if ( d || == 'EC_ad_title'
|| $(this).hasClass('ec_ik220_adtitle')
|| $(this).hasClass('ec_ik220_desc')
|| $( 'EC_ads_anser' )
|| == 'EC_ads_listurl'
|| == 'ec_ad_title'
|| $('ec_qad_title')
|| $('ec_qad_anserer') ) {
d({
type: 2014,
evtType: 'click',
pos: 'ec_ads'
});
}
});
}
ync('question:idget/js/card/card.js', function(card){
$('.user-name').each(function(index, item){
ne card({ target: item, type: 'normal' });
});
$('.mavin-name').each(function(index, item){
ne card({target: item, type: 'mavin' });
});
$('.opendev-name').each(function(index, item){
ne card({target: item, type: 'opendev'});
});
$('.uadmin-a').each(function(index, item) {
ne card({target: item, type: 'uadminIcon'});
});
$('.business-name').each(function(index, item){
ne card({target: item, type: 'business' });
});
$('.quality-business-name').each(function (index, item) {
ne card({target: item, type: 'qbusiness'});
});
});
$('.fixed-ask-e').click(function(e){
Default();
var username = $(this).attr('username');
ync('common:idget/js/logic/iask/iask.js', function(fixedAsk){
fixedAsk(username);
});
});
$('.replyask-shrink a').click(function(e){
Default();
var flag = .indexOf('更多追问') != -1;
var dl = $(this).html( flag ? '收起追问' : '更多追问' ).parent().prevAll('.replyask');
$($.makeArray(dl).reverse().slice(flag ? 0 : 3, )).css('display', flag ? 'block' : 'none');
});
$('.replyask-box').each(function (index, item) {
if ($(item).find('.replyask-shrink').size() == 0) {
if ($(item).find('.ask-supply').size() == 2) {
// $(item).find('.replyask').last().find('.ask-supply-line').hide();
}
if ($(item).find('.ask-supply').size() == 1) {
// $(item).find('.ask-supply-line').hide();
}
// $(item).find('.ask-supply-line').last().hide();
}
});
if($('.thunder-rap').size()){
ync('question:idget/js/thunder/thunder.js', function(thunder){
$(function(){
();
});
});
}
$.each(xt('ansers'), function(index, item){
if(){
if (.isFromBusiness > 0) {
$.ajax({
url: '/business/submit/onbusinessbrose',
type: 'POST',
dataType: 'json',
data: {
businessId: .business.businessId,
page: '1',
token: xt('businessToken')
}
})
.done(function () {
})
.fail(function () {
});
}
}
});
$(document).on('click', '.ikqb_img', function(){
d({
type: 2014,
bigimg: 'click'
});
});
$('').on('click', function() {
d({
type: 2014,
area: 'ad-right-optimus',
action: 'click',
cid: xt('page')['cid'],
cidTop: xt('page')['cidTop'],
cidMid: xt('page')['cidMid']
});
});
$('#gt-nologin-daily').click(function(e){
();
if($().closest('#daily-carousel').size() && !$().closest('.carousel-control').size()){
d({
type: 2014,
page: 'question',
pos: 'no-login-daily',
action: 'click'
});
}
});
$('.gt-daily').on('click', 'a', function(){
d({
type: 2014,
page: 'question',
pos: 'login-daily',
action: 'click'
});
});
$('.qbrightdon a').click(function(){
d({
type: 2014,
qid: xt('page')['qid'],
area: 'medical-right-txt-ads',
action: 'click'
});
});
if($('ikaudio').size()){
ddKey({
'audio' : 1
});
ync('question:idget/js/audio/audio.js', function(audio){
();
});
}
ync('question:idget/js/comment/comment.js', function(comm){
();
});
$('.recommend-text, .best-text, .anser-text, .replyask-content').each(function(i, anserText){
$(anserText).find('pre[t="code"]').each(function(i, pre){
var loadSyntax = function(){
SyntaxHighlighter(pre);
};
$(pre).text($(pre).html($(pre).html().replace(/
/ig, '##IK_LINEBREAK##')).text().split('##IK_LINEBREAK##').join('\n'));
$(pre).addClass('brush:'+$(pre).attr('l')+';toolbar:false;');
if (yntaxHighlighter) {
(pre);
$(anserText).find('.syntaxhighlighter .code .line').each(function(index, line){
$(anserText).find('.syntaxhighlighter .gutter .line').eq(index).height($(line).height());
});
} else {
var sioUrl = ('');
$.sio(sioUrl).callByBroser(function(){
SyntaxHighlighter.defaults['quick-code'] = false;
Brs = true;
(pre);
$(anserText).find('.syntaxhighlighter .code .line').each(function(index, line){
$(anserText).find('.syntaxhighlighter .gutter .line').eq(index).height($(line).height());
});
});
}
});
$(anserText).find('ikvideo').each(function(i, video){
var id = 'VIDEO_' + $.id(),
src = $(video).attr('src'),
sid;
var container = $('').attr('id', id).insertBefore($(video));
if (dexOf('youku') > -1 && (sid = (/sid\/(.*?)[\?\/]/))) {
if (sid[1]) {
src = ''+sid[1]+'/f';
}
}
('');
});
});
ync('common:idget/js/ui/lazyload/lazyload.js', function(lazyload){
$('.gt-replyer-best .avatar-48 a, .gt-replyer-best .avatar-66 a, .gt-replyer-special .avatar-66 a,.gt-replyer-best .avatar-69 a, .gt-replyer-best .avatar-70 a, .gt-replyer-best .avatar-66 a, #cms-company a').lazyload();
});
$('.ikqb-map').each(function(index, item) {
var ifreamObj = $("").attr({
frameborder: '0'
,idth:"430"
,height:"310"
,style: 'display:none;'
,className: 'anser-map'
}),
tmpsrc = $(item).attr("map") || $(item).attr("src");
('src', "//zhidao./html/map" + (/^ikno/i, ''));
$(item).before(ifreamObj).remove();
fter(
$("
").addClass('f-aid').html("本数据来源于百度地图,最终结果以百度地图最新数据为准。")
).sho();
});
var mavinUidAry = [];
$.(xt('ansers'), function(item, key){
if( && .mavinName){
(d);
}
(本章未完,请点击下一页继续阅读)
阅读网址:www.shukuge.com
上一页
目录
下一页