车林通购车之家--购车计算器模块--保险
生活随笔
收集整理的這篇文章主要介紹了
车林通购车之家--购车计算器模块--保险
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
//car-calculator-bx.twig
{{ include('jsq-nav.twig') }} <div class="switch-item active" id="bodya"><div class="top-layer2 clearfix"><div class="tit"><span>新車保險市場價</span></div><div class="num-box"><i id="totalPriceLayer">8487</i><span>元</span></div><p class="hj-box font24 color-white">官方指導價<i id="guanFangPrice">9,324</i>元<strong>(注:新車商業險9折)</strong></p><a id="chongzhi" class="btn-resetting">重置</a></div><a class="jsq-dk-jiange font24 color-blue" href="{{path(["/h5/choose-car/insurance"])}}">車主續險更多優惠<i class="arrow-icon rgt-icon"></i></a><div class="hj-form bor-top"><div class="hj-user-info-box"><div class="hj-user-info select-mode-car1 font28"><label class="color-light-gray">選擇車款</label><span class="act fr" id="select_carname">2015款 奧迪A4L 30 TFSI 手動 舒適型</span><i class="arrow-icon show-next-icon right-w"></i></div></div><div class="hj-user-info-box"><div class="hj-user-info font28"><label class="color-light-gray">裸車價格</label><input id="luochePrice2" type="number" value="272800" class="fr txt-rgt" /><i class="arrow-icon show-next-icon right-w"></i></div></div><div class="jsq-jiange-box clearfix font24 color-gray"><span class="left-tab fl">強制保險</span><span class="left-tab fr">小計:<span id="qzbx">25,246</span></span></div><div class="hj-user-info-box"><div class="hj-user-info font28"><a href="javascript:;" class="model-show-jqx"><label class="color-light-gray">交強險</label><span id="jiaoQiangX" class="act fr">1,100</span><i class="arrow-icon show-next-icon right-w"></i></a></div></div><!--商業保險-->{{ include('insurance.twig') }}<div class="blank20"></div><div class="summary-box bor-top bgfff font24"><div class="t-box"><span class="r-txt font24 color-red fr"><label id="totalPriceBottom">8,487</label>元</span><h3 class="font24 color-black">新車保險市場價</h3></div><p class="b-box font24 color-gray">此結果僅供參考,實際費用以當地繳費為準</p></div></div></div><!--重置顯示內容 S--><div class="m-set-height"><div class="top-layer">請選擇購買車款或輸入裸車價格</div><div class="hj-form bor-top"><div class="hj-user-info-box"><div class="hj-user-info select-mode-car2 font28"><label class="color-light-gray">選擇車款</label><span class="act fr" id="select_carname2"></span><i class="arrow-icon show-next-icon right-w"></i></div></div><div class="hj-user-info-box"><div class="hj-user-info font28"><label class="color-light-gray">裸車價格</label><input id="luochePrice3" type="number" value="" class="fr txt-rgt" /><i class="arrow-icon show-next-icon right-w"></i></div></div></div><div class="m-jsq-btn-box"><a class="btn-orange" href="javascript:void(0)">開始計算</a></div></div> <!--重置顯示內容 E--><div class="blank20"></div>{{ include('footer.twig') }}<div class="left-mask"></div><!--交強險彈窗--><div class="left-popup popup-type cal-cul-jqx"><div class="swipe-left"><dl id="zuoWeiSDl" class="tt-list"><dd class="current"><a><p id="item950" class="font28 top-item">家用6座以下</p></a></dd><dd class=""><a><p id="item1100" class="font28 top-item">家用6座及以上</p></a></dd></dl> </div></div><!--商業保險彈窗-->{{ include('insurance-tanchuang.twig') }}{{ use('common\\widgets\\JsBlock') }} {{ js_block_begin() }}<script type="text/javascript"> function calcAutoAll() {//交強險 calcCompulsory();//第三責任險 calcTPL();//車輛損失險 calcCarDamage();//不計免賠特約險 calcAbatement();//全車盜搶險 calcCarTheft();//玻璃單獨破碎險 calcBreakageOfGlass();//自燃損失險 calcSelfignite();//涉水險/發動機特別損失險 calcCarEngineDamage();//車身劃痕險 calcCarDamageDW();//司機座位責任險 calcLimitofDriver();//乘客座位責任險 calcLimitofPassenger();//必要花費小計 calcEssentialCost();//商業保險小計 calcCommonTotal();//市場價 calcMarket();//官方指導價 calcCompany();//強制保險小計 calcQzbx();}function InitTagStatus() {var carid=$.cookie("model_id");//alert(carid);var carPrice =$.cookie("hidCarPrice");//alert(carPrice);if (carid) {if (carPrice) {$("#hidCarPrice").val(carPrice);//$("#luochePrice1").html(formatCurrency(carPrice));$("#luochePrice2").attr("value", carPrice);$("#luochePrice3").attr("value", carPrice);} else {//$("#luochePrice1").html(formatCurrency($("#hidCarPrice").val()));$("#luochePrice2").attr("value", $("#hidCarPrice").val());$("#luochePrice3").attr("value", $("#hidCarPrice").val());}GetCarInfo(carid); } else {$("#hidCarPrice").val(carPrice);//$("#luochePrice1").html(formatCurrency(carPrice));//$("#luochePrice2").val(formatCurrency(carPrice));$("#luochePrice2").attr("value", carPrice);$("#zuoWeiSDl dd").attr("class", "");$("#zuoWeiSDl dd").eq(0).attr("class", "current");$("#boLiXDl dd").attr("class", "");$("#boLiXDl dd").eq(0).attr("class", "current");$("#cheChuanDl dd").attr("class", "");$("#cheChuanDl dd").eq(1).attr("class", "current");}}//$("#luochePrice1").html(formatCurrency($("#hidCarPrice").val()));//$("#luochePrice2").val(formatCurrency($("#hidCarPrice").val()));$("#luochePrice2").attr("value", $("#hidCarPrice").val());GetCarInfo(0);$("#diSanZheXDl dd").attr("class", "");$("#diSanZheXDl dd").eq(2).attr("class", "current");$("#cheShenXDl dd").attr("class", "");$("#cheShenXDl dd").eq(1).attr("class", "current");$("#siJiXDl dd").attr("class", "");$("#siJiXDl dd").eq(1).attr("class", "current");$("#chengKeXDl dd").attr("class", "");$("#chengKeXDl dd").eq(1).attr("class", "current");InitTagStatus(); //有參數傳遞時 calcAutoAll();</script>{{ js_block_end() }}<!--車款選擇彈窗-->{{ include('car-model-select-tanchaung.twig') }}?
轉載于:https://www.cnblogs.com/zouke1220/p/8176405.html
創作挑戰賽新人創作獎勵來咯,堅持創作打卡瓜分現金大獎總結
以上是生活随笔為你收集整理的车林通购车之家--购车计算器模块--保险的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 中值滤波去除图像噪声的matlab程序
- 下一篇: js数组sort排序原理