vardontTriggerPrompt=true;
xt('page',{
isAdopted:'1'
,misAsk:'0'
,delAsk:'0'
,isLocked:'0'
,isReplyLocked:'0'
,isFromap:"0"
,cid:'218'
,cidTop:'85'
,cidMid:'1097'
,qid:'515582374'
,tags:''
,title:'求不是妻管嚴133番外·越前龍馬與忍足戚微[VIP]發(fā)到1244608481@謝謝啦。。。。'
,giveScore:'5'
,encodeUid:'65424069236f25705e79eb2b'
,uid:'736838245'
,imId:'6542c0bcd5e4d5e43030eb2b'
,passPhoto:'0'
,rpRecommand:'false',rankFile:'0'
,userName:'蘭珍珍00'
,user:{
sex:'2'
,iconType:'6'
,gradeIndex:'1'
,gradeIndexC:'一'
,grAnserNum:'1'
,goodRate:'25'
}
,con:''
,anserNum:''
,isVie:'1'
,isGetealth:'1'
,pgcArr:[790,791,792,794,795]
,isCompanyIask:'0'
,bdplayer:'mozilla\/5.0(indosnt6.1)appleebkit\/537.36(khtml,likegecko)chrome\/39.0.2171.95safari\/537.36'
});
xt('user')['internalAdmin']=null;
xt('ansers',{});
xt('relateords',{});
xt('egg',{
id:'8'
,onlineTime:'2013-11-15'
,offlineTime:'2013-12-01'
,loginRate:'0.7'
,notLoginRate:'0.3'
,btnText:'確定'
,dialogText:'恭喜你撿到一張刮刮卡,立刻參與刮刮樂翻天活動,拍立得、iPadmini、iPhone5手機等超多大獎等你刮出來~'
,dialogBackground:''
,dialogTextMargin:'0'
,active:'0'
,activeUrl:''
,activeStatus:''
,guideLogin:'1'
,dialogTextLogin:''
,btnTextLogin:''
,dialogTextActive:''
,btnTextActive:''
,dialogBackground:''
,limitGrade:'0'
,limitGoodRate:'0'
});
xt('cmsTopic',[
{
'title':'H7N9禽流感病毒問題解答',
'qid':'538944731,538944974,538945159,538945410,538945640,538945806,538946023,538947972,538948119,538948841,538948985,538949170,538949278,538949607,538951811,538952044,538952289,539260208,539271130,539272340,539272652,539272848,539273004,538758680,537145971,537481975,537482138,537491741,537496345,537145971,539271582,539310838,96016332,16608956,16608956,534580619',
'expert':''
},
{
'title':'傳統(tǒng)醫(yī)學(xué)解讀人體奧秘',
'qid':'',
'expert':'正安中醫(yī)梁冬,薄化君大夫,羅炳翔大夫'
},
{
'title':'我們有文化,遇見“流氓”也不怕!',
'qid':'',
'expert':'打假第一人王海'
},
{
'title':'跳槽前必讀8大問題',
'qid':'530550652,530550695,530550746,530550777,530550821,530550859,530550898,530550937',
'expert':''
},
{
'title':'HR不懂愛,他的提問你答不來!',
'qid':'529252350,529252523,529252831,529253040,529253301,529253429,529256645,529256979,529257198,529257285',
'expert':''
},
{
'title':'孫云曉解答青春叛逆期教育',
'qid':'',
'expert':'青研中心孫云曉'
},
{
'title':'孫宏艷解答青春叛逆期教育',
'qid':'',
'expert':'青研中心孫宏艷'
},
{
'title':'雷明解答職場中的跳槽疑惑',
'qid':'',
'expert':'心理咨詢雷明'
},
{
'title':'唐寧解答女性職場疑惑',
'qid':'',
'expert':'職場唐寧'
},
{
'title':'北大售票帝裴濟洋教你買票回家!',
'qid':'',
'expert':'peijiyang_pku'
},
{
'title':'權(quán)威解讀2013駕考新規(guī)',
'qid':'496005611,105728210',
'expert':''
},
{
'title':'被誤讀最深的名言錦句',
'qid':'510380393,510380025,510380524,510380639,510380685,510380918,510381072,510380301',
'expert':''
},
{
'title':'交管局李曉東處長解答駕考新規(guī)',
'qid':'',
'expert':'交管局李曉東'
},
{
'title':'交管局李勤處長解讀新交規(guī)',
'qid':'',
'expert':'交管局李勤'
},
{
'title':'胡柳解答保險理財',
'qid':'',
'expert':'保險理財胡柳'
},
{
'title':'魏德善解答證券投資',
'qid':'',
'expert':'證券專家魏德善'
},
{
'title':'金韻蓉老師教你精油護膚',
'qid':'',
'expert':'lafasojyr'
},
{
'title':'你的食物含塑化劑嗎',
'qid':'499771676,274675532,273938276,275181078,274282140,499772730,275226786,274536152,282757232,274210910,275395808,499772593,275355018,274093929',
'expert':''
},
{
'title':'油價是升還是降',
'qid':'7701062,7720360,23590745,239386624,302573038,218721231,337321559',
'expert':''
},
{
'title':'美國總統(tǒng)是如何選出來的',
'qid':'494863184,494863014,494869926,494869853,494868987',
'expert':''
},
{
'title':'45天雞能不能吃',
'qid':'503005578,503006139,503006460,503006854,503007374,503007374',
'expert':''
},
{
'title':'你知道1942嗎?',
'qid':'502766042,502766042,502647814,502647814,502777253,502776800,502650170,502650170',
'expert':''
},
{
'title':'健康流言知真假',
'qid':'178807906,334055366,498402753,291937633,209426382,414548424,7540625,222613405,498406267,498408474,109760622,388525641',
'expert':''
},
{
'title':'大家都有病',
'qid':'492345830,491605430,492350128,492350240,492350299,281444990,492440880,489745109,492443590,492443722',
'expert':''
},
{
'title':'江南Style紅的很科學(xué)',
'qid':'478958350,487057430,483904315,485109741,487057528,485109517,487057485,487057395,487057395,487057363,480719567',
'expert':''
},
{
'title':'其實這都不是病',
'qid':'480816980,480792024,481137959,480812943,480813792',
'expert':''
},
{
'title':'吃也會得癌癥!',
'qid':'328576004,480213867,480213973,480218158,480232828',
'expert':''
},
{
'title':'江湖神功知多少',
'qid':'475780308,473798866,475780429,473806239,475780510,473800706,475780712,475782468,475780619,473801366',
'expert':''
},
{
'title':'姚海峰醫(yī)生解答寵物健康',
'qid':'',
'expert':'姚海峰博士'
},
{
'title':'王天明專業(yè)解答寵物營養(yǎng)',
'qid':'',
'expert':'寵物營養(yǎng)'
},
{
'title':'蘇芩談遠離愛留下的傷',
'qid':'',
'expert':'知名作家蘇芩'
},
{
'title':'張國慶分析中日關(guān)系',
'qid':'',
'expert':'社科院張國慶'
},
{
'title':'小P老師教你彩妝造型',
'qid':'',
'expert':'yoka小P老師'
},
{
'title':'梅琳老師教你美肌護膚',
'qid':'',
'expert':'lafasoml'
},
{
'title':'美麗主持人李靜的美容問答',
'qid':'',
'expert':'lafasolj'
},
{
'title':'伊能靜解答如何演電影',
'qid':'',
'expert':'yinengjing2013'
},
{
'title':'導(dǎo)演趙林山揭秘電影',
'qid':'',
'expert':'daoyanzls'
},
{
'title':'五岳散人談美食',
'qid':'',
'expert':'ysr2012'
},
{
'title':'早教專家李躍兒談早教',
'qid':'',
'expert':'lyer2013bd'
},
{
'title':'產(chǎn)科主任余梅教孕產(chǎn)',
'qid':'',
'expert':'ym2013bd'
},
{
'title':'媽媽最關(guān)心的8個問題',
'qid':'526309070,526865300,526865300,526308815,526865218,526865157,526865101,526865101,526309710,526865031',
'expert':''
},
{
'title':'健身專家王友松教健身',
'qid':'',
'expert':'angyousong7'
},
{
'title':'顧中一教你健康營養(yǎng)',
'qid':'',
'expert':'guzhongyi'
},
{
'title':'李湘教你減肥秘訣',
'qid':'',
'expert':'lixiangzslx'
},
{
'title':'心血管病專家賈玉和談病痛',
'qid':'',
'expert':'jiayuhe7'
},
{
'title':'糖尿病專家向紅丁談病痛',
'qid':'',
'expert':'xianghongd3'
},
{
'title':'金領(lǐng)小V談職場生存學(xué)',
'qid':'',
'expert':'小V2013'
},
{
'title':'杜子建說創(chuàng)業(yè)',
'qid':'',
'expert':'杜子建2012'
},
{
'title':'張召忠談釣魚島爭端',
'qid':'',
'expert':'zshaozhong2012'
},
{
'title':'崔玉濤談嬰幼兒護理',
'qid':'',
'expert':'兒科醫(yī)生崔玉濤'
},
{
'title':'急診女超人于鶯談病痛',
'qid':'',
'expert':'yuyingjzk'
},
{
'title':'薛蠻子談天使投資',
'qid':'',
'expert':'薛蠻子2012'
},
{
'title':'鄭淵潔讓童年如童話',
'qid':'',
'expert':'作家鄭淵潔'
},
{
'title':'2012世界末日真相',
'qid':'384640140,193245477,62563072,306563588,158114723,409478947,12992979,129335529,84523086,13774477,161887534',
'expert':''
}
]);
xt('isForAnserHq','0');
xt({
'itopicSyncAdminStr':'["553869863","408584470","663150510","1601193224","1305370811","1253985996","240173754","2421480383","282555480","617337308","703281543","1824698773","2560348928","49725318","220659661","161331174","1372601133","1969665018","837552203","365536315","331452762"]'
});
!function(){ync('common:idget/userbar-rene/userbar-rene.js');
}();
!function(){ync('common:idget/js/logic/search-box-ne/search-box-ne.js');
}();
!function(){ync('common:idget/menu/menu.js',function(menu){
();
});
//導(dǎo)航menu可用時間打點
alog&&alog('','c_menu',+neDate);alog.fire&&alog.fire("mark");
}();
!function(){ync('question:idget/top-nav-bar/top-nav-bar.js');
}();
!function(){ync('question:idget/ask/ask.js');
ync('question:idget/ask/pc-exp/ask-img.js');
}();
!function(){ync('question:idget/value-comment/value-comment.js',function(vc){
('1302117794');
});
}();
!function(){ync('common:idget/js/util/log/log.js',function(log){
d({
pid:102,
type:56333,
page:'qb',
hasgrhj:0,
haskfpt:0});
});
}();
!function(){ync(['common:idget/lib/jquery/jquery.js','common:idget/js/util/log/log.js'],function($,log){
if($('.gt-best.best-text.anser-expand').size()!=0){
ddKey({
anser_expand_sho:1
});
}
$(".gt-best.best-text").on('click',".anser-expand",function(e){
$(this).hide();
$(".gt-best.best-text.anser-expand-content").hide();
$(".gt-best.best-text.anser-collapse-content").sho();
$(".gt-best.best-text.anser-collapse").css('display','block');
d({page:'question',pos:'qb-detail-expand-btn-click'});
});
$(".gt-best.best-text").on('click',".anser-collapse",function(e){
$(this).hide();
$(".gt-best.best-text.anser-collapse-content").hide();
$(".gt-best.best-text.anser-expand-content").sho();
$(".gt-best.best-text.anser-expand").sho();
});
});
}();
!function(){ync('common:idget/js/util/log/log.js',function(log){
//展現(xiàn)相關(guān)問題的PV,ps:不知道以前怎么這么寫,related_search_sho和網(wǎng)友都在找參數(shù)是一樣的?
ddKey({related_search_sho:'1'});
//為您推薦展現(xiàn)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){
//展現(xiàn)相關(guān)問題的PV
ddKey({topic_sho:'1'});
//實驗
varrelateTopicQids=[];
$('#gt-topica[data-qid]').each(function(){
($(this).data('qid'));
});
xt('page').relateTopicQids=relateTopicQids.join('_');
});
}();
!function(){ync('common:idget/js/util/log/log.js',function(log){
//展現(xiàn)推送問題的PV
ddKey({push:'1'});
({key:2016,query:'.gt-push.fta'});
});
}();
!function(){
ync('question:idget/user/nologin/nologin.js');
}();
});
}();
!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中有限制只能調(diào)用一次;
union('968278','union-asplu',{
'zdquery':'',
'zdclassid':'218',
'zhidaoqid':'515582374'
});
});
}();
!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',+neDate);
//xt('ne_qb_fr','ne_qb_'+0);
$(function(){
ddKey({
qbleftdon:$('.qbleftdon').find('li').size(),
qbrightdon:$('.qbrightdon').find('.r').size()
});
if($('.qbleftdona').size()){
ddKey({
ec_ads:'2',
ec_ads_count:$('.qbleftdon').find('_ad_title,_qad_title,_ad_title').size()
});
$('.qbleftdona').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){
necard({target:item,type:'normal'});
});
$('.mavin-name').each(function(index,item){
necard({target:item,type:'mavin'});
});
$('.opendev-name').each(function(index,item){
necard({target:item,type:'opendev'});
});
$('.uadmin-a').each(function(index,item){
necard({target:item,type:'uadminIcon'});
});
$('.business-name').each(function(index,item){
necard({target:item,type:'business'});
});
$('.quality-business-name').each(function(index,item){
necard({target:item,type:'qbusiness'});
});
});
$('.fixed-ask-e').click(function(e){
Default();
varusername=$(this).attr('username');
ync('common:idget/js/logic/iask/iask.js',function(fixedAsk){
fixedAsk(username);
});
});
$('.replyask-shrinka').click(function(e){
Default();
varflag=.indexOf('更多追問')!=-1;
vardl=$(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'
});
});
$('.qbrightdona').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){
varloadSyntax=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{
varsioUrl=('');
$.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){
varid='VIDEO_'+$.id(),
src=$(video).attr('src'),
sid;
varcontainer=$('').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-48a,.gt-replyer-best.avatar-66a,.gt-replyer-special.avatar-66a,.gt-replyer-best.avatar-69a,.gt-replyer-best.avatar-70a,.gt-replyer-best.avatar-66a,#cms-companya').lazyload();
});
$('.ikqb-map').each(function(index,item){
varifreamObj=$("").attr({
frameborder:'0'
,idth:"430"
,height:"310"
,style:'display:none;'
,className:'anser-map'
}),
tmpsrc=$(item).attr("map")||$(item).attr("src");
('src',"http://zhidao./html/map"+(/^ikno/i,''));
$(item).before(ifreamObj).remove();
fter(
$("
").addClass('f-aid').html("本數(shù)據(jù)來源于百度地圖,最終結(jié)果以百度地圖最新數(shù)據(jù)為準。")
).sho();
});
varmavinUidAry=[];
$.(xt('ansers'),function(item,key){
if(&&.mavinName){
(d);
}
});
if(){
varoptions={
uids:mavinUidAry.join(',')
};
$.post('/mavin/api/getmavinpv',options);
}
if($('dui-faked-video').size()>0){
();
}
ync('common:idget/js/logic/ut/ut.js',function(UT){
(['userbar','header','gt-ask','anser-editor','gt-ansers']);
});
if($('file').size()==0){
logPV();
}else{
(logPV);
}
if(xt('user')['isUserAdmin']!='1'){
ync('question:idget/js/select-search/select-search.js',function(A){
();
});
}
varadTopImg=$('.adTopImg');
if(&&('display')!='none'){
ddKey({
adTopImg_ne:1
});
('click',function(){
d({
page:'question',
pos:'adTopImg_ne',
action:'click',
type:2014
});
});
}
({key:2014,query:'body',action:'click'});
functionlogPV(){
varlogOptions={
type:2014,
page:'question',
action:'entrance',
screen:parseInt($('body').height()/$(indo).height()),
qid:xt('page')['qid'],
cid:xt('page')['cid'],
vie:xt('page').isVie,
cidTop:xt('page')['cidTop'],
cidMid:xt('page')['cidMid'],
refer:ferrer
};
ddKey({
sample_ne_qb:0
});
ddKey({
evaSampling:0
});
ddKey({
sample_qb_50per:""
});
ddKey({
qid:xt('page')['qid']
});
if(xt('page').relateQids){
Qids=xt('page').relateQids;
}
if(xt('page').relateTopicQids){
Qids=xt('page').relateTopicQids;
}
if($('').length){
ddKey({'optimus':1});
}
if($('.classinfo').length){
ddKey({'classinfo':1});
}
varuadminIcon=$('.uadmin-a');
varuadminIconSize=;
if(uadminIconSize){
dminIconNum=uadminIconSize;
}
setTimeout(function(){
d(logOptions,true);
},100);
}
varloc_ans=$.QueryValue(f,'loc_ans');
if(!loc_ans){
varmyAnserList=$('.gt-best.anser-mine,.gt-recommend.anser-mine,.gt-special.anser-mine'),
myAnser=null;
if(ze()){
myAnser=myAnserList.first();
setTimeout(function(){
$(document).scrollTop(ffset().top-10);
},200);
}
}else{
varlocAnserList=$('.gt-best.anser,.gt-recommend.anser,.gt-special.anser'),
locAnser=null;
(function(index,item){
if($(item).attr("id").indexOf(loc_ans)!=-1){
locAnser=$(item);
}
});
if(locAnser){
setTimeout(function(){
$(document).scrollTop(().offset().top-10);
},200);
}
}
if(xt('egg')){
ync('question:idget/js/egg/egg.js',function(egg){
$(function(){
(xt('egg'));
});
});
}
vargrid68=$('.qb-content'),
qid=xt('page')['qid'];
$.each({
'qb-content':'.q-contenta@',
'qb-supply-content':'.q-supply-contenta@',
'qb-best-text':'.gt-best.best-texta@',
'qb-special-bast-text':'.gt-special.best-texta@',
'qb-recommend-text':'.gt-recommend.recommend-texta@',
'qb-anser-text':'.anser-texta@',
'qb-replyask-ask':'.ask+dda',
'qb-replyask-reply':'.reply+dda',
'qb-best-thank':'.thankprea',
'qb-anser-refer':'.anser-refera'
},function(key,val){
varaLink=grid68.find((/\@$/,'[title!="點擊查看大圖"]'))
.not('.app-keyord,.inner-link')
.filter(function(){
});
if(>0){
$(aLink).each(function(i,item){
d({
'type':2014,
'page':'question',
'qid':qid,
'area':key,
'action':'linkPv',
'text':bute('href'),
'host':bute('href').split('/')[2]
});
});
}
(function(){
d({
'type':2014,
'page':'question',
'qid':qid,
'area':key,
'action':'linkClick',
'text':bute('href'),
'host':bute('href').split('/')[2]
});
});
grid68.find((/\@$/,'')).attr('rel','nofollo');
});
$(document).keydon(function(e){
if(y&&yCode==67){
varisStandard=Boolean(),
selection=isStandard?():.createRange(),
text=(isStandard?selection+'':xt).replace(/\n+/g,''),
textLen=;
d({
type:2014,
page:'question',
qid:xt('page')['qid'],
uid:xt('user')['id'],
action:'ctrl+c',
text:(textLen>0&&textLen');
varbigImg=neImage();
d=function(){
('src',imgBigSrc);
if(sourceidth==dth){
('ikqb_img');
({
'idth':'120%'
},500);
}else{
({
'maxidth':dth>maxidth?maxidth:dth,
'maxHeight':
},500);
}
ddClass('img_sho');
$('.ikqb_img_loading').remove();
}
=imgBigSrc;
}
Default();
});
$('#search-form').submit(function(e){
d({
type:2014,
page:'question',
position:'searchbtn',
action:'click'
});
Default();
});
});
//統(tǒng)計QB頁用戶名片的展現(xiàn)量、查看QB頁用戶名片的用戶數(shù)
$('.user-name').on('mouseenter',function(e){
d({
'page':'qb',
'type':2060,
'action':'hover',
'area':'user-name'
});
}).on('click',function(e){
d({
'page':'qb',
'type':2060,
'action':'click',
'area':'user-name'
});
});
//“向TA求助”的點擊量、點擊用戶數(shù)
$('body').on('click','.fixed-ask,.fixed-ask-e',function(e){
d({
'page':'qb',
'type':2060,
'action':'click',
'area':'fixed-ask'
});
});
//“舉報“下“描述不清”等三項的展現(xiàn)量(PV)、“描述不清”等三項的點擊總量、“描述不清”等三項的點擊用戶數(shù)
$('body').on('mouseenter','.gt-accuse.accuse-enter',function(e){
d({
'page':'qb',
'type':2060,
'action':'hover',
'area':'accuse-enter'
});
}).on('click','.gt-accusea',function(e){
d({
'page':'qb',
'type':2060,
'action':'click',
'area':'gt-accuse-a'
});
});
//新增分享打點統(tǒng)計
if($.QueryValue(f,'sharesource')){
d({
module:'question',
page:'qb',
project:'ne-qb-share',
postion:'ne-share',
action:'vie-by-share-'+$.QueryValue(f,'sharesource')
});
}
//個人行家回答特型tooltip
varmavinTips=[];
varmavinTimeout=[];
$('.mavin-reply-icon').each(function(index){
varme=this;
varmavinLevelTitle=$(this).attr('data-title');
varmavinMajor=$(this).attr('data-major');
varcontent='
['+mavinLevelTitle+']已完成實名認證+行業(yè)認證';
if(mavinMajor==1){
content+='+專業(yè)認證';
}
content+='
';
$(this).mouseenter(function(e){
$('div[role="tooltip"]').hide();
clearTimeout(mavinTimeout[index]);
mavinTimeout[index]=setTimeout(function(){
if(!mavinTips[index]){
mavinTips[index]=neTip({
'target':me,
'tooltipClass':'tip-hite',
'autoDispose':false,
'direction':'top',
'content':content,
'position':{
my:'left-20top'
}
});
}
mavinTips[index].sho();
},70);
}).mouseleave(function(e){
mavinTimeout[index]=setTimeout(function(){
mavinTips[index]&&mavinTips[index].hide();
},70);
});
});
d=function(){
varsendLog=function(){
varis_topads_truely_sho=null;//頂部網(wǎng)盟
varis_bottomangmeng_truely_sho=null;//底部網(wǎng)盟為你推薦
varis_leftads_truely_sho=null;//實際展示左下廣告
varis_rightads_truely_sho=null;//實際展示左下廣告
//頂部網(wǎng)盟廣告--從元素高度判斷
if(xt('ads_log_toprequest')){
if($('.left-top-ads').height()==0
||$('.left-top-ads').idth()==0){
is_topads_truely_sho=0;
}else{
is_topads_truely_sho=1;
}
}else{
is_topads_truely_sho=0;
}
//底部為你推薦網(wǎng)盟廣告--從iframe判斷
if(xt('ads_log_bottomrequest')){
if($('.gt-bottom-union').find('iframe').size()==0){
is_bottomangmeng_truely_sho=0;
}else{
is_bottomangmeng_truely_sho=1;
}
}else{
is_bottomangmeng_truely_sho=0;
}
//同步鳳巢廣告--從元素高度判斷
if(xt('ads_log_leftdon')){
if($('#qbleftdon-container').height()==0
||$('#qbleftdon-container').idth()==0){
is_leftads_truely_sho=0;
}else{
is_leftads_truely_sho=1;
}
}else{
is_leftads_truely_sho=0;
}
//同步右側(cè)廣告,看是否存在dom以及是否展示
if(xt('ads_log_right')){
if($('.idget-sma').height()==0
||$('.idget-sma').idth()==0){
is_rightads_truely_sho=0;
}else{
is_rightads_truely_sho=1;
}
}else{
is_rightads_truely_sho=0;
}
//得到瀏覽器信息
functiongetBroserType(){
if(.toLoerCase().indexOf('se2.x')>-1){
return'Sougo';
}elseif(.toLoerCase().indexOf('maxthon')>-1){
return'maxthon';
}elseif(.toLoerCase().indexOf('qqbroser')>-1){
return'qqbroser';
}elseif(.toLoerCase().indexOf('msie')>-1){
return'IE';
}elseif(/chrome\/(\d+\.\d+)/()){
return'Chrome';
}elseif(/firefox\/(\d+\.\d+)/()){
return'Firefox';
}else{
return'other';
}
}
varbrosert_type=getBroserType();
varadsLogParams={
type:2014,
page:'question',
action:'ads_block_info_hour',
is_topangmeng_should_sho:xt('ads_log_toprequest')||0,
is_topangmeng_truely_sho:is_topads_truely_sho,
is_bottomangmeng_should_sho:xt('ads_log_bottomrequest')||0,
is_bottomangmeng_truely_sho:is_bottomangmeng_truely_sho,
is_leftads_should_sho:xt('ads_log_leftdon')||0,
is_leftads_truely_sho:is_leftads_truely_sho,
is_rightads_should_sho:xt('ads_log_right')||0,
is_rightads_truely_sho:is_rightads_truely_sho,
broser_type:brosert_type
};
d(adsLogParams);
};
setTimeout(sendLog,1000);
};
/*
*設(shè)置hunter用戶體驗報告
*@FE-hanzonge@PM-liulin04
*@date2016-01-05
*
*模糊匹配:mid=73716,取一定量pv
*非模糊匹配:mid-qid映射關(guān)系為,
*73707->124553427
*73708->258966527
*73709->145354616
*73710->1509811702495467100
*73711->334249256
*/
=||{};
fig=fig||[];
vartempHid=null;
varpageQid=xt('page').qid;
if(pageQid==124553427){
tempHid=73707;
}elseif(pageQid==258966527){
tempHid=73708;
}elseif(pageQid==145354616){
tempHid=73709;
}elseif(pageQid==1509811702495467100){
tempHid=73710;
}elseif(pageQid==334249256){
tempHid=73711;
}else{
if(parseInt(dom()*100)',
'分享',
'',
''
].join('');
$('.jump-top-box').find('.jump-task-list').before(jumpShare);
({
target:$('.jump-share.share-area'),
pageUrl:''+xt('page').qid,
title:,
pos:'rightSilde',
logOpt:{
module:'question',
page:'qb',
project:'ne-qb-share',
postion:'ne-share-right'
}
});
//如果有行家工作室,放在最頂部
if($('.jump-top-box').find('.jump-goto-mavin').size()){
$('.jump-top-box').find('.jump-share').before($('.jump-top-box').find('.jump-goto-mavin'));
}
jumpTimer&&clearInterval(jumpTimer);
}
}
varjumpTimer=setInterval(function(){
jumpShare();
},1000)
});
}();
!function(){ync('common:idget/js/logic/dom-ready/dom-ready.js',function(D){([])});
}();