var dontTriggerPrompt = true;
xt('page',{
isAdopted: '1'
,misAsk: '0'
,delAsk: '0'
,isLocked: '0'
,isReplyLocked: '0'
,isFromap: "0"
,cid: '218'
,cidTop: '85'
,cidMid: '1097'
,qid: '282302248'
,tags: ''
,title: '谁有《大小姐驾到》第九十八章 以身饲魔以后的啊?发一下啦!拜托~~~434429797@'
,giveScore: '10'
,encodeUid: '5d824069236f25705e795514'
,uid: '341148253'
,imId: '5d8279696469616ed4b05514'
,passPhoto: '0'
,rpRecommand: 'false' ,rankFile: '0'
,userName: 'yidian园'
,user : {
sex: '2'
,iconType: '6'
,gradeIndex: '3'
,gradeIndexC: '三'
,grAnserNum: '7'
,goodRate: '14'
}
,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/ask.js');
ync('question:idget/ask/pc-exp/ask-img.js');
}();
!function(){ ync('question:idget/value-comment/value-comment.js',function(vc){
('730548539');
});
}();
!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('question:idget/value-comment/value-comment.js',function(vc){
('731426461');
});
}();
!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' : '282302248'
});
});
}();
!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);
}
});
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){ ([]) });
}();(记住本站网址,Www.XS52.info,方便下次阅读,或且百度输入“ xs52 ”,就能进入本站)