var dontTriggerPrompt = true;
xt('page',{
isAdopted: '0'
,misAsk: '0'
,delAsk: '0'
,isLocked: '0'
,isReplyLocked: '0'
,isFromap: "0"
,cid: '218'
,cidTop: '85'
,cidMid: '1097'
,qid: '1495269813071308899'
,tags: '性生活'
,title: '纸婚厚爱,首席的秘密情人 有什么话就直接说'
,giveScore: '0'
,encodeUid: 'f76e4069236f25705e79a71e'
,uid: '514289399'
,imId: 'f76ecc4bbac9a1ac69696465a1e3a71e'
,passPhoto: '0'
,rpRecommand: 'false' ,rankFile: '0'
,userName: '蘇荷‖iide°'
,user : {
sex: '1'
,iconType: '6'
,gradeIndex: '4'
,gradeIndexC: '四'
,grAnserNum: '56'
,goodRate: '57'
}
,con: ''
,anserNum: '1'
,isVie: '1'
,isGetealth:'0'
,pgcArr: [790,791,792,794,795]
,isCompanyIask: '0'
,bdplayer:'mozilla\/5.0 (indos nt 6.1) appleebkit\/537.36 (khtml, like gecko) chrome\/39.0.2171.95 safari\/537.36'
});
xt('user')['internalAdmin'] = null;
xt('ansers', {});
xt('relateords', {});
xt('egg', {
id: '8'
,flashUrl: 'http:\/\/.\/gglft\/f'
,onlineTime: '2013-11-15'
,offlineTime: '2013-12-01'
,loginRate: '0.7'
,notLoginRate: '0.3'
,targetUrl: 'http:\/\/zhidao.\/s\/gglft\?isegg=1'
,btnText: '确定'
,dialogText: '恭喜你捡到一张刮刮卡,立刻参与刮刮乐翻天活动,拍立得、iPad mini、iPhone 5手机等超多大奖等你刮出来~'
,dialogBackground: ''
,dialogTextMargin: '0'
,active: '0'
,activeUrl: ''
,activeStatus: ''
,guideLogin: '1'
,dialogTextLogin: ''
,btnTextLogin: ''
,dialogTextActive: ''
,btnTextActive: ''
,dialogBackground: ''
,limitGrade: '0'
,limitGoodRate: '0'
});
xt('cmsTopic', [
{
'url': 'http:\/\/zhidao.\/s\',
'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': ''
},
{
'url': 'http:\/\/zhidao.\/s\',
'title': '传统医学解读人体奥秘',
'qid': '',
'expert': '正安中医梁冬,薄化君大夫,罗炳翔大夫'
},
{
'url': 'http:\/\/zhidao.\/s\',
'title': '我们有文化,遇见“流氓”也不怕!',
'qid': '',
'expert': '打假第一人王海'
},
{
'url': 'http:\/\/zhidao.\/topic\/zhichangtiaocao\',
'title': '跳槽前必读8大问题',
'qid': '530550652,530550695,530550746,530550777,530550821,530550859,530550898,530550937',
'expert': ''
},
{
'url': 'http:\/\/zhidao.\/topic\/zhichangmianshi\',
'title': 'HR不懂爱,他的提问你答不来!',
'qid': '529252350,529252523,529252831,529253040,529253301,529253429,529256645,529256979,529257198,529257285',
'expert': ''
},
{
'url': 'http:\/\/zhidao.\/s\',
'title': '孙云晓解答青春叛逆期教育',
'qid': '',
'expert': '青研中心孙云晓'
},
{
'url': 'http:\/\/zhidao.\/s\',
'title': '孙宏艳解答青春叛逆期教育',
'qid': '',
'expert': '青研中心孙宏艳'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '雷明解答职场中的跳槽疑惑',
'qid': '',
'expert': '心理咨询雷明'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '唐宁解答女性职场疑惑',
'qid': '',
'expert': '职场唐宁'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '北大售票帝裴济洋教你买票回家!',
'qid': '',
'expert': 'peijiyang_pku'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '权威解读2013驾考新规',
'qid': '496005611,105728210',
'expert': ''
},
{
'url': 'http:\/\/zhidao.\/topic\/shi\?fr=qbzt',
'title': '被误读最深的名言锦句',
'qid': '510380393,510380025,510380524,510380639,510380685,510380918,510381072,510380301',
'expert': ''
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '交管局李晓东处长解答驾考新规',
'qid': '',
'expert': '交管局李晓东'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '交管局李勤处长解读新交规',
'qid': '',
'expert': '交管局李勤'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '胡柳解答保险理财',
'qid': '',
'expert': '保险理财胡柳'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '魏德善解答证券投资',
'qid': '',
'expert': '证券专家魏德善'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '金韵蓉老师教你精油护肤',
'qid': '',
'expert': 'lafasojyr'
},
{
'url': 'http:\/\/zhidao.\/topic\/kuaidu\/suhuaji\?fr=qbzt',
'title': '你的食物含塑化剂吗',
'qid': '499771676,274675532,273938276,275181078,274282140,499772730,275226786,274536152,282757232,274210910,275395808,499772593,275355018,274093929',
'expert': ''
},
{
'url': 'http:\/\/zhidao.\/topic\/kuaidu\/youjia\?fr=qbzt',
'title': '油价是升还是降',
'qid': '7701062,7720360,23590745,239386624,302573038,218721231,337321559',
'expert': ''
},
{
'url': 'http:\/\/zhidao.\/topic\/kuaidu\/2012usa\?fr=qbzt',
'title': '美国总统是如何选出来的',
'qid': '494863184,494863014,494869926,494869853,494868987',
'expert': ''
},
{
'url': 'http:\/\/zhidao.\/topic\/Chicken\?fr=qbzt',
'title': '45天鸡能不能吃',
'qid': '503005578,503006139,503006460,503006854,503007374,503007374',
'expert': ''
},
{
'url': 'http:\/\/zhidao.\/topic\/1942\?fr=qbzt',
'title': '你知道1942吗?',
'qid': '502766042,502766042,502647814,502647814,502777253,502776800,502650170,502650170',
'expert': ''
},
{
'url': 'http:\/\/zhidao.\/topic\/jiehuo\/jiankangyaoyan\?fr=qbzt',
'title': '健康流言知真假',
'qid': '178807906,334055366,498402753,291937633,209426382,414548424,7540625,222613405,498406267,498408474,109760622,388525641',
'expert': ''
},
{
'url': 'http:\/\/.\/search\/zhidao\/jingshenbing\?fr=qbzt',
'title': '大家都有病',
'qid': '492345830,491605430,492350128,492350240,492350299,281444990,492440880,489745109,492443590,492443722',
'expert': ''
},
{
'url': 'http:\/\/.\/search\/zhidao\/gangnamstyle\?fr=qbzt',
'title': '江南Style红的很科学',
'qid': '478958350,487057430,483904315,485109741,487057528,485109517,487057485,487057395,487057395,487057363,480719567',
'expert': ''
},
{
'url': 'http:\/\/.\/search\/zhidao\/bing\?fr=qbzt',
'title': '其实这都不是病',
'qid': '480816980,480792024,481137959,480812943,480813792',
'expert': ''
},
{
'url': 'http:\/\/.\/search\/zhidao\/aizheng\?fr=qbzt',
'title': '吃也会得癌症!',
'qid': '328576004,480213867,480213973,480218158,480232828',
'expert': ''
},
{
'url': 'http:\/\/.\/search\/zhidao\/2012gongfu\?fr=qbzt',
'title': '江湖神功知多少',
'qid': '475780308,473798866,475780429,473806239,475780510,473800706,475780712,475782468,475780619,473801366',
'expert': ''
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '姚海峰医生解答宠物健康',
'qid': '',
'expert': '姚海峰博士'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '王天明专业解答宠物营养',
'qid': '',
'expert': '宠物营养'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '苏芩谈远离爱留下的伤',
'qid': '',
'expert': '知名作家苏芩'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '张国庆分析中日关系',
'qid': '',
'expert': '社科院张国庆'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '小P老师教你彩妆造型',
'qid': '',
'expert': 'yoka小P老师'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '梅琳老师教你美肌护肤',
'qid': '',
'expert': 'lafasoml'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '美丽主持人李静的美容问答',
'qid': '',
'expert': 'lafasolj'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '伊能静解答如何演电影',
'qid': '',
'expert': 'yinengjing2013'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '导演赵林山揭秘电影',
'qid': '',
'expert': 'daoyanzls'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '五岳散人谈美食',
'qid': '',
'expert': 'ysr2012'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '早教专家李跃儿谈早教',
'qid': '',
'expert': 'lyer2013bd'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '产科主任余梅教孕产',
'qid': '',
'expert': 'ym2013bd'
},
{
'url': 'http:\/\/zhidao.\/topic\/muru\?fr=qbzt',
'title': '妈妈最关心的8个问题',
'qid': '526309070,526865300,526865300,526308815,526865218,526865157,526865101,526865101,526309710,526865031',
'expert': ''
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '健身专家王友松教健身',
'qid': '',
'expert': 'angyousong7'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '顾中一教你健康营养',
'qid': '',
'expert': 'guzhongyi'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '李湘教你减肥秘诀',
'qid': '',
'expert': 'lixiangzslx'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '心血管病专家贾玉和谈病痛',
'qid': '',
'expert': 'jiayuhe7'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '糖尿病专家向红丁谈病痛',
'qid': '',
'expert': 'xianghongd3'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '金领小V谈职场生存学',
'qid': '',
'expert': '小V2013'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '杜子建说创业',
'qid': '',
'expert': '杜子建2012'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '张召忠谈钓鱼岛争端',
'qid': '',
'expert': 'zshaozhong2012'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbgl',
'title': '崔玉涛谈婴幼儿护理',
'qid': '',
'expert': '儿科医生崔玉涛'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '急诊女超人于莺谈病痛',
'qid': '',
'expert': 'yuyingjzk'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '薛蛮子谈天使投资',
'qid': '',
'expert': '薛蛮子2012'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbgl',
'title': '郑渊洁让童年如童话',
'qid': '',
'expert': '作家郑渊洁'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbgl',
'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){
();
});
// 导航menu可用时间打点
alog && alog('', 'c_menu', +ne Date); alog.fire && alog.fire("mark");
}();
!function(){ync('question:idget/top-nav-bar/top-nav-bar.js');
}();
!function(){ ync('question:idget/ask/replyer/replyer.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){
('2159019074');
});
}();
!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.17","term":"1297","list":[{"id":"45600","title":"\u6211\u4eec\u5403\u7684\u82f9\u679c\uff0c\u771f\u7684\u662f\u51cf\u80a5\u5229\u5668\u5417\uff1f","mt_img_src":"https:\/\/gss0.\/8_BXsjip0QIZ8tyhnq\/timg?h_rate=0&apikno&quality=100&size=250&sec=0&di=8501688f6f2fe90cfe84b3bbb631b9e1&src=http%3A%2F%2Fikno02.bosstatic.%2Fzhidaoribao%2F2017%2F0317%2Fping.jpg"},{"id":"45436","title":"\u6708\u7403\u95fb\u8d77\u6765\u4ec0\u4e48\u5473\u9053\uff1f\u5b87\u822a\u5458\uff1a\u4e00\u80a1\u706b\u836f\u5473","mt_img_src":"https:\/\/gss0.\/8_BXsjip0QIZ8tyhnq\/timg?h_rate=0&apikno&quality=100&size=250&sec=0&di=23219d199ac72c5840bcb5df101cc16d&src=http%3A%2F%.%2Fzhidao%2Fh%253D800%252C450%2Fsign%3D48bae4d7db1b0ef46cbd9056edf47dee%2F77c6a7efce1b9d1611823698fadeb48f8d546486.jpg"},{"id":"45161","title":"\u94bb\u77f3\u662f\u4e16\u754c\u4e0a\u6700\u786c\u7684\u7269\u8d28\uff1f","mt_img_src":"https:\/\/gss0.\/8_BXsjip0QIZ8tyhnq\/timg?h_rate=0&apikno&quality=100&size=250&sec=0&di=411058d3938df44364f7882bc979919e&src=http%3A%2F%.%2Fzhidao%2Fh%253D800%252C450%2Fsign%3D25c3c9d47af082022dc799377bcbd7d9%2Fb2de9c82d158ccbfe40998cd10d8bc3eb035418b.jpg"},{"id":"45708","title":"\u4f7f\u7528\u201c\u5851\u6599\u949e\u7968\u201d\u662f\u4e00\u79cd\u4ec0\u4e48\u4f53\u9a8c\uff1f","mt_img_src":"https:\/\/gss0.\/8_BXsjip0QIZ8tyhnq\/timg?h_rate=0&apikno&quality=100&size=250&sec=0&di=3cb9b70116d471a5d8b03557b4dc001a&src=http%3A%2F%.%2Fzhidao%2Fh%253D800%252C450%2Fsign%3D4bbead1d6bd9f2d320442ce799dca627%2Fd1160924ab18972be44d9236efcd7b899f510ad2.jpg"},{"id":"45343","title":"\u4e3a\u4ec0\u4e48\u6d17\u6fa1\u7684\u65f6\u5019\u60f3\u5c3f\u5c3f\uff1f","mt_img_src":"https:\/\/gss0.\/8_BXsjip0QIZ8tyhnq\/timg?h_rate=0&apikno&quality=100&size=250&sec=0&di=dd395a410251265aadfe859e9d1d8af1&src=http%3A%2F%.%2Fzhidao%2Fh%253D800%252C450%2Fsign%3Dbf1a5db6c38065387bbfac1ba7ed8d70%2F6f061d950a7b020857fde7196bd9f2d3572cc816.jpg"},{"id":"45619","title":"\u4eba\u4e3a\u4ec0\u4e48\u90a3\u4e48\u559c\u6b22\u8bf4\u810f\u8bdd\uff1f","mt_img_src":"https:\/\/gss0.\/8_BXsjip0QIZ8tyhnq\/timg?h_rate=0&apikno&quality=100&size=250&sec=0&di=bb8a9660dac68f7bafc4de17f9d420f3&src=http%3A%2F%.%2Fzhidao%2Fh%253D800%252C450%2Fsign%3Dfeb17d63ad0f4bfb8c85965c337f54c4%2Fcdbf6c81800a19d8c08d96f93afa828ba71e46bb.jpg"},{"id":"45615","title":"\u54ea\u4e2a\u671d\u4ee3\u6700\u503c\u5f97\u7a7f\u8d8a\u56de\u53bb\uff1f","mt_img_src":"https:\/\/gss0.\/8_BXsjip0QIZ8tyhnq\/timg?h_rate=0&apikno&quality=100&size=250&sec=0&di=69f9884fe8e8358675b728645d349203&src=http%3A%2F%.%2Fzhidao%2Fh%253D800%252C450%2Fsign%3D1ae19fcd4390f60304e5944f09229f2f%2F7e3e6709c93d70cfaba4b9f1f1dcd100bba12beb.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' : '1495269813071308899'
});
});
}();
!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 () {
});
}
}
});
$.ajax({
url: '/mavin/api/mavinpv',
type: 'GET',
dataType: 'json',
data: {
qid: xt('page')['qid']
}
})
.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);
}
});
if(){
var options = {
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){
();
});
}
var adTopImg = $('.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'});
function logPV(){
var logOptions = {
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});
}
var uadminIcon = $('.uadmin-a');
var uadminIconSize = ;
if (uadminIconSize) {
dminIconNum = uadminIconSize;
}
setTimeout(function(){
d(logOptions, true);
}, 100);
}
var loc_ans = $.QueryValue(f, 'loc_ans');
if(!loc_ans) {
var myAnserList = $('.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 {
var locAnserList = $('.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'));
});
});
}
var grid68 = $('.qb-content'),
qid = xt('page')['qid'];
$.each({
'qb-content' : '.q-content a@',
'qb-supply-content' : '.q-supply-content a@',
'qb-best-text' : '.gt-best .best-text a@',
'qb-special-bast-text' : '.gt-special .best-text a@',
'qb-recommend-text' : '.gt-recommend .recommend-text a@',
'qb-anser-text' : '.anser-text a@',
'qb-replyask-ask' : '.ask+dd a',
'qb-replyask-reply' : '.reply+dd a',
'qb-best-thank' : '.thank pre a',
'qb-anser-refer' : '.anser-refer a'
}, function(key, val){
var aLink = grid68.find( (/\@$/, '[title!="点击查看大图"]') )
.not('.app-keyord,.inner-link')
.filter(function(){
return bute('href').match(/^http/i) && != '' && !$(this).closest('.ed2k-rap').size() && !$(this).closest('.thunder-rap').size()
});
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){
var isStandard = 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 ');
var bigImg = ne Image();
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();
});
});
//统计QB页用户名片的展现量、查看QB页用户名片的用户数
$('.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求助”的点击量、点击用户数
$('body').on('click', '.fixed-ask, .fixed-ask-e', function (e) {
d({
'page': 'qb',
'type': 2060,
'action': 'click',
'area': 'fixed-ask'
});
});
// “举报“下“描述不清”等三项的展现量(PV)、 “描述不清”等三项的点击总量、 “描述不清”等三项的点击用户数
$('body').on('mouseenter', '.gt-accuse .accuse-enter', function (e) {
d({
'page': 'qb',
'type': 2060,
'action': 'hover',
'area': 'accuse-enter'
});
}).on('click', '.gt-accuse a', function (e) {
d({
'page': 'qb',
'type': 2060,
'action': 'click',
'area': 'gt-accuse-a'
});
});
// 新增分享打点统计
if ($.QueryValue(f, 'sharesource')) {
d({
module: 'question',
page: 'qb',
project: 'ne-qb-share',
postion: 'ne-share',
action: 'vie-by-share-' + $.QueryValue(f, 'sharesource')
});
}
// 个人行家回答特型tooltip
var mavinTips = [];
var mavinTimeout = [];
$('.mavin-reply-icon').each(function (index) {
var me = this;
var mavinLevelTitle = $(this).attr('data-title');
var mavinMajor = $(this).attr('data-major');
var content = '
[' + mavinLevelTitle + ']已完成实名认证+行业认证';
if (mavinMajor == 1) {
content += '+专业认证';
}
content += '
';
$(this).mouseenter(function (e) {
$('div[role="tooltip"]').hide();
clearTimeout(mavinTimeout[index]);
mavinTimeout[index] = setTimeout(function () {
if (!mavinTips[index]) {
mavinTips[index] = ne Tip({
'target': me,
'tooltipClass' : 'tip-hite',
'autoDispose': false,
'direction': 'top',
'content': content,
'position': {
my: 'left-20 top'
}
});
}
mavinTips[index].sho();
}, 70);
}).mouseleave(function (e) {
mavinTimeout[index] = setTimeout(function () {
mavinTips[index] && mavinTips[ index ].hide();
}, 70);
});
});
d = function () {
var sendLog = function() {
var is_topads_truely_sho = null; // 顶部网盟
var is_bottomangmeng_truely_sho = null; // 底部网盟为你推荐
var is_leftads_truely_sho = null; // 实际展示左下广告
var is_rightads_truely_sho = null; // 实际展示左下广告
// 顶部网盟广告 -- 从元素高度判断
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;
}
// 底部为你推荐网盟广告 -- 从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;
}
// 同步右侧广告,看是否存在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;
}
// 得到浏览器信息
function getBroserType() {
if (.toLoerCase().indexOf('se 2.x')>-1) {
return 'Sougo';
} else if (.toLoerCase().indexOf('maxthon')>-1) {
return 'maxthon';
} else if (.toLoerCase().indexOf('qqbroser')>-1) {
return 'qqbroser';
} else if (.toLoerCase().indexOf('msie')>-1) {
return 'IE';
} else if (/chrome\/(\d+\.\d+)/()) {
return 'Chrome';
} else if (/firefox\/(\d+\.\d+)/()) {
return 'Firefox';
} else {
return 'other';
}
}
var brosert_type = getBroserType();
var adsLogParams = {
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);
};
/*
* 设置hunter用户体验报告
* @FE-hanzonge @PM-liulin04
* @date 2016-01-05
*
* 模糊匹配:mid=73716,取一定量pv
* 非模糊匹配:mid-qid映射关系为,
* 73707->124553427
* 73708->258966527
* 73709->145354616
* 73710->1509811702495467100
* 73711->334249256
*/
= || {};
fig = fig || [];
var tempHid = null;
var pageQid = xt('page').qid;
if (pageQid == 124553427) {
tempHid = 73707;
} else if (pageQid == 258966527) {
tempHid = 73708;
} else if (pageQid == 145354616) {
tempHid = 73709;
} else if (pageQid == 1509811702495467100) {
tempHid = 73710;
} else if (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);
}
}
var jumpTimer = setInterval(function () {
jumpShare();
}, 1000)
});
}();
!function(){ ync('common:idget/js/logic/dom-ready/dom-ready.js', function(D){ ([]) });
}();
xt('page',{
isAdopted: '0'
,misAsk: '0'
,delAsk: '0'
,isLocked: '0'
,isReplyLocked: '0'
,isFromap: "0"
,cid: '218'
,cidTop: '85'
,cidMid: '1097'
,qid: '1495269813071308899'
,tags: '性生活'
,title: '纸婚厚爱,首席的秘密情人 有什么话就直接说'
,giveScore: '0'
,encodeUid: 'f76e4069236f25705e79a71e'
,uid: '514289399'
,imId: 'f76ecc4bbac9a1ac69696465a1e3a71e'
,passPhoto: '0'
,rpRecommand: 'false' ,rankFile: '0'
,userName: '蘇荷‖iide°'
,user : {
sex: '1'
,iconType: '6'
,gradeIndex: '4'
,gradeIndexC: '四'
,grAnserNum: '56'
,goodRate: '57'
}
,con: ''
,anserNum: '1'
,isVie: '1'
,isGetealth:'0'
,pgcArr: [790,791,792,794,795]
,isCompanyIask: '0'
,bdplayer:'mozilla\/5.0 (indos nt 6.1) appleebkit\/537.36 (khtml, like gecko) chrome\/39.0.2171.95 safari\/537.36'
});
xt('user')['internalAdmin'] = null;
xt('ansers', {});
xt('relateords', {});
xt('egg', {
id: '8'
,flashUrl: 'http:\/\/.\/gglft\/f'
,onlineTime: '2013-11-15'
,offlineTime: '2013-12-01'
,loginRate: '0.7'
,notLoginRate: '0.3'
,targetUrl: 'http:\/\/zhidao.\/s\/gglft\?isegg=1'
,btnText: '确定'
,dialogText: '恭喜你捡到一张刮刮卡,立刻参与刮刮乐翻天活动,拍立得、iPad mini、iPhone 5手机等超多大奖等你刮出来~'
,dialogBackground: ''
,dialogTextMargin: '0'
,active: '0'
,activeUrl: ''
,activeStatus: ''
,guideLogin: '1'
,dialogTextLogin: ''
,btnTextLogin: ''
,dialogTextActive: ''
,btnTextActive: ''
,dialogBackground: ''
,limitGrade: '0'
,limitGoodRate: '0'
});
xt('cmsTopic', [
{
'url': 'http:\/\/zhidao.\/s\',
'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': ''
},
{
'url': 'http:\/\/zhidao.\/s\',
'title': '传统医学解读人体奥秘',
'qid': '',
'expert': '正安中医梁冬,薄化君大夫,罗炳翔大夫'
},
{
'url': 'http:\/\/zhidao.\/s\',
'title': '我们有文化,遇见“流氓”也不怕!',
'qid': '',
'expert': '打假第一人王海'
},
{
'url': 'http:\/\/zhidao.\/topic\/zhichangtiaocao\',
'title': '跳槽前必读8大问题',
'qid': '530550652,530550695,530550746,530550777,530550821,530550859,530550898,530550937',
'expert': ''
},
{
'url': 'http:\/\/zhidao.\/topic\/zhichangmianshi\',
'title': 'HR不懂爱,他的提问你答不来!',
'qid': '529252350,529252523,529252831,529253040,529253301,529253429,529256645,529256979,529257198,529257285',
'expert': ''
},
{
'url': 'http:\/\/zhidao.\/s\',
'title': '孙云晓解答青春叛逆期教育',
'qid': '',
'expert': '青研中心孙云晓'
},
{
'url': 'http:\/\/zhidao.\/s\',
'title': '孙宏艳解答青春叛逆期教育',
'qid': '',
'expert': '青研中心孙宏艳'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '雷明解答职场中的跳槽疑惑',
'qid': '',
'expert': '心理咨询雷明'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '唐宁解答女性职场疑惑',
'qid': '',
'expert': '职场唐宁'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '北大售票帝裴济洋教你买票回家!',
'qid': '',
'expert': 'peijiyang_pku'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '权威解读2013驾考新规',
'qid': '496005611,105728210',
'expert': ''
},
{
'url': 'http:\/\/zhidao.\/topic\/shi\?fr=qbzt',
'title': '被误读最深的名言锦句',
'qid': '510380393,510380025,510380524,510380639,510380685,510380918,510381072,510380301',
'expert': ''
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '交管局李晓东处长解答驾考新规',
'qid': '',
'expert': '交管局李晓东'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '交管局李勤处长解读新交规',
'qid': '',
'expert': '交管局李勤'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '胡柳解答保险理财',
'qid': '',
'expert': '保险理财胡柳'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '魏德善解答证券投资',
'qid': '',
'expert': '证券专家魏德善'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '金韵蓉老师教你精油护肤',
'qid': '',
'expert': 'lafasojyr'
},
{
'url': 'http:\/\/zhidao.\/topic\/kuaidu\/suhuaji\?fr=qbzt',
'title': '你的食物含塑化剂吗',
'qid': '499771676,274675532,273938276,275181078,274282140,499772730,275226786,274536152,282757232,274210910,275395808,499772593,275355018,274093929',
'expert': ''
},
{
'url': 'http:\/\/zhidao.\/topic\/kuaidu\/youjia\?fr=qbzt',
'title': '油价是升还是降',
'qid': '7701062,7720360,23590745,239386624,302573038,218721231,337321559',
'expert': ''
},
{
'url': 'http:\/\/zhidao.\/topic\/kuaidu\/2012usa\?fr=qbzt',
'title': '美国总统是如何选出来的',
'qid': '494863184,494863014,494869926,494869853,494868987',
'expert': ''
},
{
'url': 'http:\/\/zhidao.\/topic\/Chicken\?fr=qbzt',
'title': '45天鸡能不能吃',
'qid': '503005578,503006139,503006460,503006854,503007374,503007374',
'expert': ''
},
{
'url': 'http:\/\/zhidao.\/topic\/1942\?fr=qbzt',
'title': '你知道1942吗?',
'qid': '502766042,502766042,502647814,502647814,502777253,502776800,502650170,502650170',
'expert': ''
},
{
'url': 'http:\/\/zhidao.\/topic\/jiehuo\/jiankangyaoyan\?fr=qbzt',
'title': '健康流言知真假',
'qid': '178807906,334055366,498402753,291937633,209426382,414548424,7540625,222613405,498406267,498408474,109760622,388525641',
'expert': ''
},
{
'url': 'http:\/\/.\/search\/zhidao\/jingshenbing\?fr=qbzt',
'title': '大家都有病',
'qid': '492345830,491605430,492350128,492350240,492350299,281444990,492440880,489745109,492443590,492443722',
'expert': ''
},
{
'url': 'http:\/\/.\/search\/zhidao\/gangnamstyle\?fr=qbzt',
'title': '江南Style红的很科学',
'qid': '478958350,487057430,483904315,485109741,487057528,485109517,487057485,487057395,487057395,487057363,480719567',
'expert': ''
},
{
'url': 'http:\/\/.\/search\/zhidao\/bing\?fr=qbzt',
'title': '其实这都不是病',
'qid': '480816980,480792024,481137959,480812943,480813792',
'expert': ''
},
{
'url': 'http:\/\/.\/search\/zhidao\/aizheng\?fr=qbzt',
'title': '吃也会得癌症!',
'qid': '328576004,480213867,480213973,480218158,480232828',
'expert': ''
},
{
'url': 'http:\/\/.\/search\/zhidao\/2012gongfu\?fr=qbzt',
'title': '江湖神功知多少',
'qid': '475780308,473798866,475780429,473806239,475780510,473800706,475780712,475782468,475780619,473801366',
'expert': ''
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '姚海峰医生解答宠物健康',
'qid': '',
'expert': '姚海峰博士'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '王天明专业解答宠物营养',
'qid': '',
'expert': '宠物营养'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '苏芩谈远离爱留下的伤',
'qid': '',
'expert': '知名作家苏芩'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '张国庆分析中日关系',
'qid': '',
'expert': '社科院张国庆'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '小P老师教你彩妆造型',
'qid': '',
'expert': 'yoka小P老师'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '梅琳老师教你美肌护肤',
'qid': '',
'expert': 'lafasoml'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '美丽主持人李静的美容问答',
'qid': '',
'expert': 'lafasolj'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '伊能静解答如何演电影',
'qid': '',
'expert': 'yinengjing2013'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '导演赵林山揭秘电影',
'qid': '',
'expert': 'daoyanzls'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '五岳散人谈美食',
'qid': '',
'expert': 'ysr2012'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '早教专家李跃儿谈早教',
'qid': '',
'expert': 'lyer2013bd'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '产科主任余梅教孕产',
'qid': '',
'expert': 'ym2013bd'
},
{
'url': 'http:\/\/zhidao.\/topic\/muru\?fr=qbzt',
'title': '妈妈最关心的8个问题',
'qid': '526309070,526865300,526865300,526308815,526865218,526865157,526865101,526865101,526309710,526865031',
'expert': ''
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '健身专家王友松教健身',
'qid': '',
'expert': 'angyousong7'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '顾中一教你健康营养',
'qid': '',
'expert': 'guzhongyi'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '李湘教你减肥秘诀',
'qid': '',
'expert': 'lixiangzslx'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '心血管病专家贾玉和谈病痛',
'qid': '',
'expert': 'jiayuhe7'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '糖尿病专家向红丁谈病痛',
'qid': '',
'expert': 'xianghongd3'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '金领小V谈职场生存学',
'qid': '',
'expert': '小V2013'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '杜子建说创业',
'qid': '',
'expert': '杜子建2012'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '张召忠谈钓鱼岛争端',
'qid': '',
'expert': 'zshaozhong2012'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbgl',
'title': '崔玉涛谈婴幼儿护理',
'qid': '',
'expert': '儿科医生崔玉涛'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '急诊女超人于莺谈病痛',
'qid': '',
'expert': 'yuyingjzk'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbzt',
'title': '薛蛮子谈天使投资',
'qid': '',
'expert': '薛蛮子2012'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbgl',
'title': '郑渊洁让童年如童话',
'qid': '',
'expert': '作家郑渊洁'
},
{
'url': 'http:\/\/zhidao.\/s\?fr=qbgl',
'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){
();
});
// 导航menu可用时间打点
alog && alog('', 'c_menu', +ne Date); alog.fire && alog.fire("mark");
}();
!function(){ync('question:idget/top-nav-bar/top-nav-bar.js');
}();
!function(){ ync('question:idget/ask/replyer/replyer.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){
('2159019074');
});
}();
!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.17","term":"1297","list":[{"id":"45600","title":"\u6211\u4eec\u5403\u7684\u82f9\u679c\uff0c\u771f\u7684\u662f\u51cf\u80a5\u5229\u5668\u5417\uff1f","mt_img_src":"https:\/\/gss0.\/8_BXsjip0QIZ8tyhnq\/timg?h_rate=0&apikno&quality=100&size=250&sec=0&di=8501688f6f2fe90cfe84b3bbb631b9e1&src=http%3A%2F%2Fikno02.bosstatic.%2Fzhidaoribao%2F2017%2F0317%2Fping.jpg"},{"id":"45436","title":"\u6708\u7403\u95fb\u8d77\u6765\u4ec0\u4e48\u5473\u9053\uff1f\u5b87\u822a\u5458\uff1a\u4e00\u80a1\u706b\u836f\u5473","mt_img_src":"https:\/\/gss0.\/8_BXsjip0QIZ8tyhnq\/timg?h_rate=0&apikno&quality=100&size=250&sec=0&di=23219d199ac72c5840bcb5df101cc16d&src=http%3A%2F%.%2Fzhidao%2Fh%253D800%252C450%2Fsign%3D48bae4d7db1b0ef46cbd9056edf47dee%2F77c6a7efce1b9d1611823698fadeb48f8d546486.jpg"},{"id":"45161","title":"\u94bb\u77f3\u662f\u4e16\u754c\u4e0a\u6700\u786c\u7684\u7269\u8d28\uff1f","mt_img_src":"https:\/\/gss0.\/8_BXsjip0QIZ8tyhnq\/timg?h_rate=0&apikno&quality=100&size=250&sec=0&di=411058d3938df44364f7882bc979919e&src=http%3A%2F%.%2Fzhidao%2Fh%253D800%252C450%2Fsign%3D25c3c9d47af082022dc799377bcbd7d9%2Fb2de9c82d158ccbfe40998cd10d8bc3eb035418b.jpg"},{"id":"45708","title":"\u4f7f\u7528\u201c\u5851\u6599\u949e\u7968\u201d\u662f\u4e00\u79cd\u4ec0\u4e48\u4f53\u9a8c\uff1f","mt_img_src":"https:\/\/gss0.\/8_BXsjip0QIZ8tyhnq\/timg?h_rate=0&apikno&quality=100&size=250&sec=0&di=3cb9b70116d471a5d8b03557b4dc001a&src=http%3A%2F%.%2Fzhidao%2Fh%253D800%252C450%2Fsign%3D4bbead1d6bd9f2d320442ce799dca627%2Fd1160924ab18972be44d9236efcd7b899f510ad2.jpg"},{"id":"45343","title":"\u4e3a\u4ec0\u4e48\u6d17\u6fa1\u7684\u65f6\u5019\u60f3\u5c3f\u5c3f\uff1f","mt_img_src":"https:\/\/gss0.\/8_BXsjip0QIZ8tyhnq\/timg?h_rate=0&apikno&quality=100&size=250&sec=0&di=dd395a410251265aadfe859e9d1d8af1&src=http%3A%2F%.%2Fzhidao%2Fh%253D800%252C450%2Fsign%3Dbf1a5db6c38065387bbfac1ba7ed8d70%2F6f061d950a7b020857fde7196bd9f2d3572cc816.jpg"},{"id":"45619","title":"\u4eba\u4e3a\u4ec0\u4e48\u90a3\u4e48\u559c\u6b22\u8bf4\u810f\u8bdd\uff1f","mt_img_src":"https:\/\/gss0.\/8_BXsjip0QIZ8tyhnq\/timg?h_rate=0&apikno&quality=100&size=250&sec=0&di=bb8a9660dac68f7bafc4de17f9d420f3&src=http%3A%2F%.%2Fzhidao%2Fh%253D800%252C450%2Fsign%3Dfeb17d63ad0f4bfb8c85965c337f54c4%2Fcdbf6c81800a19d8c08d96f93afa828ba71e46bb.jpg"},{"id":"45615","title":"\u54ea\u4e2a\u671d\u4ee3\u6700\u503c\u5f97\u7a7f\u8d8a\u56de\u53bb\uff1f","mt_img_src":"https:\/\/gss0.\/8_BXsjip0QIZ8tyhnq\/timg?h_rate=0&apikno&quality=100&size=250&sec=0&di=69f9884fe8e8358675b728645d349203&src=http%3A%2F%.%2Fzhidao%2Fh%253D800%252C450%2Fsign%3D1ae19fcd4390f60304e5944f09229f2f%2F7e3e6709c93d70cfaba4b9f1f1dcd100bba12beb.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' : '1495269813071308899'
});
});
}();
!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 () {
});
}
}
});
$.ajax({
url: '/mavin/api/mavinpv',
type: 'GET',
dataType: 'json',
data: {
qid: xt('page')['qid']
}
})
.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);
}
});
if(){
var options = {
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){
();
});
}
var adTopImg = $('.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'});
function logPV(){
var logOptions = {
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});
}
var uadminIcon = $('.uadmin-a');
var uadminIconSize = ;
if (uadminIconSize) {
dminIconNum = uadminIconSize;
}
setTimeout(function(){
d(logOptions, true);
}, 100);
}
var loc_ans = $.QueryValue(f, 'loc_ans');
if(!loc_ans) {
var myAnserList = $('.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 {
var locAnserList = $('.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'));
});
});
}
var grid68 = $('.qb-content'),
qid = xt('page')['qid'];
$.each({
'qb-content' : '.q-content a@',
'qb-supply-content' : '.q-supply-content a@',
'qb-best-text' : '.gt-best .best-text a@',
'qb-special-bast-text' : '.gt-special .best-text a@',
'qb-recommend-text' : '.gt-recommend .recommend-text a@',
'qb-anser-text' : '.anser-text a@',
'qb-replyask-ask' : '.ask+dd a',
'qb-replyask-reply' : '.reply+dd a',
'qb-best-thank' : '.thank pre a',
'qb-anser-refer' : '.anser-refer a'
}, function(key, val){
var aLink = grid68.find( (/\@$/, '[title!="点击查看大图"]') )
.not('.app-keyord,.inner-link')
.filter(function(){
return bute('href').match(/^http/i) && != '' && !$(this).closest('.ed2k-rap').size() && !$(this).closest('.thunder-rap').size()
});
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){
var isStandard = 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 ');
var bigImg = ne Image();
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();
});
});
//统计QB页用户名片的展现量、查看QB页用户名片的用户数
$('.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求助”的点击量、点击用户数
$('body').on('click', '.fixed-ask, .fixed-ask-e', function (e) {
d({
'page': 'qb',
'type': 2060,
'action': 'click',
'area': 'fixed-ask'
});
});
// “举报“下“描述不清”等三项的展现量(PV)、 “描述不清”等三项的点击总量、 “描述不清”等三项的点击用户数
$('body').on('mouseenter', '.gt-accuse .accuse-enter', function (e) {
d({
'page': 'qb',
'type': 2060,
'action': 'hover',
'area': 'accuse-enter'
});
}).on('click', '.gt-accuse a', function (e) {
d({
'page': 'qb',
'type': 2060,
'action': 'click',
'area': 'gt-accuse-a'
});
});
// 新增分享打点统计
if ($.QueryValue(f, 'sharesource')) {
d({
module: 'question',
page: 'qb',
project: 'ne-qb-share',
postion: 'ne-share',
action: 'vie-by-share-' + $.QueryValue(f, 'sharesource')
});
}
// 个人行家回答特型tooltip
var mavinTips = [];
var mavinTimeout = [];
$('.mavin-reply-icon').each(function (index) {
var me = this;
var mavinLevelTitle = $(this).attr('data-title');
var mavinMajor = $(this).attr('data-major');
var content = '
[' + mavinLevelTitle + ']已完成实名认证+行业认证';
if (mavinMajor == 1) {
content += '+专业认证';
}
content += '
';
$(this).mouseenter(function (e) {
$('div[role="tooltip"]').hide();
clearTimeout(mavinTimeout[index]);
mavinTimeout[index] = setTimeout(function () {
if (!mavinTips[index]) {
mavinTips[index] = ne Tip({
'target': me,
'tooltipClass' : 'tip-hite',
'autoDispose': false,
'direction': 'top',
'content': content,
'position': {
my: 'left-20 top'
}
});
}
mavinTips[index].sho();
}, 70);
}).mouseleave(function (e) {
mavinTimeout[index] = setTimeout(function () {
mavinTips[index] && mavinTips[ index ].hide();
}, 70);
});
});
d = function () {
var sendLog = function() {
var is_topads_truely_sho = null; // 顶部网盟
var is_bottomangmeng_truely_sho = null; // 底部网盟为你推荐
var is_leftads_truely_sho = null; // 实际展示左下广告
var is_rightads_truely_sho = null; // 实际展示左下广告
// 顶部网盟广告 -- 从元素高度判断
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;
}
// 底部为你推荐网盟广告 -- 从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;
}
// 同步右侧广告,看是否存在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;
}
// 得到浏览器信息
function getBroserType() {
if (.toLoerCase().indexOf('se 2.x')>-1) {
return 'Sougo';
} else if (.toLoerCase().indexOf('maxthon')>-1) {
return 'maxthon';
} else if (.toLoerCase().indexOf('qqbroser')>-1) {
return 'qqbroser';
} else if (.toLoerCase().indexOf('msie')>-1) {
return 'IE';
} else if (/chrome\/(\d+\.\d+)/()) {
return 'Chrome';
} else if (/firefox\/(\d+\.\d+)/()) {
return 'Firefox';
} else {
return 'other';
}
}
var brosert_type = getBroserType();
var adsLogParams = {
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);
};
/*
* 设置hunter用户体验报告
* @FE-hanzonge @PM-liulin04
* @date 2016-01-05
*
* 模糊匹配:mid=73716,取一定量pv
* 非模糊匹配:mid-qid映射关系为,
* 73707->124553427
* 73708->258966527
* 73709->145354616
* 73710->1509811702495467100
* 73711->334249256
*/
= || {};
fig = fig || [];
var tempHid = null;
var pageQid = xt('page').qid;
if (pageQid == 124553427) {
tempHid = 73707;
} else if (pageQid == 258966527) {
tempHid = 73708;
} else if (pageQid == 145354616) {
tempHid = 73709;
} else if (pageQid == 1509811702495467100) {
tempHid = 73710;
} else if (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);
}
}
var jumpTimer = setInterval(function () {
jumpShare();
}, 1000)
});
}();
!function(){ ync('common:idget/js/logic/dom-ready/dom-ready.js', function(D){ ([]) });
}();
为更好的阅读体验,本站章节内容基于百度转码进行转码展示,如有问题请您到源站阅读, 转码声明。
圣墟小说网邀请您进入最专业的小说搜索网站阅读纸婚厚爱①首席的秘密情人,纸婚厚爱①首席的秘密情人最新章节,纸婚厚爱①首席的秘密情人 圣墟小说网!
圣墟小说网邀请您进入最专业的小说搜索网站阅读纸婚厚爱①首席的秘密情人,纸婚厚爱①首席的秘密情人最新章节,纸婚厚爱①首席的秘密情人 圣墟小说网!