摘要: //car-model-select-tanchaung.twig 阅读全文
posted @ 2018-01-02 11:53 邹柯 阅读(176) 评论(0) 推荐(0)
摘要: //insurance-tanchuang.twig 阅读全文
posted @ 2018-01-02 11:52 邹柯 阅读(172) 评论(0) 推荐(0)
摘要: //insurance.twig 阅读全文
posted @ 2018-01-02 11:51 邹柯 阅读(243) 评论(0) 推荐(0)
摘要: //car-calculator-dk.twig 阅读全文
posted @ 2018-01-02 11:40 邹柯 阅读(262) 评论(0) 推荐(0)
摘要: //car-calculator-bx.twig 阅读全文
posted @ 2018-01-02 11:40 邹柯 阅读(199) 评论(0) 推荐(0)
摘要: //car-calculator-qk.twig 阅读全文
posted @ 2018-01-02 11:39 邹柯 阅读(295) 评论(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 邹柯 阅读(144) 评论(0) 推荐(0)
摘要: window.onresize = function(){ $(".car-tree").height($(window).height()-396); } 阅读全文
posted @ 2018-01-02 11:29 邹柯 阅读(259) 评论(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 邹柯 阅读(101) 评论(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 邹柯 阅读(214) 评论(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 邹柯 阅读(349) 评论(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 邹柯 阅读(502) 评论(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 邹柯 阅读(425) 评论(0) 推荐(0)
摘要: //jsq-nav.twig 全款计算 贷款计算 保险计算 {{ use('common\\widgets\\JsBlock') }} {{ js_block_begin() }} {{ js_block_end() }} 阅读全文
posted @ 2018-01-02 11:02 邹柯 阅读(277) 评论(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 邹柯 阅读(230) 评论(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 邹柯 阅读(157) 评论(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 邹柯 阅读(1355) 评论(0) 推荐(0)
摘要: function padleft0(obj) { return obj.toString().replace(/^[0-9]{1}$/, "0" + obj); } 阅读全文
posted @ 2018-01-02 10:46 邹柯 阅读(193) 评论(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 邹柯 阅读(110) 评论(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 邹柯 阅读(616) 评论(0) 推荐(0)
摘要: function getUrlParam(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象 var r = window.location.search.substr(1).match(reg); //匹配目标参数 if (r != null) r... 阅读全文
posted @ 2018-01-02 10:44 邹柯 阅读(156) 评论(0) 推荐(0)
摘要: function tabs_switch(tab,item){ $(tab).find("li a").click(function(){ $(this).parent().addClass("active").siblings("li").removeClass("active"); var index = $(this).parent().index(... 阅读全文
posted @ 2018-01-02 10:44 邹柯 阅读(358) 评论(0) 推荐(0)