摘要: //car-model-select-tanchaung.twig 阅读全文
posted @ 2018-01-02 11:53 邹柯 阅读(167) 评论(0) 推荐(0) 编辑
摘要: //insurance-tanchuang.twig 阅读全文
posted @ 2018-01-02 11:52 邹柯 阅读(164) 评论(0) 推荐(0) 编辑
摘要: //insurance.twig 阅读全文
posted @ 2018-01-02 11:51 邹柯 阅读(238) 评论(0) 推荐(0) 编辑
摘要: //car-calculator-dk.twig 阅读全文
posted @ 2018-01-02 11:40 邹柯 阅读(246) 评论(0) 推荐(0) 编辑
摘要: //car-calculator-bx.twig 阅读全文
posted @ 2018-01-02 11:40 邹柯 阅读(192) 评论(0) 推荐(0) 编辑
摘要: //car-calculator-qk.twig 阅读全文
posted @ 2018-01-02 11:39 邹柯 阅读(269) 评论(0) 推荐(0) 编辑
摘要: function tree_href(num){ var index = $("#item_"+num).index(); whole_height = 0; for(var i=0; i<index;i++){ whole_height += $(".car-tree").find(".car-tree-item").eq(i).height()+10; ... 阅读全文
posted @ 2018-01-02 11:29 邹柯 阅读(136) 评论(0) 推荐(0) 编辑
摘要: window.onresize = function(){ $(".car-tree").height($(window).height()-396); } 阅读全文
posted @ 2018-01-02 11:29 邹柯 阅读(250) 评论(0) 推荐(0) 编辑
摘要: $(".car-tree-item").find("a").click(function(){ $(".car-tree").scrollTop($(this).position().top); $(this).css("color","#c00"); }); 阅读全文
posted @ 2018-01-02 11:28 邹柯 阅读(95) 评论(0) 推荐(0) 编辑
摘要: $(".letter-nav").find("a").click(function(){ if($(this).parent("li").hasClass("defult")){ $(this).parent("li").removeClass("active"); }else{ $(this).parent("li").addClass("a... 阅读全文
posted @ 2018-01-02 11:27 邹柯 阅读(206) 评论(0) 推荐(0) 编辑
摘要: var top = $(".nav-frame").offset().top $(document).scroll(function(){ if($(this).scrollTop()>top){ $(".offer-brand-panel").addClass("fixed"); $(".car-tree").height($(window).h... 阅读全文
posted @ 2018-01-02 11:26 邹柯 阅读(345) 评论(0) 推荐(0) 编辑
摘要: $(".display-sub").click(function(){ if($(this).children(".tree-slide-icon").hasClass("minus")){ $(this).children(".tree-slide-icon").removeClass("minus"); $(this).next("ul").hide();... 阅读全文
posted @ 2018-01-02 11:24 邹柯 阅读(494) 评论(0) 推荐(0) 编辑
摘要: //CarCalculator.jsvar checkedClass = "jsq-item-check jsq-item-checked"; var uncheckedClass = "jsq-item-check"; var shangPai = 0; //格式化前的税价 var taxPriceList = {"shoufu":0, "acquisitionTax": 0,"jiaoQi... 阅读全文
posted @ 2018-01-02 11:09 邹柯 阅读(402) 评论(0) 推荐(0) 编辑
摘要: //jsq-nav.twig 全款计算 贷款计算 保险计算 {{ use('common\\widgets\\JsBlock') }} {{ js_block_begin() }} {{ js_block_end() }} 阅读全文
posted @ 2018-01-02 11:02 邹柯 阅读(234) 评论(0) 推荐(0) 编辑
摘要: var pagination = function (thispage, totalpage, ulele, firstlast) { ulele.html(''); var prevCss, nextCss, firstCss, lastCss; firstCss = $('', { "class": thispage == 1 ? 'prev dis... 阅读全文
posted @ 2018-01-02 10:53 邹柯 阅读(224) 评论(0) 推荐(0) 编辑
摘要: function toThousands(num) { var num = (num || 0).toString(), result = ''; while (num.length > 3) { result = ',' + num.slice(-3) + result; num = num.slice(0, num.length - 3); ... 阅读全文
posted @ 2018-01-02 10:51 邹柯 阅读(151) 评论(0) 推荐(0) 编辑
摘要: function formatViewNum(num){ if(parseInt(num) > 10000){ return parseFloat(num / 10000).toFixed(1)+"万"; }else if(parseInt(num) > 10000){ return parseFloat(num / 1000).toFixed(1... 阅读全文
posted @ 2018-01-02 10:50 邹柯 阅读(1339) 评论(0) 推荐(0) 编辑
摘要: function padleft0(obj) { return obj.toString().replace(/^[0-9]{1}$/, "0" + obj); } 阅读全文
posted @ 2018-01-02 10:46 邹柯 阅读(187) 评论(0) 推荐(0) 编辑
摘要: function setCookie(name, value, ms){ var oDate=new Date(); oDate = new Date(oDate.getTime()+ms*1000); document.cookie=name+'='+encodeURIComponent(value)+';expires='+oDate; } function getC... 阅读全文
posted @ 2018-01-02 10:45 邹柯 阅读(101) 评论(0) 推荐(0) 编辑
摘要: function getnowtime() { var nowtime = new Date(); var year = nowtime.getFullYear(); var month = padleft0(nowtime.getMonth() + 1); var day = padleft0(nowtime.getDate()); ... 阅读全文
posted @ 2018-01-02 10:45 邹柯 阅读(601) 评论(0) 推荐(0) 编辑