按键盘上方向键 ← 或 → 可快速上下翻页,按键盘上的 Enter 键可回到本书目录页,按键盘上方向键 ↑ 可回到本页顶部!
————未阅读完?加入书签已便下次继续阅读!
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/ment/ment。js'; function(m){
();
});
('。remend…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('mon: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…pany 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('mon: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) {