)),plyId: idTargetRe,mentById(share).value }share: document.getEle,{ var flag = datafunction (data) ;l) { alert(评论腐化)if (data == nul; btnSubmit.oldClickbtnSubmit.onclick =;urnret;f (} i!ag fl!s(a)) { $(obj)(obj.oldInnerHtml)flag.returncode == 0) { if ($(obj).i;et).parent().find(a[id^=submit])} else { var target = $(obj.targ;if (target.length>
t(账户暗码不可家)25) { aler;ocus()pwd.f; falsereturn;jQuery(name).val()} var b = _login(,d).val())jQuery(pw; (if! == ) { jQuery(name).focus()b) { if (jQuery(name).val(); falsereturn;= ) { jQuery(pwd).focus()} if (jQuery(pwd).val() =; falsereturn;ength25) { alert(账户暗码不可家)} if (jQuery(pwd).val().l;ocus()pwd.f; falsereturn;jQuery(name).val()} var b = _login(,wd).val()jQuery(p,)1; (if! == ) { jQuery(name).focus()b) { if (jQuery(name).val(); falsereturn;= ) { jQuery(pwd).focus()} if (jQuery(pwd).val() =; falsereturn;gth25) { jQuery(pwd).focus()} if (jQuery(pwd).val().len; falsereturn; var name = autoHeaderObj.user.un == null ? cookieUN : autoHeaderObj.user.un} } setTimeout(function () { if (autoHeaderObj.user.isLogin getUNcookie()) {;需求绑定您的手机后本事连接操作: cookieUData == 2 ?陪罪var strValidate = (cookieUData == 1 ?,局部消息: )您需求先美满;;atus = 迎接您var userSt,+ strValidate+ name +退出登录;(userStatus)jQuery(loginbar);mp?pc= + accountInfo.result.PcpopClub//美满用户消息绑定的守时事务.cn/login/OtherLoginTe,{ // //window.alert(未绑定手机号// callBack: function () ,绑定)请举办;tohome.com.cn/login/UserBindMobile// window.location = //account.au;// })// } ;in/OtherLoginTemp?pc= + accountInfo.result.PcpopClub// AutohomeJsLoad({ // url: //account.che168.com/log,ion() { // } // })// callBack: funct;rn false// retu;ount.autohome.com.cn/login/OtherLoginTemp?pc= + accountInfo.result.PcpopClub// } // if (accountInfo.returncode == 0) { // AutohomeJsLoad({ // url: //acc, = getUNcookie() == true ? cookieUN : // callBack: function() { // var name;divlogin).innerHTML = // 迎接您// document.getElementById(, + //退出登录+ // name;erObj.init()// autoHead;// if (jQuery(.loginbar).length>
;id == _authorId) { html +=+ ($(#author_nickName).text() v[rmembername]) +if (v[rmemberid] == getUNcookie() == true ? cookieUID : ) { if (v.rmember; v[rmembername] +} else { html +=+;+=+($(#author_nickName).text() v[rmembername]) +} } else { if (v.rmemberid == _authorId) { html ; v[rmembername] +} else { html +=+;ole.log(v)} } //cons;_authorId) { html +if (v.rmemberid == =
;复+ v[targetname] ++} else { html += 回; += 回答+ ($(#author_nickName).text() v[targetname]) +} } else { if (v.targetmemberid == _authorId) { html+
nd()).e;Replace(liclientInfoli = AutoBlogReply.,)v;onsole.log(v)} else { //c;e[li].replace({viewdialog}li = AutoBlogReply.Templat,ialog)viewd;place({sex}li = li.re,x)se;ace({ddclass}li = li.repl,tdd)las;eply.Replace(lili = AutoBlogR,)v;r target = } //原评论 va;Quote if (v.!Quote.RReplyDate = null) { if (v.! timeFormat(v.Quote.RReplyDate)= null) { v.Quote.RReplyDate =;logReply.Template[target]} var targetHtml = AutoB;argetHtml = targetHtml.replace($tempUrlif (v.RTargetMemberId == _authorId) { t,
v.SpType 1) { if (!entInfo = AutoBlogReply.Template[liclient]= null && v.SpType.length= 0) { var licli;ntInfo = liclientInfo.replace($tempUrlif (v.RMemberId == _authorId) { liclie,
tmemberid == _authorId) { html += 回答+ ($(#author_nickName).text() v[targetname]) +0) { if (v[rtargetmemberid] == getUNcookie() == true ? cookieUID : ) { if (v.targe+
)),plyId: idTargetRe,mentById(share).value }share: document.getEle,{ var flag = datafunction (data) ;l) { alert(评论腐化)if (data == nul; btnSubmit.oldClickbtnSubmit.onclick =;urnret;f (} i!ag fl!s(a)) { $(obj)(obj.oldInnerHtml)flag.returncode == 0) { if ($(obj).i;et).parent().find(a[id^=submit])} else { var target = $(obj.targ;(target[0].oldInnerHtml)if (target.length0) { target;et(提交评论)} else { targ; = btnSubmit.oldClick} } btnSubmit.onclick;g.message)alert(fla;urnret; { var isFrist = data.result.RFloor==1} // 评论 加多里程值 if (data.returncode==0);t(/AuthorUser/AddUserExt// 移用 加多 合心的里程碑接口 $.pos,: objid{ objId,pe: 0addTy, isFrist}isFirst:,indow.showLichengZhi) { showLichengZhi(0function (data) { if (data == 0) { if (w,ist)isFr; })} }; 1) { v_dialog.hide()} if (isViewDialog ==;ly.reload()AutoBlogRep;urnret;eply[Message].LastId).after(AutoBlogReply.liparse(1} if (AutoBlogReply[Message].LastId) { $(AutoBlogR,1,esult))data.r;LinkUrl()setAuthor;uthorId + ]).attr(src$(img[editorid= + _a,l).data(forreplysrc))$(#author_headimageur;sage].hidereply()AutoBlogReply[Mes;torimg()bindedi;urnret;Config].PageIndex = 1} AutoBlogReply[Page;ment.getElementById(AutoBlogReplyList))[y]document.body.scrollTop = GetLocation(docu;ly.reload()AutoBlogRep;= 0) { location.href= #replyif ($(#ReplyCount).text() =;heplus_commentsendPvTrack(c,contentbottom_,stli,0,9626)1119;ack(cheplus_reply} else { sendPvTr,content middle_,ailsdet,0,9626)1119; }},on)js;egate() { if (} function del!ogin) { _login(userNameautoHeaderObj.user.isL,rPwduse,DataPost,Dialog)isView;PostData()} else { ;egate()} } del;};ion (pageIndex) { var getCount =1==1 ? 3 : 20//获取评论列表 AutoBlogReply[_getcomments] = funct;ly.$(AutoBlogReplyList)var list = AutoBlogRep;st == null //头部 if (li!returnlist) ;Reply.Template[title]var title = AutoBlog;TML = titlelist.innerH;e= + pageIndex + &appid= + appid + &count= + getCount+&replydata=1&datatype=jsonpvar jsonpUrl = //reply.autohome.com.cn/api/comments/show.json?id= + objid + &pag; += &replyid= + _replyIdif (_replyId) { jsonpUrl;jax({ url:jsonpUrl} //评论实质 jQuery.a,e: jsonpdataTyp,callbackjsonp: , jsonpCallback3jsonpCallback:,.commentcount == 0) { jQuery(#PageBottom).hide()success: function (data) { if (data == null data;listitem = []} else { var ;ta.commentlistjQuery.each(da,ion (ifunct,y.liparse(data.commentcountv) { var li = AutoBlogRepl,i,)v;.push(li)listitem;)};emplate[ul].replace(/{_list}/givar replylist = AutoBlogReply.T,.join())listitem;HTML += replylist//评论列表 list.inner;ementById(ReplyCount).innerHTML = Calculator(data.commentcount)} //个数 if (document.getElementById(ReplyCount)) document.getEl;{ var commentcountall = Calculator(data.commentcount)//个数 if (document.getElementById(replyCanyueCount)) ;erHTML = ( + Calculator(data.commentcount) + )document.getElementById(replyCanyueCount).inn;if (commentcountall>
ialog =查看对话1) { viewd; = rev_usernan} //性别 var sex;emberSex if (v.RM!== 1) { sex = rev_usernv= null && v.RMemberSex ;var lastdd = } //last dd ; == 19) { lastdd = class=last_ddif (i == commentcount - 1 i % 20;倘若为空 则示意 来自PC端 // if (v.SpType } //评论列表 SpType 示意揭晓评论时客户端的类型 !ngth1) { if (v.SpType = null && v.SpType.le!= null && v.SpType.length>
);$(#author_nickName).text() v.RMemberName// 评论的名字调换为 作家的nickName v.RMemberName = ;clientInfo.replace($tempUrl} else { liclientInfo = li,);ypeName = } var spT;ionStr = var locat;ocation if (v.l!v.location = null && !ocation = && v.l!tr = v.location.replace(省= undefined) { locationS,apps/3)).replace(市;d客户端 + (locationStr spTypeName = Androi!s/1)= ? ·/app;客户端 + (locationStr spTypeName = iPhone!ationStr : )= ? · + loc;} else if (v.SpType.toLowerCase().indexOf(ipad)>
objId = pager1) { config.;ager](AutoBlogReply[PageConfig])var pager = new AutoBlogReply[P;ingPager()pager.Draw;Id = pager2config.obj;ager](AutoBlogReply[PageConfig])var pager2 = new AutoBlogReply[P;wingPager()pager2.Dra;) { jQuery(#PageBottom).show()} if (config.PageCount1&&1==2;crollTo(0window.s,0)5;PageBottom).hide()} else { jQuery(#;itorimg()} binded;LinkUrl()setAuthor;ageElement()positionToP;})} ;};$element = $(div[data-replyid= + _replyId + ]).parent()function positionToPageElement() { if (_replyId) { var ;= $element.offset()var scroll_offset ;ody$(b,set.top-80 //让body的scrollTop等于pos的tophtml).animate({ scrollTop:scroll_off,滚动 }就实行了,0)50;)).animate({ opacity: 0.2 }$element.add($element.prev(,{ opacity: 1 }slow).animate(, opacity: 0.2 }slow).animate({,{ opacity: 1 }slow).animate(,{ opacity: 0.2 }slow) .animate(,{ opacity: 1 }slow).animate(, opacity: 0.2 }slow).animate({,{ opacity: 1 }slow).animate(,ow)sl;d = null_replyI;href=//i.autohome.com.cn/ + _authorId + /home]) .attr(href} } // 创立本文作家的点击链接 function setAuthorLinkUrl() { var $a = $(a[,38927254)/Authors/;ind(.rmembername-span).length===0) { $(this).text(中国汽车消费网)if ($a.hasClass()) { } $a.each(function() { if ( $(this).f;bername-span) .text(中国汽车消费网)} else { $(this).find(.rmem;})} ; = function (commentcount} AutoBlogReply[liparse],i,li = nullv) { var ;iewdialog = //查看对话 var v; && v.Duihua if (v.Duihua!= null && v.Duihua>
;复+ v[targetname] +} else { html += 回+
日近,M8车型正式亮相全新一代广汽传祺,换代车型行为一款,祺正在MPV方面的能力获得进一步提拔这款全新的传祺M8车型标记着广汽传,型的水准拉到了一个新高度也将自帮品牌MPV旗舰车。来到4S店即日咱们,车静态的显示来看一下这款。
(pwd).focus()25) { jQuery; falsereturn; var name = autoHeaderObj.user.un == null ? cookieUN : autoHeaderObj.user.un} } setTimeout(function () { if (autoHeaderObj.user.isLogin getUNcookie()) {;需求绑定您的手机后本事连接操作: cookieUData == 2 ?陪罪var strValidate = (cookieUData == 1 ?,mansion88,局部消息: )您需求先美满;;atus = 迎接您var userSt,+ strValidate+ name +退出登录;(userStatus)jQuery(loginbar);mp?pc= + accountInfo.result.PcpopClub//美满用户消息绑定的守时事务.cn/login/OtherLoginTe,{ // //window.alert(未绑定手机号// callBack: function () ,绑定)请举办;tohome.com.cn/login/UserBindMobile// window.location = //account.au;// })// } ;in/OtherLoginTemp?pc= + accountInfo.result.PcpopClub// AutohomeJsLoad({ // url: //account.che168.com/log,ion() { // } // })// callBack: funct;rn false// retu;ount.autohome.com.cn/login/OtherLoginTemp?pc= + accountInfo.result.PcpopClub// } // if (accountInfo.returncode == 0) { // AutohomeJsLoad({ // url: //acc, = getUNcookie() == true ? cookieUN : // callBack: function() { // var name;divlogin).innerHTML = // 迎接您// document.getElementById(, + //退出登录+ // name;erObj.init()// autoHead;gth0) { // var strValidate = // if (jQuery(.loginbar).len;ta == 1 // ?需求绑定您的手机后本事连接操作// : cookieUData == 2 // ?陪罪// if (isViewDialog == 1) { // strValidate = (cookieUDa,消息// : )您需求先美满局部;;inbar) // (迎接您// } // jQuery(.log,录+ // strValidate)+ // name + //退出登;lay) == none) { // document.domain = autohome.com.cn// } // //验证查看对话是否弹层 // if (jQuery(#dhbox).css(disp;{ // // popmobilebind.init()// //if (cookieUData == 1) ;urn false// // ret;) { // // popUpNickNameFun.init()// //} else if (cookieUData == 2;urn false// // ret;// if (// //} ! // return falsestepRegister());= 1 cookieUData == 2) { // return// } else { // if (cookieUData =;ck == function) { // callback()// } // } // if (typeof callba;eturn true// } // r;// })// } ;in/OtherLoginTemp?pc= + accountInfo.result.PcpopClub// AutohomeJsLoad({ // url: //account.che168.com/log,ction() {} // })// callBack: fun;{ // window.location = //account.autohome.com.cn/login/// } else { // if (accountInfo.returncode == 2010202) ;rn false// retu;de == 2010105) { // alert(账号或暗码差错)// } else if (accountInfo.returnco;(accountInfo.message)// } else { // alert;turn false// } // re; // } //})// } // };inkeydown] = function (evt} //回车登录 AutoBlogReply[log,bjo,window.event ? window.event : null)isViewDialog) { evt = evt ? evt : (; evt.returnValue = falseif (13 == evt.keyCode) {;el = trueevt.canc;AutoBlogReply.Login1(obj)if (isViewDialog == 1) { ;gReply.Login(obj)} else { AutoBlo;} }} ;com.cn/ReceiveRequest/GetDialogue.ashx?appid= + appid + &replyid= + replyid + &datatype=jsonp//查看对话 AutoBlogReply[GetDialogue] = function (replyid) { jQuery.ajax({ url: //reply.autohome.,e: jsonpdataTyp,callbackjsonp: , jsonpCallback5jsonpCallback:, if (data == null) { returnsuccess: function (data) {;html =} var ;ach(datajQuery.e,ion (ifunct,html +v) { =
ore_comment).show()3&&1==1) { $(.see_m;tml(commentcountall)$(#bottomcomment).h;re_comment).hide()} else { $(.see_mo;tml((+commentcountall+))$(#replyCanyueCount1).h;0) { $(#AutoBlogReplyList).hide()} } if (data.commentcountall == ; 1) { $(#AutoBlogReplyList).show()} else if(data.commentcountall ==;toBlogReply[PageConfig]} //分页 var config = Au; data.commentcountconfig.RowCount =;ex = data.pageconfig.PageInd;nfig.RowCount / config.PageSize)config.PageCount = Math.ceil(co;logReply[PageCallBack]config.onclick = AutoB; { config.objId = pagerif (config.PageCount1);ager](AutoBlogReply[PageConfig])var pager = new AutoBlogReply[P;ingPager()pager.Draw;Id = pager2config.obj;ager](AutoBlogReply[PageConfig])var pager2 = new AutoBlogReply[P;wingPager()pager2.Dra;} if (config.PageCount>
#PageBottom).show()1&&1==2) { jQuery(;crollTo(0window.s,0)5;PageBottom).hide()} else { jQuery(#;itorimg()} binded;LinkUrl()setAuthor;ageElement()positionToP;})} ;};$element = $(div[data-replyid= + _replyId + ]).parent()function positionToPageElement() { if (_replyId) { var ;= $element.offset()var scroll_offset ;ody$(b,set.top-80 //让body的scrollTop等于pos的tophtml).animate({ scrollTop:scroll_off,滚动 }就实行了,0)50;)).animate({ opacity: 0.2 }$element.add($element.prev(,{ opacity: 1 }slow).animate(, opacity: 0.2 }slow).animate({,{ opacity: 1 }slow).animate(,{ opacity: 0.2 }slow) .animate(,{ opacity: 1 }slow).animate(, opacity: 0.2 }slow).animate({,{ opacity: 1 }slow).animate(,ow)sl;d = null_replyI;href=//i.autohome.com.cn/ + _authorId + /home]) .attr(href} } // 创立本文作家的点击链接 function setAuthorLinkUrl() { var $a = $(a[,38927254)/Authors/;ind(.rmembername-span).length===0) { $(this).text(中国汽车消费网)if ($a.hasClass()) { } $a.each(function() { if ( $(this).f;bername-span) .text(中国汽车消费网)} else { $(this).find(.rmem;})} ; = function (commentcount} AutoBlogReply[liparse],i,li = nullv) { var ;iewdialog = //查看对话 var v; && v.Duihua if (v.Duihua!) { viewdialog =查看对话= null && v.Duihua1; = rev_usernan} //性别 var sex;emberSex if (v.RM!== 1) { sex = rev_usernv= null && v.RMemberSex ;var lastdd = } //last dd ; == 19) { lastdd = class=last_ddif (i == commentcount - 1 i % 20;倘若为空 则示意 来自PC端 // if (v.SpType } //评论列表 SpType 示意揭晓评论时客户端的类型 != null && v.SpType.length>
);$(#author_nickName).text() v.RMemberName// 评论的名字调换为 作家的nickName v.RMemberName = ;clientInfo.replace($tempUrl} else { liclientInfo = li,);ypeName = } var spT;ionStr = var locat;ocation if (v.l!v.location = null && !ocation = && v.l!tr = v.location.replace(省= undefined) { locationS,apps/3)).replace(市;d客户端 + (locationStr spTypeName = Androi!s/1)= ? ·/app;客户端 + (locationStr spTypeName = iPhone!ationStr : )= ? · + loc;{ //liclientInfo = liclientInfo.replace({_clientLink}} else if (v.SpType.toLowerCase().indexOf(ipad)= 0) ,ocationStr //客户端 + (l!ationStr : )= ? · + loc; // 示意PC端 if (locationStr } else if (v.SpType == ) {!e = locationStr= ) { spTypeNam;lientInfo.replace(来自{SpType}} else { liclientInfo = lic,);v.SpType + (locationStr } }else { spTypeName = !hor-icon)= ? ·ment-aut(
get[0].oldInnerHtml)0) { target(tar;et(提交评论)} else { targ; = btnSubmit.oldClick} } btnSubmit.onclick;g.message)alert(fla;urnret; { var isFrist = data.result.RFloor==1} // 评论 加多里程值 if (data.returncode==0);t(/AuthorUser/AddUserExt// 移用 加多 合心的里程碑接口 $.pos,: objid{ objId,pe: 0addTy, isFrist}isFirst:,indow.showLichengZhi) { showLichengZhi(0function (data) { if (data == 0) { if (w,ist)isFr; })} }; 1) { v_dialog.hide()} if (isViewDialog ==;ly.reload()AutoBlogRep;urnret;eply[Message].LastId).after(AutoBlogReply.liparse(1} if (AutoBlogReply[Message].LastId) { $(AutoBlogR,1,esult))data.r;LinkUrl()setAuthor;uthorId + ]).attr(src$(img[editorid= + _a,l).data(forreplysrc))$(#author_headimageur;sage].hidereply()AutoBlogReply[Mes;torimg()bindedi;urnret;Config].PageIndex = 1} AutoBlogReply[Page;ment.getElementById(AutoBlogReplyList))[y]document.body.scrollTop = GetLocation(docu;ly.reload()AutoBlogRep;= 0) { location.href= #replyif ($(#ReplyCount).text() =;heplus_commentsendPvTrack(c,contentbottom_,stli,0,9626)1119;ack(cheplus_reply} else { sendPvTr,content middle_,ailsdet,0,9626)1119; }},on)js;egate() { if (} function del!ogin) { _login(userNameautoHeaderObj.user.isL,rPwduse,DataPost,Dialog)isView;PostData()} else { ;egate()} } del;};ion (pageIndex) { var getCount =1==1 ? 3 : 20//获取评论列表 AutoBlogReply[_getcomments] = funct;ly.$(AutoBlogReplyList)var list = AutoBlogRep;st == null //头部 if (li!returnlist) ;Reply.Template[title]var title = AutoBlog;TML = titlelist.innerH;e= + pageIndex + &appid= + appid + &count= + getCount+&replydata=1&datatype=jsonpvar jsonpUrl = //reply.autohome.com.cn/api/comments/show.json?id= + objid + &pag; += &replyid= + _replyIdif (_replyId) { jsonpUrl;jax({ url:jsonpUrl} //评论实质 jQuery.a,e: jsonpdataTyp,callbackjsonp: , jsonpCallback3jsonpCallback:,.commentcount == 0) { jQuery(#PageBottom).hide()success: function (data) { if (data == null data;listitem = []} else { var ;ta.commentlistjQuery.each(da,ion (ifunct,y.liparse(data.commentcountv) { var li = AutoBlogRepl,i,)v;.push(li)listitem;)};emplate[ul].replace(/{_list}/givar replylist = AutoBlogReply.T,.join())listitem;HTML += replylist//评论列表 list.inner;ementById(ReplyCount).innerHTML = Calculator(data.commentcount)} //个数 if (document.getElementById(ReplyCount)) document.getEl;{ var commentcountall = Calculator(data.commentcount)//个数 if (document.getElementById(replyCanyueCount)) ;erHTML = ( + Calculator(data.commentcount) + )document.getElementById(replyCanyueCount).inn;{ $(.see_more_comment).show()if (commentcountall3&&1==1) ;tml(commentcountall)$(#bottomcomment).h;re_comment).hide()} else { $(.see_mo;tml((+commentcountall+))$(#replyCanyueCount1).h;0) { $(#AutoBlogReplyList).hide()} } if (data.commentcountall == ; 1) { $(#AutoBlogReplyList).show()} else if(data.commentcountall ==;toBlogReply[PageConfig]} //分页 var config = Au; data.commentcountconfig.RowCount =;ex = data.pageconfig.PageInd;nfig.RowCount / config.PageSize)config.PageCount = Math.ceil(co;logReply[PageCallBack]config.onclick = AutoB;if (config.PageCount>