pages-carInsure1-carType1.0d5c6e7d.js 5.5 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-carInsure1-carType1"],{"0503":function(e,t,a){"use strict";a.r(t);var n=a("30ca"),i=a.n(n);for(var o in n)["default"].indexOf(o)<0&&function(e){a.d(t,e,(function(){return n[e]}))}(o);t["default"]=i.a},"1b06":function(e,t,a){"use strict";var n=a("c223"),i=a.n(n);i.a},"30ca":function(e,t,a){"use strict";a("7a82");var n=a("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(a("c7eb")),o=n(a("1da1")),r=(a("26cb"),{data:function(){return{brandName:"",frameNo:"",enrollDate:"",typeList:[]}},onLoad:function(e){e.brandName?this.brandName=decodeURIComponent(e.brandName):e.frameNo?this.frameNo=decodeURIComponent(e.frameNo):this.brandName="大众"},computed:{getHeight:function(){var e=uni.getSystemInfoSync().windowHeight;return"height: ".concat(e,"px;")}},methods:{queryList:function(e,t){var a=this;return(0,o.default)((0,i.default)().mark((function e(){var t,n,o;return(0,i.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!a.brandName){e.next=11;break}return t={modelName:a.brandName},e.next=4,a.$http.post("/insZhongmei/modelQuery",t);case 4:n=e.sent,[],n.data&&n.data,a.$refs.paging.complete(n.data),a.firstLoaded=!0,e.next=19;break;case 11:if(!a.frameNo){e.next=19;break}return e.next=14,a.$http.get("/insZhongmei/vinSearch?frameNo="+a.frameNo);case 14:o=e.sent,[],o.data&&o.data,a.$refs.paging.complete(o.data),a.firstLoaded=!0;case 19:case"end":return e.stop()}}),e)})))()},chooseVehicleType:function(e){var t=getCurrentPages(),a=(t[t.length-1],t[t.length-2]);a.$vm.carInfo.brandName=this.typeList[e].modelName,a.$vm.carInfo.modelcname=this.typeList[e].modelName,a.$vm.carInfo.brandId=this.typeList[e].brandCode,a.$vm.carInfo.modelCode=this.typeList[e].modelCode,a.$vm.carInfo.familyName=this.typeList[e].series,a.$vm.carInfo.familyCode=this.typeList[e].seriesCode,a.$vm.carInfo.seatCount=this.typeList[e].ratedPassengerCapacity,a.$vm.carInfo.purchasePrice=this.typeList[e].replacementValue,a.$vm.carInfo.enginedesc=this.typeList[e].displacement+"L",a.$vm.carInfo.power=this.typeList[e].power,a.$vm.carInfo.caryear=this.typeList[e].marketYear,a.$vm.carInfo.powertype=this.typeList[e].energyTypes,uni.navigateBack({delta:1})}}});t.default=r},"3cb4":function(e,t,a){"use strict";a.r(t);var n=a("a58b"),i=a("0503");for(var o in i)["default"].indexOf(o)<0&&function(e){a.d(t,e,(function(){return i[e]}))}(o);a("1b06");var r=a("f0c5"),c=Object(r["a"])(i["default"],n["b"],n["c"],!1,null,"fbbb2cc0",null,!1,n["a"],void 0);t["default"]=c.exports},a58b:function(e,t,a){"use strict";a.d(t,"b",(function(){return i})),a.d(t,"c",(function(){return o})),a.d(t,"a",(function(){return n}));var n={zPaging:a("5ce7").default},i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",{staticStyle:{"background-color":"#f2f2f2"}},[a("public-module"),a("v-uni-view",{staticClass:"box"},[a("z-paging",{ref:"paging",style:e.getHeight,attrs:{"auto-show-back-to-top":!0,list:e.typeList,"default-page-size":10},on:{query:function(t){arguments[0]=t=e.$handleEvent(t),e.queryList.apply(void 0,arguments)},"update:list":function(t){arguments[0]=t=e.$handleEvent(t),e.typeList=t}}},e._l(e.typeList,(function(t,n){return a("v-uni-view",{key:n,staticClass:"row d-flex flex-column",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.chooseVehicleType(n)}}},[a("v-uni-view",{staticClass:"row_header d-flex a-center j-sb"},[a("v-uni-view",{staticClass:"left"},[e._v(e._s(t.modelName))]),a("v-uni-view",{staticClass:"right"},[e._v("¥"+e._s(t.replacementValue))])],1),a("v-uni-view",{staticClass:"row_body"},[a("v-uni-view",[a("v-uni-view",[e._v("车系:"+e._s(t.series))]),a("v-uni-view",[e._v(e._s(t.remark))]),a("v-uni-view",[e._v("厂牌型号代码:"),a("v-uni-text",{staticStyle:{color:"#ea552d"}},[e._v(e._s(t.modelCode))])],1),a("v-uni-view",[e._v("年款:"),a("v-uni-text",{staticStyle:{color:"#2432ff"}},[e._v(e._s(t.marketYear))])],1),a("v-uni-view",[e._v("排量:"),a("v-uni-text",{staticStyle:{color:"#2432ff"}},[e._v(e._s(t.displacement))])],1),a("v-uni-view",[e._v("座位数:"),a("v-uni-text",{staticStyle:{color:"#2432ff"}},[e._v(e._s(t.ratedPassengerCapacity))])],1)],1)],1)],1)})),1)],1)],1)},o=[]},c223:function(e,t,a){var n=a("f913");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=a("4f06").default;i("757955d4",n,!0,{sourceMap:!1,shadowMode:!1})},f913:function(e,t,a){var n=a("24fb");t=n(!1),t.push([e.i,".box[data-v-fbbb2cc0]{padding-top:10px}.display[data-v-fbbb2cc0]{display:flex}.row[data-v-fbbb2cc0]{width:100%;box-sizing:border-box;margin-bottom:%?20?%;border-radius:%?5?%;padding:%?10?%;background-color:#fff;padding:10px}.row .row_header[data-v-fbbb2cc0]{font-size:%?28?%;border-bottom:%?1?% solid #eee;height:%?50?%}.row .row_header .left[data-v-fbbb2cc0]{flex:5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#333}.row .row_header .right[data-v-fbbb2cc0]{flex:2;color:#ea552d;text-align:right}.row_body[data-v-fbbb2cc0]{padding:10px}.row .row_body uni-view[data-v-fbbb2cc0]{color:#333;font-size:%?24?%;text-align:center;display:flex;flex-wrap:wrap;justify-content:space-between}.row .row_body uni-view>uni-view[data-v-fbbb2cc0]{margin:0 5px}\n\n/* 底部的样式Start */.bottom[data-v-fbbb2cc0]{height:%?120?%;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:%?1?% solid #eee;z-index:99}.bottom>uni-button[data-v-fbbb2cc0]{font-size:%?30?%;background:#337ab7;color:#fff;flex:1;margin:%?0?% %?30?%}\n\n/* 底部的样式End */",""]),e.exports=t}}]);