<!DOCTYPE html><htmllang=en><head><metacharset=utf-8><metahttp-equiv=X-UA-Compatiblecontent="IE=edge"><metaname=viewportcontent="width=device-width,initial-scale=1"><linkrel=iconhref=/favicon.ico><title>collision</title><linkhref=/css/about.207ad3c9.cssrel=prefetch><linkhref=/js/about.044cd5d3.jsrel=prefetch><linkhref=/css/app.73e02543.cssrel=preloadas=style><linkhref=/css/chunk-vendors.5303f83e.cssrel=preloadas=style><linkhref=/js/app.c7d70ce5.jsrel=preloadas=script><linkhref=/js/chunk-vendors.c4403347.jsrel=preloadas=script><linkhref=/css/chunk-vendors.5303f83e.cssrel=stylesheet><linkhref=/css/app.73e02543.cssrel=stylesheet></head><body><noscript><strong>We're sorry but collision doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><divid=app></div><script src=/js/chunk-vendors.c4403347.js></script><script src=/js/app.c7d70ce5.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><htmllang=en><head><metacharset=utf-8><metahttp-equiv=X-UA-Compatiblecontent="IE=edge"><metaname=viewportcontent="width=device-width,initial-scale=1"><linkrel=iconhref=/favicon.ico><title>collision</title><linkhref=/css/about.f652bc32.cssrel=prefetch><linkhref=/js/about.19cba543.jsrel=prefetch><linkhref=/css/app.73e02543.cssrel=preloadas=style><linkhref=/css/chunk-vendors.5303f83e.cssrel=preloadas=style><linkhref=/js/app.0ef2f7c7.jsrel=preloadas=script><linkhref=/js/chunk-vendors.c4403347.jsrel=preloadas=script><linkhref=/css/chunk-vendors.5303f83e.cssrel=stylesheet><linkhref=/css/app.73e02543.cssrel=stylesheet></head><body><noscript><strong>We're sorry but collision doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><divid=app></div><script src=/js/chunk-vendors.c4403347.js></script><script src=/js/app.0ef2f7c7.js></script></body></html>
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["about"],{"0805":function(t,e,r){"use strict";varn=r("66dc").charAt,a=r("8714"),i=r("62d7"),o="String Iterator",c=a.set,s=a.getterFor(o);i(String,"String",(function(t){c(this,{type:o,string:String(t),index:0})}),(function(){vart,e=s(this),r=e.string,a=e.index;returna>=r.length?{value:void0,done:!0}:(t=n(r,a),e.index+=t.length,{value:t,done:!1})}))},"0919":function(t,e,r){"use strict";varn=r("e64c"),a=r("b351"),i=r("27cd"),o=r("a084"),c=r("fb17"),s=r("6392"),l=r("4007");t.exports=function(t){vare,r,u,f,d,h=a(t),p="function"==typeofthis?this:Array,v=arguments.length,g=v>1?arguments[1]:void0,m=void0!==g,y=0,b=l(h);if(m&&(g=n(g,v>2?arguments[2]:void0,2)),void0==b||p==Array&&o(b))for(e=c(h.length),r=newp(e);e>y;y++)s(r,y,m?g(h[y],y):h[y]);elsefor(f=b.call(h),d=f.next,r=newp;!(u=d.call(f)).done;y++)s(r,y,m?i(f,g,[u.value,y],!0):u.value);returnr.length=y,r}},"0d9e":function(t,e,r){varn=r("9b92"),a=Date.prototype,i="Invalid Date",o="toString",c=a[o],s=a.getTime;newDate(NaN)+""!=i&&n(a,o,(function(){vart=s.call(this);returnt===t?c.call(this):i}))},"154d":function(t,e,r){varn=r("7fa0");e.f=n},1945:function(t,e,r){"use strict";varn=r("2bad").forEach,a=r("961f");t.exports=a("forEach")?function(t){returnn(this,t,arguments.length>1?arguments[1]:void0)}:[].forEach},"1d36":function(t,e,r){varn=r("410a"),a=r("d409"),i=r("7fa0"),o=i("species");t.exports=function(t,e){varr;returna(t)&&(r=t.constructor,"function"!=typeofr||r!==Array&&!a(r.prototype)?n(r)&&(r=r[o],null===r&&(r=void0)):r=void0),new(void0===r?Array:r)(0===e?0:e)}},"1ede":function(t,e,r){"use strict";varn=r("9b92"),a=r("18fe"),i=r("03e5"),o=r("3947"),c="toString",s=RegExp.prototype,l=s[c],u=i((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),f=l.name!=c;(u||f)&&n(RegExp.prototype,c,(function(){vart=a(this),e=String(t.source),r=t.flags,n=String(void0===r&&tinstanceofRegExp&&!("flags"ins)?o.call(t):r);return"/"+e+"/"+n}),{unsafe:!0})},"1f0d":function(t,e,r){"use strict";varn=r("ec9b"),a=r.n(n);a.a},"280d":function(t,e,r){"use strict";varn=r("c10a"),a=r("fa28"),i=r("18fe"),o=r("7718"),c=r("26ed"),s=r("3841"),l=r("fb17"),u=r("a972"),f=r("3269"),d=r("03e5"),h=[].push,p=Math.min,v=4294967295,g=!d((function(){return!RegExp(v,"y")}));n("split",2,(function(t,e,r){varn;returnn="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,r){varn=String(o(this)),i=void0===r?v:r>>>0;if(0===i)return[];if(void0===t)return[n];if(!a(t))returne.call(n,t,i);varc,s,l,u=[],d=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),p=0,g=newRegExp(t.source,d+"g");while(c=f.call(g,n)){if(s=g.lastIndex,s>p&&(u.push(n.slice(p,c.index)),c.length>1&&c.index<n.length&&h.apply(u,c.slice(1)),l=c[0].length,p=s,u.length>=i))break;g.lastIndex===c.index&&g.lastIndex++}returnp===n.length?!l&&g.test("")||u.push(""):u.push(n.slice(p)),u.length>i?u.slice(0,i):u}:"0".split(void0,0).length?function(t,r){returnvoid0===t&&0===r?[]:e.call(this,t,r)}:e,[function(e,r){vara=o(this),i=void0==e?void0:e[t];returnvoid0!==i?i.call(e,a,r):n.call(String(a),e,r)},function(t,a){varo=r(n,t,this,a,n!==e);if(o.done)returno.value;varf=i(t),d=String(this),h=c(f,RegExp),m=f.unicode,y=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(g?"y":"g"),b=newh(g?f:"^(?:"+f.source+")",y),w=void0===a?v:a>>>0;if(0===w)return[];if(0===d.length)returnnull===u(b,d)?[d]:[];varx=0,S=0,_=[];while(S<d.length){b.lastIndex=g?S:0;varE,C=u(b,g?d:d.slice(S));if(null===C||(E=p(l(b.lastIndex+(g?0:S)),d.length))===x)S=s(d,S,m);else{if(_.push(d.slice(x,S)),_.length===w)return_;for(varL=1;L<=C.length-1;L++)if(_.push(C[L]),_.length===w)return_;S=x=E}}return_.push(d.slice(x)),_}]}),!g)},"2bad":function(t,e,r){varn=r("e64c"),a=r("e4b5"),i=r("b351"),o=r("fb17"),c=r("1d36"),s=[].push,l=function(t){vare=1==t,r=2==t,l=3==t,u=4==t,f=6==t,d=5==t||f;returnfunction(h,p,v,g){for(varm,y,b=i(h),w=a(b),x=n(p,v,3),S=o(w.length),_=0,E=g||c,C=e?E(h,S):r?E(h,0):void0;S>_;_++)if((d||_inw)&&(m=w[_],y=x(m,_,b),t))if(e)C[_]=y;elseif(y)switch(t){case3:return!0;case5:returnm;case6:return_;case2:s.call(C,m)}elseif(u)return!1;returnf?-1:l||u?u:C}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6)}},"2df1":function(t,e,r){"use strict";varn=r("c10a"),a=r("18fe"),i=r("fb17"),o=r("7718"),c=r("3841"),s=r("a972");n("match",1,(function(t,e,r){return[function(e){varr=o(this),n=void0==e?void0:e[t];returnvoid0!==n?n.call(e,r):newRegExp(e)[t](String(r))},function(t){varn=r(e,t,this);if(n.done)returnn.value;varo=a(t),l=String(this);if(!o.global)returns(o,l);varu=o.unicode;o.lastIndex=0;varf,d=[],h=0;while(null!==(f=s(o,l))){varp=String(f[0]);d[h]=p,""===p&&(o.lastIndex=c(l,i(o.lastIndex),u)),h++}return0===h?null:d}]}))},"31f0":function(t,e,r){"use strict";varn=r("6001"),a=r("c2b3"),i=r("f184"),o=r("dca8"),c=r("a7a0"),s=r("7f38"),l=r("3fee"),u=r("03e5"),f=r("7a00"),d=r("d409"),h=r("410a"),p=r("18fe"),v=r("b351"),g=r("a497"),m=r("f9b2"),y=r("179e"),b=r("a0f9"),w=r("8e93"),x=r("7e41"),S=r("85ea"),_=r("78d0"),E=r("52fb"),C=r("b89b"),L=r("7940"),k=r("947c"),O=r("9b92"),R=r("f0eb"),T=r("7edc"),I=r("667a"),A=r("d98c"),P=r("7fa0"),j=r("154d"),N=r("8533"),$=r("5ddc"),q=r("8714"),M=r("2bad").forEach,F=T("hidden"),G="Symbol",J="prototype",B=P("toPrimitive"),U=q.set,D=q.getterFor(G),H=Object[J],W=a.Symbol,X=i("JSON","stringify"),Q=E.f,V=C.f,z=S.f,Y=L.f,Z=R("symbols"),K=R("op-symbols"),tt=R("string-to-symbol-registry"),et=R("symbol-to-string-registry"),rt=R("wks"),nt=a.QObject,at=!nt||!nt[J]||!nt[J].findChild,it=c&&u((function(){return7!=b(V({},"a",{get:function(){returnV(this,"a",{value:7}).a}})).a}))?function(t,e,r){varn=Q(H,e);n&&deleteH[e],V(t,e,r),n&&t!==H&&V(H,e,n)}:V,ot=function(t,e){varr=Z[t]=b(W[J]);returnU(r,{type:G,tag:t,description:e}),c||(r.description=e),r},ct=s&&"symbol"==typeofW.iterator?function(t){return"symbol"==typeoft}:function(t){returnObject(t)instanceofW},st=function(t,e,r){t===H&&st(K,e,r),p(t);varn=m(e,!0);returnp(r),f(Z,n)?(r.enumerable?(f(t,F)&&t[F][n]&&(t[F][n]=!1),r=b(r,{enumerable:y(0,!1)})):(f(t,F)||V(t,F,y(1,{})),t[F][n]=!0),it(t,n,r)):V(t,n,r)},lt=function(t,e){p(t);varr=g(e),n=w(r).concat(pt(r));returnM(n,(function(e){c&&!ft.call(r,e)||st(t,e,r[e])})),t},ut=function(t,e){returnvoid0===e?b(t):lt(b(t),e)},ft=function(t){vare=m(t,!0),r=Y.call(this,e);return!(this===H&&f(Z,e)&&!f(K,e))&&(!(r||!f(this,e)||!f(Z,e)||f(this,F)&&this[F][e])||r)},dt=function(t,e){varr=g(t),n=m(e,!0);if(r!==H||!f(Z,n)||f(K,n)){vara=Q(r,n);return!a||!f(Z,n)||f(r,F)&&r[F][n]||(a.enumerable=!0),a}},ht=function(t){vare=z(g(t)),r=[];returnM(e,(function(t){f(Z,t)||f(I,t)||r.push(t)})),r},pt=function(t){vare=t===H,r=z(e?K:g(t)),n=[];returnM(r,(function(t){!f(Z,t)||e&&!f(H,t)||n.push(Z[t])})),n};if(s||(W=function(){if(thisinstanceofW)throwTypeError("Symbol is not a constructor");vart=arguments.length&&void0!==arguments[0]?String(arguments[0]):void0,e=A(t),r=function(t){this===H&&r.call(K,t),f(this,F)&&f(this[F],e)&&(this[F][e]=!1),it(this,e,y(1,t))};returnc&&at&&it(H,e,{configurable:!0,set:r}),ot(e,t)},O(W[J],"toString",(function(){returnD(this).tag})),L.f=ft,C.f=st,E.f=dt,x.f=S.f=ht,_.f=pt,c&&(V(W[J],"description",{configurable:!0,get:function(){returnD(this).description}}),o||O(H,"propertyIsEnumerable",ft,{unsafe:!0}))),l||(j.f=function(t){returnot(P(t),t)}),n({global:!0,wrap:!0,forced:!s,sham:!s},{Symbol:W}),M(w(rt),(function(t){N(t)})),n({target:G,stat:!0,forced:!s},{for:function(t){vare=String(t);if(f(tt,e))returntt[e];varr=W(e);returntt[e]=r,et[r]=e,r},keyFor:function(t){if(!ct(t))throwTypeError(t+" is not a symbol");if(f(et,t))returnet[t]},useSetter:function(){at=!0},useSimple:function(){at=!1}}),n({target:"Object",stat:!0,forced:!s,sham:!c},{create:ut,defineProperty:st,defineProperties:lt,getOwnPropertyDescriptor:dt}),n({target:"Object",stat:!0,forced:!s},{getOwnPropertyNames:ht,getOwnPropertySymbols:pt}),n({target:"Object",stat:!0,forced:u((function(){_.f(1)}))},{getOwnPropertySymbols:function(t){return_.f(v(t))}}),X){varvt=!s||u((function(){vart=W();return"[null]"!=X([t])||"{}"!=X({a:t})||"{}"!=X(Object(t))}));n({target:"JSON",stat:!0,forced:vt},{stringify:function(t,e,r){varn,a=[t],i=1;while(arguments.length>i)a.push(arguments[i++]);if(n=e,(h(e)||void0!==t)&&!ct(t))returnd(e)||(e=function(t,e){if("function"==typeofn&&(e=n.call(this,t,e)),!ct(e))returne}),a[1]=e,X.apply(null,a)}})}W[J][B]||k(W[J],B,W[J].valueOf),$(W,G),I[F]=!0},3269:function(t,e,r){"use strict";varn=r("3947"),a=RegExp.prototype.exec,i=String.prototype.replace,o=a,c=function(){vart=/a/,e=/b*/g;returna.call(t,"a"),a.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),s=void0!==/()??/.exec("")[1],l=c||s;l&&(o=function(t){vare,r,o,l,u=this;returns&&(r=newRegExp("^"+u.source+"$(?!\\s)",n.call(u))),c&&(e=u.lastIndex),o=a.call(u,t),c&&o&&(u.lastIndex=u.global?o.index+o[0].length:e),s&&o&&o.length>1&&i.call(o[0],r,(function(){for(l=1;l<arguments.length-2;l++)void0===arguments[l]&&(o[l]=void0)})),o}),t.exports=o},3841:function(t,e,r){"use strict";varn=r("66dc").charAt;t.exports=function(t,e,r){returne+(r?n(t,e).length:1)}},3947:function(t,e,r){"use strict";varn=r("18fe");t.exports=function(){vart=n(this),e="";returnt.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"3e58":function(t,e,r){varn=r("8533");n("iterator")},"43ef":function(t,e,r){"use strict";r.r(e);varn=function(){vart=this,e=t.$createElement,r=t._self._c||e;returnr("div",[r("van-nav-bar",{attrs:{title:"碰撞记录","left-text":"返回","left-arrow":""},on:{"click-left":t.back}}),r("div",{staticClass:"info"},[r("img",{attrs:{src:"http://test.car.checheng.net/storage/2019-12-13/irNh7jRdtT8aagfBCe9tS3mbEasdcwmgrFS8UYgB.png",width:"50",alt:""}}),r("div",{staticClass:"info-content"},[r("div",{staticClass:"phone"},[t._v(t._s(t.phone))])])]),r("div",{staticClass:"order-list-content",staticStyle:{height:"100%"}},[r("van-list",{attrs:{finished:t.finished,"finished-text":"没有更多了"},on:{load:t.loads},model:{value:t.loading,callback:function(e){t.loading=e},expression:"loading"}},[r("ul",t._l(t.list,(function(e,n){returnr("li",{staticClass:"order-item",attrs:{"data-id":"4916","data-status":"0"}},[r("div",{staticClass:"item-header"},[r("span",{staticClass:"item-car"},[e.inquire&&e.inquire.data.brand_img?r("img",{attrs:{src:e.inquire&&e.inquire.data.brand_img}}):t._e(),t._v(" "+t._s(e.inquire&&e.inquire.data.maker||"--")+" ")]),r("span",{staticClass:"item-date"},[t._v(t._s(e.pay_time||e.created_at))])]),r("div",{staticClass:"item-body"},[r("span",{staticClass:"item-label"},[t._v("车架号:")]),r("span",{staticClass:"vin-number"},[t._v(t._s(e.vin))])]),r("div",{staticClass:"item-footer"},[r("div",{staticClass:"item-footer-content"},[r("span",{staticClass:"item-label"},[t._v("订单号:")]),r("span",{staticClass:"order-number"},[t._v(t._s(e.order_no))])])]),0==e.status?r("div",{staticClass:"item-status item-status-0",on:{click:function(r){returnt.toOrder(e)}}},[t._v("去支付")]):t._e(),1===e.status&&e.inquire&&e.inquire.data&&e.inquire.data.claims?r("div",{staticClass:"item-status item-status-1",on:{click:function(r){returnt.toReport(e)}}},[t._v(" 报告已出 ")]):t._e(),1!==e.status||e.inquire&&(!e.inquire.data||e.inquire.data.claims)?t._e():r("div",{staticClass:"item-status item-status-10"},[1==e.pay_gate?r("div",[t._v("查询失败,可申请退款")]):r("div",[t._v("查询失败,可申请退款"),r("a",{staticClass:"item-apply",on:{click:function(r){returnt.refund(e.id)}}},[t._v("申请退款")])])]),3==e.status?r("div",{staticClass:"item-status item-status-1"},[t._v("退款成功")]):t._e(),4==e.status?r("div",{staticClass:"item-status item-status-1"},[t._v("退款成功")]):t._e(),5==e.status?r("div",{staticClass:"item-status item-status-1"},[t._v("驳回退款申请")]):t._e()])})),0)])],1)],1)},a=[];r("6799"),r("ff52"),r("d450"),r("6dd8"),r("b530"),r("9312");functioni(t){if(Array.isArray(t)){for(vare=0,r=newArray(t.length);e<t.length;e++)r[e]=t[e];returnr}}r("31f0"),r("c54d"),r("3e58"),r("5b96"),r("2d98"),r("0d9e"),r("1ede"),r("0805"),r("b9de");functiono(t){if(Symbol.iteratorinObject(t)||"[object Arguments]"===Object.prototype.toString.call(t))returnArray.from(t)}functionc(){thrownewTypeError("Invalid attempt to spread non-iterable instance")}functions(t){returni(t)||o(t)||c()}r("63ff");varl={data:function(){return{phone:"",list:[],loading:!1,finished:!1,page:1,total:null,last_page:1}},methods:{back:function(){window.history.go(-1)},toOrder:function(t){localStorage.report_data=JSON.stringify(t),this.$router.push({path:"/order",query:{status:0,from:"list"}})},toReport:function(t){localStorage.report_data=JSON.stringify(t.inquire),this.$router.push({path:"/example?from=list"})},refund:function(t){vare,r;returnregeneratorRuntime.async((function(n){while(1)switch(n.prev=n.next){case0:returnn.next=2,regeneratorRuntime.awrap(this.$http.post("main-orders/".concat(t,"/wechat-refund")));case2:e=n.sent,r=e.data,console.log(r,"refund-wechat"),"ok"===r.message&&(this.$toast("退款成功"),setTimeout((function(){window.location.reload()}),2e3));case6:case"end":returnn.stop()}}),null,this)},loads:function(){this.page>this.last_page&&(this.finished=!0),this.getList(this.page),this.page++},getList:function(t){vare,r;returnregeneratorRuntime.async((function(n){while(1)switch(n.prev=n.next){case0:returnn.next=2,regeneratorRuntime.awrap(this.$http.get("main-orders",{params:{type:1,page:t,customer_id:localStorage.customer_id}}));case2:e=n.sent,r=e.data,this.list=[].concat(s(this.list),s(r.data)),this.last_page=r.meta.last_page,this.loading=!1;case7:case"end":returnn.stop()}}),null,this)}},mounted:function(){this.phone=localStorage.phone.replace(/(\d{3})(\d{4})(\d{4})/,"$1****$3")}},u=l,f=(r("1f0d"),r("4e82")),d=Object(f["a"])(u,n,a,!1,null,"544a0f25",null);e["default"]=d.exports},4765:function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"5b96":function(t,e,r){varn=r("6001"),a=r("0919"),i=r("a07c"),o=!i((function(t){Array.from(t)}));n({target:"Array",stat:!0,forced:o},{from:a})},"5d30":function(t,e,r){"use strict";varn=r("6001"),a=r("1945");n({target:"Array",proto:!0,forced:[].forEach!=a},{forEach:a})},"5f0a":function(t,e,r){},6392:function(t,e,r){"use strict";varn=r("f9b2"),a=r("b89b"),i=r("179e");t.exports=function(t,e,r){varo=n(e);oint?a.f(t,o,i(0,r)):t[o]=r}},"63ff":function(t,e,r){varn=function(t){"use strict";vare,r=Object.prototype,n=r.hasOwnProperty,a="function"===typeofSymbol?Symbol:{},i=a.iterator||"@@iterator",o=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";functions(t,e,r,n){vara=e&&e.prototypeinstanceofv?e:v,i=Object.create(a.prototype),o=newO(n||[]);returni._invoke=E(t,r,o),i}functionl(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(n){return{type:"throw",arg:n}}}t.wrap=s;varu="suspendedStart",f="suspendedYield",d="executing",h="completed",p={};functionv(){}functiong(){}functionm(){}vary={};y[i]=function(){returnthis};varb=Object.getPrototypeOf,w=b&&b(b(R([])));w&&w!==r&&n.call(w,i)&&(y=w);varx=m.prototype=v.prototype=Object.create(y);functionS(t){["next","throw","return"].forEach((function(e){t[e]=function(t){returnthis._invoke(e,t)}}))}function_(t){functione(r,a,i,o){varc=l(t[r],t,a);if("throw"!==c.type){vars=c.arg,u=s.value;returnu&&"object"===typeofu&&n.call(u,"__await")?Promise.resolve(u.__await).then((function(t){e("next",t,i,o)}),(function(t){e("throw",t,i,o)})):Promise.resolve(u).then((function(t){s.value=t,i(s)}),(function(t){returne("throw",t,i,o)}))}o(c.arg)}varr;functiona(t,n){functiona(){returnnewPromise((function(r,a){e(t,n,r,a)}))}returnr=r?r.then(a,a):a()}this._invoke=a}functionE(t,e,r){varn=u;returnfunction(a,i){if(n===d)thrownewError("Generator is already running");if(n===h){if("throw"===a)throwi;returnT()}r.method=a,r.arg=i;while(1){varo=r.delegate;if(o){varc=C(o,r);if(c){if(c===p)continue;returnc}}if("next"===r.method)r.sent=r._sent=r.arg;elseif("throw"===r.method){if(n===u)thrown=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;vars=l(t,e,r);if("normal"===s.type){if(n=r.done?h:f,s.arg===p)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n=h,r.method="throw",r.arg=s.arg)}}}functionC(t,r){varn=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator["return"]&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method))returnp;r.method="throw",r.arg=newTypeError("The iterator does not provide a 'throw' method")}returnp}vara=l(n,t.iterator,r.arg);if("throw"===a.type)returnr.method="throw",r.arg=a.arg,r.delegate=null,p;vari=a.arg;returni?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,p):i:(r.method="throw",r.arg=newTypeError("iterator result is not an object"),r.delegate=null,p)}functionL(t){vare={tryLoc:t[0]};1int&&(e.catchLoc=t[1]),2int&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}functionk(t){vare=t.completion||{};e.type="normal",deletee.arg,t.completion=e}functionO(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}functionR(t){if(t){varr=t[i];if(r)returnr.call(t);if("function"===typeoft.next)returnt;if(!isNaN(t.length)){vara=-1,o=functionr(){while(++a<t.length)if(n.call(t,a))returnr.value=t[a],r.done=!1,r;returnr.value=e,r.done=!0,r};returno.next=o}}return{next:T}}functionT(){return{value:e,done:!0}}returng.prototype=x.constructor=m,m.constructor=g,m[c]=g.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){vare="function"===typeoft&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){returnObject.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,cint||(t[c]="GeneratorFunction")),t.prototype=Object.create(x),t},t.awrap=function(t){return{__await:t}},S(_.prototype),_.prototype[o]=function(){returnthis},t.AsyncIterator=_,t.async=function(e,r,n,a){vari=new_(s(e,r,n,a));returnt.isGeneratorFunction(r)?i:i.next().then((function(t){returnt.done?t.value:i.next()}))},S(x),x[c]="Generator",x[i]=function(){returnthis},x.toString=function(){return"[object Generator]"},t.keys=function(t){vare=[];for(varrint)e.push(r);returne.reverse(),functionr(){while(e.length){varn=e.pop();if(nint)returnr.value=n,r.done=!1,r}returnr.done=!0,r}},t.values=R,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(k),!t)for(varrinthis)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;vart=this.tryEntries[0],e=t.completion;if("throw"===e.type)throwe.arg;returnthis.rval},dispatchException:function(t){if(this.done)throwt;varr=this;functiona(n,a){returnc.type="throw",c.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!a}for(vari=this.tryEntries.length-1;i>=0;--i){varo=this.tryEntries[i],c=o.completion;if("root"===o.tryLoc)returna("end");if(o.tryLoc<=this.prev){vars=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)returna(o.catchLoc,!0);if(this.prev<o.finallyLoc)returna(o.finallyLoc)}elseif(s){if(this.prev<o.catchLoc)returna(o.catchLoc,!0)}else{if(!l)thrownewError("try statement without catch or finally");if(this.prev<o.finallyLoc)returna(o.finallyLoc)}}}},abrupt:function(t,e){for(varr=this.tryEntries.length-1;r>=0;--r){vara=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){vari=a;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);varo=i?i.completion:{};returno.type=t,o.arg=e,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(o)},complete:function(t,e){if("throw"===t.type)throwt.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),p},finish:function(t){for(vare=this.tryEntries.length-1;e>=0;--e){varr=this.tryEntries[e];if(r.finallyLoc===t)returnthis.complete(r.completion,r.afterLoc),k(r),p}},catch:function(t){for(vare=this.tryEntries.length-1;e>=0;--e){varr=this.tryEntries[e];if(r.tryLoc===t){varn=r.completion;if("throw"===n.type){vara=n.arg;k(r)}returna}}thrownewError("illegal catch attempt")},delegateYield:function(t,r,n){returnthis.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),p}},t}(t.exports);try{regeneratorRuntime=n}catch(a){Function("r","regeneratorRuntime = r")(n)}},"66dc":function(t,e,r){varn=r("4608"),a=r("7718"),i=function(t){returnfunction(e,r){vari,o,c=String(a(e)),s=n(r),l=c.length;returns<0||s>=l?t?"":void0:(i=c.charCodeAt(s),i<55296||i>56319||s+1===l||(o=c.charCodeAt(s+1))<56320||o>57343?t?c.charAt(s):i:t?c.slice(s,s+2):o-56320+(i-55296<<10)+65536)}};t.exports={codeAt:i(!1),charAt:i(!0)}},"677e":function(t,e,r){},6799:function(t,e,r){"use strict";varn=r("6001"),a=r("03e5"),i=r("d409"),o=r("410a"),c=r("b351"),s=r("fb17"),l=r("6392"),u=r("1d36"),f=r("898d"),d=r("7fa0"),h=r("ee01"),p=d("isConcatSpreadable"),v=9007199254740991,g="Maximum allowed index exceeded",m=h>=51||!a((function(){vart=[];returnt[p]=!1,t.concat()[0]!==t})),y=f("concat"),b=function(t){if(!o(t))return!1;vare=t[p];returnvoid0!==e?!!e:i(t)},w=!m||!y;n({target:"Array",proto:!0,forced:w},{concat:function(t){vare,r,n,a,i,o=c(this),f=u(o,0),d=0;for(e=-1,n=arguments.length;e<n;e++)if(i=-1===e?o:arguments[e],b(i)){if(a=s(i.length),d+a>v)throwTypeError(g);for(r=0;r<a;r++,d++)rini&&l(f,d,i[r])}else{if(d>=v)throwTypeError(g);l(f,d++,i)}returnf.length=d,f}})},"6dd8":function(t,e,r){"use strict";varn=r("c10a"),a=r("18fe"),i=r("b351"),o=r("fb17"),c=r("4608"),s=r("7718"),l=r("3841"),u=r("a972"),f=Math.max,d=Math.min,h=Math.floor,p=/\$([$&'`]|\d\d?|<[^>]*>)/g,v=/\$([$&'`]|\d\d?)/g,g=function(t){returnvoid0===t?t:String(t)};n("replace",2,(function(t,e,r){return[function(r,n){vara=s(this),i=void0==r?void0:r[t];returnvoid0!==i?i.call(r,a,n):e.call(String(a),r,n)},function(t,i){vars=r(e,t,this,i);if(s.done)returns.value;varh=a(t),p=String(this),v="function"===typeofi;v||(i=String(i));varm=h.global;if(m){vary=h.unicode;h.lastIndex=0}varb=[];while(1){varw=u(h,p);if(null===w)break;if(b.push(w),!m)break;varx=String(w[0]);""===x&&(h.lastIndex=l(p,o(h.lastIndex),y))}for(varS="",_=0,E=0;E<b.length;E++){w=b[E];for(varC=String(w[0]),L=f(d(c(w.index),p.length),0),k=[],O=1;O<w.length;O++)k.push(g(w[O]));varR=w.groups;if(v){varT=[C].concat(k,L,p);void0!==R&&T.push(R);varI=String(i.apply(void0,T))}elseI=n(C,p,L,k,R,i);L>=_&&(S+=p.slice(_,L)+I,_=L+C.length)}returnS+p.slice(_)}];functionn(t,r,n,a,o,c){vars=n+t.length,l=a.length,u=v;returnvoid0!==o&&(o=i(o),u=p),e.call(c,u,(function(e,i){varc;switch(i.charAt(0)){case"$":return"$";case"&":returnt;case"`":returnr.slice(0,n);case"'":returnr.slice(s);case"<":c=o[i.slice(1,-1)];break;default:varu=+i;if(0===u)returne;if(u>l){varf=h(u/10);return0===f?e:f<=l?void0===a[f-1]?i.charAt(1):a[f-1]+i.charAt(1):e}c=a[u-1]}returnvoid0===c?"":c}))}}))},"6fe2":function(t,e,r){"use strict";varn=r("839b"),a=r.n(n);a.a},"839b":function(t,e,r){},8533:function(t,e,r){varn=r("79cf"),a=r("7a00"),i=r("154d"),o=r("b89b").f;t.exports=function(t){vare=n.Symbol||(n.Symbol={});a(e,t)||o(e,t,{value:i.f(t)})}},"85ea":function(t,e,r){varn=r("a497"),a=r("7e41").f,i={}.toString,o="object"==typeofwindow&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(t){try{returna(t)}catch(e){returno.slice()}};t.exports.f=function(t){returno&&"[object Window]"==i.call(t)?c(t):a(n(t))}},"898d":function(t,e,r){varn=r("03e5"),a=r("7fa0"),i=r("ee01"),o=a("species");t.exports=function(t){returni>=51||!n((function(){vare=[],r=e.constructor={};returnr[o]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},9312:function(t,e,r){varn=r("6001"),a=r("d409");n({target:"Array",stat:!0},{isArray:a})},"961f":function(t,e,r){"use strict";varn=r("03e5");t.exports=function(t,e){varr=[][t];return!r||!n((function(){r.call(null,e||function(){throw1},1)}))}},"993f":function(t,e){t.exports=Object.is||function(t,e){returnt===e?0!==t||1/t===1/e:t!=t&&e!=e}},a27f:function(t,e,r){varn=r("c2b3"),a=r("4765"),i=r("1945"),o=r("947c");for(varcina){vars=n[c],l=s&&s.prototype;if(l&&l.forEach!==i)try{o(l,"forEach",i)}catch(u){l.forEach=i}}},a328:function(t,e,r){"use strict";varn=r("c10a"),a=r("18fe"),i=r("7718"),o=r("993f"),c=r("a972");n("search",1,(function(t,e,r){return[function(e){varr=i(this),n=void0==e?void0:e[t];returnvoid0!==n?n.call(e,r):newRegExp(e)[t](String(r))},function(t){varn=r(e,t,this);if(n.done)returnn.value;vari=a(t),s=String(this),l=i.lastIndex;o(l,0)||(i.lastIndex=0);varu=c(i,s);returno(i.lastIndex,l)||(i.lastIndex=l),null===u?-1:u.index}]}))},a972:function(t,e,r){varn=r("daa9"),a=r("3269");t.exports=function(t,e){varr=t.exec;if("function"===typeofr){vari=r.call(t,e);if("object"!==typeofi)throwTypeError("RegExp exec method returned something other than an Object or null");returni}if("RegExp"!==n(t))throwTypeError("RegExp#exec called on incompatible receiver");returna.call(t,e)}},b530:function(t,e,r){varn=r("6001"),a=r("c2b3"),i=r("15d5"),o=[].slice,c=/MSIE .\./.test(i),s=function(t){returnfunction(e,r){varn=arguments.length>2,a=n?o.call(arguments,2):void0;returnt(n?function(){("function"==typeofe?e:Function(e)).apply(this,a)}:e,r)}};n({global:!0,bind:!0,forced:c},{setTimeout:s(a.setTimeout),setInterval:s(a.setInterval)})},b9de:function(t,e,r){varn=r("c2b3"),a=r("4765"),i=r("2d98"),o=r("947c"),c=r("7fa0"),s=c("iterator"),l=c("toStringTag"),u=i.values;for(varfina){vard=n[f],h=d&&d.prototype;if(h){if(h[s]!==u)try{o(h,s,u)}catch(v){h[s]=u}if(h[l]||o(h,l,f),a[f])for(varpini)if(h[p]!==i[p])try{o(h,p,i[p])}catch(v){h[p]=i[p]}}}},c10a:function(t,e,r){"use strict";varn=r("947c"),a=r("9b92"),i=r("03e5"),o=r("7fa0"),c=r("3269"),s=o("species"),l=!i((function(){vart=/./;returnt.exec=function(){vart=[];returnt.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),u=!i((function(){vart=/(?:)/,e=t.exec;t.exec=function(){returne.apply(this,arguments)};varr="ab".split(t);return2!==r.length||"a"!==r[0]||"b"!==r[1]}));t.exports=function(t,e,r,f){vard=o(t),h=!i((function(){vare={};returne[d]=function(){return7},7!=""[t](e)})),p=h&&!i((function(){vare=!1,r=/a/;return"split"===t&&(r={},r.constructor={},r.constructor[s]=function(){returnr},r.flags="",r[d]=/./[d]),r.exec=function(){returne=!0,null},r[d](""),!e}));if(!h||!p||"replace"===t&&!l||"split"===t&&!u){varv=/./[d],g=r(d,""[t],(function(t,e,r,n,a){returne.exec===c?h&&!a?{done:!0,value:v.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}})),m=g[0],y=g[1];a(String.prototype,t,m),a(RegExp.prototype,d,2==e?function(t,e){returny.call(t,this,e)}:function(t){returny.call(t,this)}),f&&n(RegExp.prototype[d],"sham",!0)}}},c54d:function(t,e,r){"use strict";varn=r("6001"),a=r("a7a0"),i=r("c2b3"),o=r("7a00"),c=r("410a"),s=r("b89b").f,l=r("cb72"),u=i.Symbol;if(a&&"function"==typeofu&&(!("description"inu.prototype)||void0!==u().description)){varf={},d=function(){vart=arguments.length<1||void0===arguments[0]?void0:String(arguments[0]),e=thisinstanceofd?newu(t):void0===t?u():u(t);return""===t&&(f[e]=!0),e};l(d,u);varh=d.prototype=u.prototype;h.constructor=d;varp=h.toString,v="Symbol(test)"==String(u("test")),g=/^Symbol\((.*)\)[^)]+$/;s(h,"description",{configurable:!0,get:function(){vart=c(this)?this.valueOf():this,e=p.call(t);if(o(f,t))return"";varr=v?e.slice(7,-1):e.replace(g,"$1");return""===r?void0:r}}),n({global:!0,forced:!0},{Symbol:d})}},cf2a:function(t,e,r){"use strict";r.r(e);varn=function(){vart=this,e=t.$createElement,r=t._self._c||e;returnr("div",{staticClass:"container"},[r("h3",[t._v("支付订单")]),r("van-cell-group",{attrs:{title:"订单信息"}},[r("van-cell",{attrs:{title:"订单金额",value:t.params.price,"value-class":"price"}}),r("van-cell",{attrs:{title:"订单编号",value:t.params.number}})],1),r("div",{staticClass:"mid"},[r("van-cell-group",{attrs:{title:"车辆信息"}},[r("van-cell",{attrs:{title:"车架号",value:t.params.vin}})],1)],1),r("van-cell-group",{attrs:{title:"选择优惠券"}},[r("van-cell",{attrs:{title:"暂无可用优惠券"}})],1),t.flag?r("van-radio-group",{model:{value:t.result,callback:function(e){t.result=e},expression:"result"}},[r("van-cell-group",{attrs:{title:"请选择支付方式"}},t._l(t.list,(function(t,e){returnr("van-cell",{key:t.id,attrs:{title:""+t.name,label:""+t.desc,icon:""+t.icon}},[r("van-radio",{ref:"checkboxes",refInFor:!0,attrs:{slot:"right-icon",name:t.id},slot:"right-icon"})],1)})),1)],1):t._e(),r("van-button",{attrs:{color:"linear-gradient(to right, #FFB200, #FF7B00 )"},on:{click:t.confirm_pay}},[t._v("确认支付 "+t._s(t.params.price)+" ")])],1)},a=[],i=(r("5d30"),r("ff52"),r("d450"),r("2df1"),r("6dd8"),r("280d"),r("a27f"),r("b530"),r("63ff"),{data:function(){return{params:{price:"",number:"",vin:""},list:[{id:0,name:"微信",desc:"推荐安装微信5.0及以上版本的用户使用",icon:"http://test.car.checheng.net/storage/2019-12-11/hg8H1w5bj85yXuT7p07CPLPiHI0Op0r3iGWCtTNg.png"},{id:1,name:"支付宝",desc:"推荐有支付宝账号的用户使用",icon:"http://test.car.checheng.net/storage/2019-12-11/jT5FjlIxBTNTZyim4MtDDhx7wPP6TLHCsgqMPT8t.png"}],result:0,flag:!1}},mounted:function(){vart=this.getUrlParam("status");if("externalBrowser"===localStorage.source&&(this.flag=!0),"0"==t){vare=JSON.parse(localStorage.report_data);console.log(e,"123"),this.params.price="¥"+e.amount,this.params.number=e.order_no,this.params.vin=e.vin}elsethis.params.price="¥0.01",this.params.number=JSON.parse(localStorage.order).order_no,this.params.vin=JSON.parse(localStorage.order).vin},methods:{getUrlParam:function(t){vare=window.location.href,r={},n=/[?&][^?&]+=[^?&#]+/g,a=e.match(n);returna&&a.forEach((function(t){vare=t.substring(1).split("="),n=decodeURIComponent(e[0]),a=decodeURIComponent(e[1]);r[n]=a})),r[t]},pay:function(t,e){varr,n;returnregeneratorRuntime.async((function(a){while(1)switch(a.prev=a.next){case0:returna.next=2,regeneratorRuntime.awrap(this.$http.get("http://car.meigym.com/api/order-pay",{params:{order_no:t,pay_gate:localStorage.pay_gate,amount:e}}));case2:r=a.sent,n=r.data,console.log(n.data,"重新支付接口pay"),this.pay_type(n.data.pay);case6:case"end":returna.stop()}}),null,this)},confirm_pay:function(){vart=JSON.parse(localStorage.order);this.pay(t.id,.01)},pay_type:function(t){vare=this;if("wechat"===localStorage.source){varr=function(){WeixinJSBridge.invoke("getBrandWCPayRequest",{appId:t.appId,timeStamp:t.timeStamp,nonceStr:t.nonceStr,package:t["package"],signType:t.signType,paySign:t.paySign},(function(t){console.log(t,"H5支付结果pay_type"),"get_brand_wcpay_request:ok"==t.err_msg&&(e.$toast("支付成功"),setTimeout((function(){e.$router.replace("/record")}),1e3))}))};"undefined"==typeofWeixinJSBridge?document.addEventListener?document.addEventListener("WeixinJSBridgeReady",r,!1):document.attachEvent&&(document.attachEvent("WeixinJSBridgeReady",r),document.attachEvent("onWeixinJSBridgeReady",r)):r()}else"externalBrowser"===localStorage.source&&"string"===typeofres.pay&&(window.location.href=res.pay)}}}),o=i,c=(r("d17c"),r("4e82")),s=Object(c["a"])(o,n,a,!1,null,"51fd81cf",null);e["default"]=s.exports},d17c:function(t,e,r){"use strict";varn=r("5f0a"),a=r.n(n);a.a},d409:function(t,e,r){varn=r("daa9");t.exports=Array.isArray||function(t){return"Array"==n(t)}},d450:function(t,e,r){"use strict";varn=r("6001"),a=r("3269");n({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},d504:function(t,e,r){"use strict";r.r(e);varn=function(){vart=this,e=t.$createElement,r=t._self._c||e;returnr("div",{staticClass:"container"},[r("div",{staticClass:"top"},[r("h3",[t._v("碰撞记录查询")]),r("div",{staticClass:"banner"},[r("van-image",{attrs:{width:"100%",height:"170",src:"http://test.car.checheng.net/storage/2019-12-10/VyEZRGEgJLMZ41rAkzLniF1DQtagQMkZ0sUcbRYL.png"}}),r("van-image",{staticClass:"record",attrs:{width:"80",height:"27",src:"http://test.car.checheng.net/storage/2019-12-10/E7d2G1nHQuMQWlU21rMWCAMPdMxrj4p7LnYQugY7.png"},on:{click:t.toRecord}})],1),r("div",{staticClass:"price"},[r("span",[t._v("39.9/次,购买套餐最高可省10.9元/次")]),r("span",[t._v("购买套餐")]),r("van-image",{attrs:{width:"10",height:"12",src:"http://test.car.checheng.net/storage/2019-12-10/CqqszHwD8Z4KMg03AQTzfc5TrFoT66h8l6H1dwQy.png"}})],1)]),r("div",{staticClass:"mid"},[r("van-cell-group",[r("van-field",{attrs:{required:"",clearable:"",label:"车架号",placeholder:"请输入17位车架号",maxlength:"17"},model:{value:t.params.vin,callback:function(e){t.$set(t.params,"vin",e)},expression:"params.vin"}},[r("div",{attrs:{slot:"right-icon"},slot:"right-icon"},[t._v(" "+t._s(t.params.vin.length)+"/17 ")])]),r("van-field",{attrs:{disabled:""}},[r("div",{staticClass:"icon",attrs:{slot:"right-icon"},slot:"right-icon"},[r("span",[r("van-icon",{attrs:{name:"http://test.car.checheng.net/storage/2019-12-10/Ke6iGHbSeknCtluOrWXXsOieKawJuAF2cBWDqoGe.png"}}),t._v(" 车架号不知道在哪")],1)])])],1)],1),r("div",{staticClass:"footer"},[r("van-button",{staticClass:"example",attrs:{plain:"",hairline:"",type:"warning"},on:{click:t.toExample}},[t._v("样例")]),r("van-button",{staticClass:"query",attrs:{disabled:17!=t.params.vin.length,color:"#f60"},on:{click:t.query}},[t._v("开始查询")]),r("van-checkbox",{staticClass:"check",attrs:{"icon-size":"10px","checked-color":"#F60"},model:{value:t.checked,callback:function(e){t.checked=e},expression:"checked"}},[t._v(" 使用本服务意味着您已经阅读并同意"),r("span",[t._v("《用户协议》")])]),r("p",[t._v("最快20分钟返回查询结果,20:00后查询将于次日推送查询结果")])],1),r("div",{staticClass:"footer_baner"},[r("van-image",{attrs:{width:"100%",src:"http://test.car.checheng.net/storage/2019-12-10/wGw19mjGFTVE2E5r8Q16jWkIPooBZbu9C7Huf4pr.png"}})],1)])},a=[],i=(r("5d30"),r("ff52"),r("d450"),r("2df1"),r("a328"),r("280d"),r("a27f"),r("63ff"),{data:function(){return{params:{vin:""},checked:!0}},methods:{getUrlParam:function(t){vare=window.location.href,r={},n=/[?&][^?&]+=[^?&#]+/g,a=e.match(n);returna&&a.forEach((function(t){vare=t.substring(1).split("="),n=decodeURIComponent(e[0]),a=decodeURIComponent(e[1]);r[n]=a})),r[t]},getUserInfo:function(t,e){varr,n;returnregeneratorRuntime.async((function(a){while(1)switch(a.prev=a.next){case0:returna.next=2,regeneratorRuntime.awrap(this.axios.get("main-customers/get-user-info",{params:{code:t,channel_code:e}}));case2:r=a.sent,n=r.data,console.log(n,"getUserInfo"),localStorage.customer_id=n.id,n.phone&&(localStorage.phone=n.phone);case7:case"end":returna.stop()}}),null,this)},getAddOrder:function(t){vare,r,n;returnregeneratorRuntime.async((function(a){while(1)switch(a.prev=a.next){case0:returna.next=2,regeneratorRuntime.awrap(this.$http.get("http://car.meigym.com/api/main-orders",{params:{customer_id:localStorage.customer_id,vin:t,type:1}}));case2:e=a.sent,r=e.data,console.log(r,"main-orders"),"ok"===r.message&&r.data&&1===r.data.error?this.$toast(r.data.msg):(n=r.data.order,localStorage.order=JSON.stringify(n),this.$router.push({path:"/order",query:{price:.01,vin:t,number:n.order_no}}));case6:case"end":returna.stop()}}),null,this)},getPrice:function(t){vare,r;returnregeneratorRuntime.async((function(n){while(1)switch(n.prev=n.next){case0:returnn.next=2,regeneratorRuntime.awrap(this.$http.get("channels/show-by-code",{params:{code:t}}));case2:e=n.sent,r=e.data,console.log(r,"getPrice");case5:case"end":returnn.stop()}}),null,this)},query:function(){this.getAddOrder(this.params.vin)},toRecord:function(){this.$router.push("/record")},toExample:function(){vart={id:1,customer_id:0,date:"2019-12-05",vin:"LFPM4ACC1C1AXXXXX",data:{insurance:[{start_date:"2014-12",end_date:"2015-12"}],claims:[{claim_date:"2015-07-01",owner:"王XX",plate:"皖A 1111XX",description:"事故详情描述",total_fee:"500.00",labor_fee:"0.00",material_fee:"0.00",repair_detail:"前保险杠(半喷),左前叶子板(全喷)",material:"材料描述"}],createtime:"2019-12-05 16:54:25",report_url:"https://customer.che300.com/ins-report?cid=516&order_id=3799741&sn=9ba43cea2b01620f72bede6405bfe780"},status:0,created_at:"2019-12-05 16:54:29",updated_at:"2019-12-05 16:54:29",type:1};localStorage.report_index=JSON.stringify(t),this.$router.push("/example?form=index")}},mounted:function(){vart=this.getUrlParam("code");if(window.location.href.search("mobile")>-1){this.getPrice(t);vare=getUrlParam("mobile");localStorage.phone=e,localStorage.source="externalBrowser",localStorage.pay_gate=2}elseif(window.location.href.search("state")>-1){varr=this.getUrlParam("state");localStorage.state=r,localStorage.code=t,localStorage.source="wechat",localStorage.pay_gate=0,this.getUserInfo(t,r),this.getPrice(r)}elselocalStorage.clear()}}),o=i,c=(r("6fe2"),r("4e82")),s=Object(c["a"])(o,n,a,!1,null,"0cbacf28",null);e["default"]=s.exports},d62f:function(t,e,r){"use strict";varn=r("677e"),a=r.n(n);a.a},ec9b:function(t,e,r){},f3c2:function(t,e,r){"use strict";r.r(e);varn=function(){vart=this,e=t.$createElement,r=t._self._c||e;returnr("div",{staticClass:"container"},[r("van-nav-bar",{attrs:{title:"碰撞记录报告","left-text":"返回","left-arrow":""},on:{"click-left":t.back}}),t._l(t.report&&t.report.data&&t.report.data.insurance,(function(t,e){returnr("van-cell-group",{key:e,attrs:{title:"保险信息"}},[r("van-cell",{attrs:{title:"开始时间",value:t.start_date}}),r("van-cell",{attrs:{title:"结束时间",value:t.end_date}})],1)})),t._l(t.report&&t.report.data&&t.report.data.claims,(function(e,n){returnr("van-cell-group",{key:n,attrs:{title:"事故信息"}},[r("van-cell",{attrs:{title:"事故日期",value:e.claim_date}}),r("van-cell",{attrs:{title:"车主",value:e.owner}}),r("van-cell",{attrs:{title:"车牌号",value:e.plate}}),r("van-cell",{attrs:{title:"核损金额(元)",value:e.total_fee}}),r("van-cell",{attrs:{title:"人工费(元)",value:e.labor_fee}}),r("van-cell",{attrs:{title:"材料费(元)",value:e.material_fee}}),r("van-cell",{attrs:{title:"材料",value:e.material?e.material:"暂无"}}),r("van-field",{attrs:{label:"维修项目",value:e.repair_detail?e.repair_detail:"暂无",type:"textarea",autosize:"",disabled:"","input-align":"right"}}),r("van-field",{attrs:{label:"事故描述",value:e.description?e.description:"暂无描述信息",type:"textarea",autosize:"",disabled:"","input-align":"right"}}),r("van-cell",{attrs:{title:"报告生成时间",value:t.report.data.createtime}})],1)}))],2)},a=[],i=(r("d450"),r("a328"),{data:function(){return{report:""}},methods:{back:function(){window.history.go(-1)}},mounted:function(){window.location.href.search("list")>-1&&(this.report=JSON.parse(localStorage.report_data)),window.location.href.search("index")>-1&&(this.report=JSON.parse(localStorage.report_index))}}),o=i,c=(r("d62f"),r("4e82")),s=Object(c["a"])(o,n,a,!1,null,"0710390c",null);e["default"]=s.exports},fa28:function(t,e,r){varn=r("410a"),a=r("daa9"),i=r("7fa0"),o=i("match");t.exports=function(t){vare;returnn(t)&&(void0!==(e=t[o])?!!e:"RegExp"==a(t))}}}]);
//# sourceMappingURL=about.044cd5d3.js.map
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["about"],{"0805":function(t,e,r){"use strict";varn=r("66dc").charAt,a=r("8714"),i=r("62d7"),o="String Iterator",c=a.set,s=a.getterFor(o);i(String,"String",(function(t){c(this,{type:o,string:String(t),index:0})}),(function(){vart,e=s(this),r=e.string,a=e.index;returna>=r.length?{value:void0,done:!0}:(t=n(r,a),e.index+=t.length,{value:t,done:!1})}))},"0919":function(t,e,r){"use strict";varn=r("e64c"),a=r("b351"),i=r("27cd"),o=r("a084"),c=r("fb17"),s=r("6392"),l=r("4007");t.exports=function(t){vare,r,u,f,d,h=a(t),p="function"==typeofthis?this:Array,v=arguments.length,g=v>1?arguments[1]:void0,m=void0!==g,y=0,b=l(h);if(m&&(g=n(g,v>2?arguments[2]:void0,2)),void0==b||p==Array&&o(b))for(e=c(h.length),r=newp(e);e>y;y++)s(r,y,m?g(h[y],y):h[y]);elsefor(f=b.call(h),d=f.next,r=newp;!(u=d.call(f)).done;y++)s(r,y,m?i(f,g,[u.value,y],!0):u.value);returnr.length=y,r}},"0d9e":function(t,e,r){varn=r("9b92"),a=Date.prototype,i="Invalid Date",o="toString",c=a[o],s=a.getTime;newDate(NaN)+""!=i&&n(a,o,(function(){vart=s.call(this);returnt===t?c.call(this):i}))},"154d":function(t,e,r){varn=r("7fa0");e.f=n},1945:function(t,e,r){"use strict";varn=r("2bad").forEach,a=r("961f");t.exports=a("forEach")?function(t){returnn(this,t,arguments.length>1?arguments[1]:void0)}:[].forEach},"1d36":function(t,e,r){varn=r("410a"),a=r("d409"),i=r("7fa0"),o=i("species");t.exports=function(t,e){varr;returna(t)&&(r=t.constructor,"function"!=typeofr||r!==Array&&!a(r.prototype)?n(r)&&(r=r[o],null===r&&(r=void0)):r=void0),new(void0===r?Array:r)(0===e?0:e)}},"1ede":function(t,e,r){"use strict";varn=r("9b92"),a=r("18fe"),i=r("03e5"),o=r("3947"),c="toString",s=RegExp.prototype,l=s[c],u=i((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),f=l.name!=c;(u||f)&&n(RegExp.prototype,c,(function(){vart=a(this),e=String(t.source),r=t.flags,n=String(void0===r&&tinstanceofRegExp&&!("flags"ins)?o.call(t):r);return"/"+e+"/"+n}),{unsafe:!0})},"1f0d":function(t,e,r){"use strict";varn=r("ec9b"),a=r.n(n);a.a},"280d":function(t,e,r){"use strict";varn=r("c10a"),a=r("fa28"),i=r("18fe"),o=r("7718"),c=r("26ed"),s=r("3841"),l=r("fb17"),u=r("a972"),f=r("3269"),d=r("03e5"),h=[].push,p=Math.min,v=4294967295,g=!d((function(){return!RegExp(v,"y")}));n("split",2,(function(t,e,r){varn;returnn="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,r){varn=String(o(this)),i=void0===r?v:r>>>0;if(0===i)return[];if(void0===t)return[n];if(!a(t))returne.call(n,t,i);varc,s,l,u=[],d=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),p=0,g=newRegExp(t.source,d+"g");while(c=f.call(g,n)){if(s=g.lastIndex,s>p&&(u.push(n.slice(p,c.index)),c.length>1&&c.index<n.length&&h.apply(u,c.slice(1)),l=c[0].length,p=s,u.length>=i))break;g.lastIndex===c.index&&g.lastIndex++}returnp===n.length?!l&&g.test("")||u.push(""):u.push(n.slice(p)),u.length>i?u.slice(0,i):u}:"0".split(void0,0).length?function(t,r){returnvoid0===t&&0===r?[]:e.call(this,t,r)}:e,[function(e,r){vara=o(this),i=void0==e?void0:e[t];returnvoid0!==i?i.call(e,a,r):n.call(String(a),e,r)},function(t,a){varo=r(n,t,this,a,n!==e);if(o.done)returno.value;varf=i(t),d=String(this),h=c(f,RegExp),m=f.unicode,y=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(g?"y":"g"),b=newh(g?f:"^(?:"+f.source+")",y),w=void0===a?v:a>>>0;if(0===w)return[];if(0===d.length)returnnull===u(b,d)?[d]:[];varx=0,S=0,_=[];while(S<d.length){b.lastIndex=g?S:0;varE,C=u(b,g?d:d.slice(S));if(null===C||(E=p(l(b.lastIndex+(g?0:S)),d.length))===x)S=s(d,S,m);else{if(_.push(d.slice(x,S)),_.length===w)return_;for(varL=1;L<=C.length-1;L++)if(_.push(C[L]),_.length===w)return_;S=x=E}}return_.push(d.slice(x)),_}]}),!g)},"2bad":function(t,e,r){varn=r("e64c"),a=r("e4b5"),i=r("b351"),o=r("fb17"),c=r("1d36"),s=[].push,l=function(t){vare=1==t,r=2==t,l=3==t,u=4==t,f=6==t,d=5==t||f;returnfunction(h,p,v,g){for(varm,y,b=i(h),w=a(b),x=n(p,v,3),S=o(w.length),_=0,E=g||c,C=e?E(h,S):r?E(h,0):void0;S>_;_++)if((d||_inw)&&(m=w[_],y=x(m,_,b),t))if(e)C[_]=y;elseif(y)switch(t){case3:return!0;case5:returnm;case6:return_;case2:s.call(C,m)}elseif(u)return!1;returnf?-1:l||u?u:C}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6)}},"2df1":function(t,e,r){"use strict";varn=r("c10a"),a=r("18fe"),i=r("fb17"),o=r("7718"),c=r("3841"),s=r("a972");n("match",1,(function(t,e,r){return[function(e){varr=o(this),n=void0==e?void0:e[t];returnvoid0!==n?n.call(e,r):newRegExp(e)[t](String(r))},function(t){varn=r(e,t,this);if(n.done)returnn.value;varo=a(t),l=String(this);if(!o.global)returns(o,l);varu=o.unicode;o.lastIndex=0;varf,d=[],h=0;while(null!==(f=s(o,l))){varp=String(f[0]);d[h]=p,""===p&&(o.lastIndex=c(l,i(o.lastIndex),u)),h++}return0===h?null:d}]}))},"31f0":function(t,e,r){"use strict";varn=r("6001"),a=r("c2b3"),i=r("f184"),o=r("dca8"),c=r("a7a0"),s=r("7f38"),l=r("3fee"),u=r("03e5"),f=r("7a00"),d=r("d409"),h=r("410a"),p=r("18fe"),v=r("b351"),g=r("a497"),m=r("f9b2"),y=r("179e"),b=r("a0f9"),w=r("8e93"),x=r("7e41"),S=r("85ea"),_=r("78d0"),E=r("52fb"),C=r("b89b"),L=r("7940"),k=r("947c"),O=r("9b92"),R=r("f0eb"),T=r("7edc"),I=r("667a"),A=r("d98c"),P=r("7fa0"),j=r("154d"),N=r("8533"),$=r("5ddc"),q=r("8714"),M=r("2bad").forEach,F=T("hidden"),G="Symbol",J="prototype",B=P("toPrimitive"),U=q.set,D=q.getterFor(G),H=Object[J],W=a.Symbol,X=i("JSON","stringify"),Q=E.f,V=C.f,z=S.f,Y=L.f,Z=R("symbols"),K=R("op-symbols"),tt=R("string-to-symbol-registry"),et=R("symbol-to-string-registry"),rt=R("wks"),nt=a.QObject,at=!nt||!nt[J]||!nt[J].findChild,it=c&&u((function(){return7!=b(V({},"a",{get:function(){returnV(this,"a",{value:7}).a}})).a}))?function(t,e,r){varn=Q(H,e);n&&deleteH[e],V(t,e,r),n&&t!==H&&V(H,e,n)}:V,ot=function(t,e){varr=Z[t]=b(W[J]);returnU(r,{type:G,tag:t,description:e}),c||(r.description=e),r},ct=s&&"symbol"==typeofW.iterator?function(t){return"symbol"==typeoft}:function(t){returnObject(t)instanceofW},st=function(t,e,r){t===H&&st(K,e,r),p(t);varn=m(e,!0);returnp(r),f(Z,n)?(r.enumerable?(f(t,F)&&t[F][n]&&(t[F][n]=!1),r=b(r,{enumerable:y(0,!1)})):(f(t,F)||V(t,F,y(1,{})),t[F][n]=!0),it(t,n,r)):V(t,n,r)},lt=function(t,e){p(t);varr=g(e),n=w(r).concat(pt(r));returnM(n,(function(e){c&&!ft.call(r,e)||st(t,e,r[e])})),t},ut=function(t,e){returnvoid0===e?b(t):lt(b(t),e)},ft=function(t){vare=m(t,!0),r=Y.call(this,e);return!(this===H&&f(Z,e)&&!f(K,e))&&(!(r||!f(this,e)||!f(Z,e)||f(this,F)&&this[F][e])||r)},dt=function(t,e){varr=g(t),n=m(e,!0);if(r!==H||!f(Z,n)||f(K,n)){vara=Q(r,n);return!a||!f(Z,n)||f(r,F)&&r[F][n]||(a.enumerable=!0),a}},ht=function(t){vare=z(g(t)),r=[];returnM(e,(function(t){f(Z,t)||f(I,t)||r.push(t)})),r},pt=function(t){vare=t===H,r=z(e?K:g(t)),n=[];returnM(r,(function(t){!f(Z,t)||e&&!f(H,t)||n.push(Z[t])})),n};if(s||(W=function(){if(thisinstanceofW)throwTypeError("Symbol is not a constructor");vart=arguments.length&&void0!==arguments[0]?String(arguments[0]):void0,e=A(t),r=function(t){this===H&&r.call(K,t),f(this,F)&&f(this[F],e)&&(this[F][e]=!1),it(this,e,y(1,t))};returnc&&at&&it(H,e,{configurable:!0,set:r}),ot(e,t)},O(W[J],"toString",(function(){returnD(this).tag})),L.f=ft,C.f=st,E.f=dt,x.f=S.f=ht,_.f=pt,c&&(V(W[J],"description",{configurable:!0,get:function(){returnD(this).description}}),o||O(H,"propertyIsEnumerable",ft,{unsafe:!0}))),l||(j.f=function(t){returnot(P(t),t)}),n({global:!0,wrap:!0,forced:!s,sham:!s},{Symbol:W}),M(w(rt),(function(t){N(t)})),n({target:G,stat:!0,forced:!s},{for:function(t){vare=String(t);if(f(tt,e))returntt[e];varr=W(e);returntt[e]=r,et[r]=e,r},keyFor:function(t){if(!ct(t))throwTypeError(t+" is not a symbol");if(f(et,t))returnet[t]},useSetter:function(){at=!0},useSimple:function(){at=!1}}),n({target:"Object",stat:!0,forced:!s,sham:!c},{create:ut,defineProperty:st,defineProperties:lt,getOwnPropertyDescriptor:dt}),n({target:"Object",stat:!0,forced:!s},{getOwnPropertyNames:ht,getOwnPropertySymbols:pt}),n({target:"Object",stat:!0,forced:u((function(){_.f(1)}))},{getOwnPropertySymbols:function(t){return_.f(v(t))}}),X){varvt=!s||u((function(){vart=W();return"[null]"!=X([t])||"{}"!=X({a:t})||"{}"!=X(Object(t))}));n({target:"JSON",stat:!0,forced:vt},{stringify:function(t,e,r){varn,a=[t],i=1;while(arguments.length>i)a.push(arguments[i++]);if(n=e,(h(e)||void0!==t)&&!ct(t))returnd(e)||(e=function(t,e){if("function"==typeofn&&(e=n.call(this,t,e)),!ct(e))returne}),a[1]=e,X.apply(null,a)}})}W[J][B]||k(W[J],B,W[J].valueOf),$(W,G),I[F]=!0},3269:function(t,e,r){"use strict";varn=r("3947"),a=RegExp.prototype.exec,i=String.prototype.replace,o=a,c=function(){vart=/a/,e=/b*/g;returna.call(t,"a"),a.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),s=void0!==/()??/.exec("")[1],l=c||s;l&&(o=function(t){vare,r,o,l,u=this;returns&&(r=newRegExp("^"+u.source+"$(?!\\s)",n.call(u))),c&&(e=u.lastIndex),o=a.call(u,t),c&&o&&(u.lastIndex=u.global?o.index+o[0].length:e),s&&o&&o.length>1&&i.call(o[0],r,(function(){for(l=1;l<arguments.length-2;l++)void0===arguments[l]&&(o[l]=void0)})),o}),t.exports=o},3841:function(t,e,r){"use strict";varn=r("66dc").charAt;t.exports=function(t,e,r){returne+(r?n(t,e).length:1)}},3947:function(t,e,r){"use strict";varn=r("18fe");t.exports=function(){vart=n(this),e="";returnt.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"3e58":function(t,e,r){varn=r("8533");n("iterator")},"43ef":function(t,e,r){"use strict";r.r(e);varn=function(){vart=this,e=t.$createElement,r=t._self._c||e;returnr("div",[r("van-nav-bar",{attrs:{title:"碰撞记录","left-text":"返回","left-arrow":""},on:{"click-left":t.back}}),r("div",{staticClass:"info"},[r("img",{attrs:{src:"http://test.car.checheng.net/storage/2019-12-13/irNh7jRdtT8aagfBCe9tS3mbEasdcwmgrFS8UYgB.png",width:"50",alt:""}}),r("div",{staticClass:"info-content"},[r("div",{staticClass:"phone"},[t._v(t._s(t.phone))])])]),r("div",{staticClass:"order-list-content",staticStyle:{height:"100%"}},[r("van-list",{attrs:{finished:t.finished,"finished-text":"没有更多了"},on:{load:t.loads},model:{value:t.loading,callback:function(e){t.loading=e},expression:"loading"}},[r("ul",t._l(t.list,(function(e,n){returnr("li",{staticClass:"order-item",attrs:{"data-id":"4916","data-status":"0"}},[r("div",{staticClass:"item-header"},[r("span",{staticClass:"item-car"},[e.inquire&&e.inquire.data.brand_img?r("img",{attrs:{src:e.inquire&&e.inquire.data.brand_img}}):t._e(),t._v(" "+t._s(e.inquire&&e.inquire.data.maker||"--")+" ")]),r("span",{staticClass:"item-date"},[t._v(t._s(e.pay_time||e.created_at))])]),r("div",{staticClass:"item-body"},[r("span",{staticClass:"item-label"},[t._v("车架号:")]),r("span",{staticClass:"vin-number"},[t._v(t._s(e.vin))])]),r("div",{staticClass:"item-footer"},[r("div",{staticClass:"item-footer-content"},[r("span",{staticClass:"item-label"},[t._v("订单号:")]),r("span",{staticClass:"order-number"},[t._v(t._s(e.order_no))])])]),0==e.status?r("div",{staticClass:"item-status item-status-0",on:{click:function(r){returnt.toOrder(e)}}},[t._v("去支付")]):t._e(),1===e.status&&e.inquire&&e.inquire.data&&e.inquire.data.claims?r("div",{staticClass:"item-status item-status-1",on:{click:function(r){returnt.toReport(e)}}},[t._v(" 报告已出 ")]):t._e(),1!==e.status||e.inquire&&(!e.inquire.data||e.inquire.data.claims)?t._e():r("div",{staticClass:"item-status item-status-10"},[1==e.pay_gate?r("div",[t._v("查询失败,可申请退款")]):r("div",[t._v("查询失败,可申请退款"),r("a",{staticClass:"item-apply",on:{click:function(r){returnt.refund(e.id)}}},[t._v("申请退款")])])]),3==e.status?r("div",{staticClass:"item-status item-status-1"},[t._v("退款成功")]):t._e(),4==e.status?r("div",{staticClass:"item-status item-status-1"},[t._v("退款成功")]):t._e(),5==e.status?r("div",{staticClass:"item-status item-status-1"},[t._v("驳回退款申请")]):t._e()])})),0)])],1)],1)},a=[];r("6799"),r("ff52"),r("d450"),r("6dd8"),r("b530"),r("9312");functioni(t){if(Array.isArray(t)){for(vare=0,r=newArray(t.length);e<t.length;e++)r[e]=t[e];returnr}}r("31f0"),r("c54d"),r("3e58"),r("5b96"),r("2d98"),r("0d9e"),r("1ede"),r("0805"),r("b9de");functiono(t){if(Symbol.iteratorinObject(t)||"[object Arguments]"===Object.prototype.toString.call(t))returnArray.from(t)}functionc(){thrownewTypeError("Invalid attempt to spread non-iterable instance")}functions(t){returni(t)||o(t)||c()}r("63ff");varl={data:function(){return{phone:"",list:[],loading:!1,finished:!1,page:1,total:null,last_page:1}},methods:{back:function(){window.history.go(-1)},toOrder:function(t){localStorage.report_data=JSON.stringify(t),this.$router.push({path:"/order",query:{status:0,from:"list"}})},toReport:function(t){localStorage.report_data=JSON.stringify(t.inquire),this.$router.push({path:"/example?from=list"})},refund:function(t){vare,r;returnregeneratorRuntime.async((function(n){while(1)switch(n.prev=n.next){case0:returnn.next=2,regeneratorRuntime.awrap(this.$http.post("main-orders/".concat(t,"/wechat-refund")));case2:e=n.sent,r=e.data,console.log(r,"refund-wechat"),"ok"===r.message&&(this.$toast("退款成功"),setTimeout((function(){window.location.reload()}),2e3));case6:case"end":returnn.stop()}}),null,this)},loads:function(){this.page>this.last_page&&(this.finished=!0),this.getList(this.page),this.page++},getList:function(t){vare,r;returnregeneratorRuntime.async((function(n){while(1)switch(n.prev=n.next){case0:returnn.next=2,regeneratorRuntime.awrap(this.$http.get("main-orders",{params:{type:1,page:t,customer_id:localStorage.customer_id}}));case2:e=n.sent,r=e.data,this.list=[].concat(s(this.list),s(r.data)),this.last_page=r.meta.last_page,this.loading=!1;case7:case"end":returnn.stop()}}),null,this)}},mounted:function(){this.phone=localStorage.phone.replace(/(\d{3})(\d{4})(\d{4})/,"$1****$3")}},u=l,f=(r("1f0d"),r("4e82")),d=Object(f["a"])(u,n,a,!1,null,"544a0f25",null);e["default"]=d.exports},4765:function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"5b96":function(t,e,r){varn=r("6001"),a=r("0919"),i=r("a07c"),o=!i((function(t){Array.from(t)}));n({target:"Array",stat:!0,forced:o},{from:a})},"5d30":function(t,e,r){"use strict";varn=r("6001"),a=r("1945");n({target:"Array",proto:!0,forced:[].forEach!=a},{forEach:a})},"5f0a":function(t,e,r){},6392:function(t,e,r){"use strict";varn=r("f9b2"),a=r("b89b"),i=r("179e");t.exports=function(t,e,r){varo=n(e);oint?a.f(t,o,i(0,r)):t[o]=r}},"63ff":function(t,e,r){varn=function(t){"use strict";vare,r=Object.prototype,n=r.hasOwnProperty,a="function"===typeofSymbol?Symbol:{},i=a.iterator||"@@iterator",o=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";functions(t,e,r,n){vara=e&&e.prototypeinstanceofv?e:v,i=Object.create(a.prototype),o=newO(n||[]);returni._invoke=E(t,r,o),i}functionl(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(n){return{type:"throw",arg:n}}}t.wrap=s;varu="suspendedStart",f="suspendedYield",d="executing",h="completed",p={};functionv(){}functiong(){}functionm(){}vary={};y[i]=function(){returnthis};varb=Object.getPrototypeOf,w=b&&b(b(R([])));w&&w!==r&&n.call(w,i)&&(y=w);varx=m.prototype=v.prototype=Object.create(y);functionS(t){["next","throw","return"].forEach((function(e){t[e]=function(t){returnthis._invoke(e,t)}}))}function_(t){functione(r,a,i,o){varc=l(t[r],t,a);if("throw"!==c.type){vars=c.arg,u=s.value;returnu&&"object"===typeofu&&n.call(u,"__await")?Promise.resolve(u.__await).then((function(t){e("next",t,i,o)}),(function(t){e("throw",t,i,o)})):Promise.resolve(u).then((function(t){s.value=t,i(s)}),(function(t){returne("throw",t,i,o)}))}o(c.arg)}varr;functiona(t,n){functiona(){returnnewPromise((function(r,a){e(t,n,r,a)}))}returnr=r?r.then(a,a):a()}this._invoke=a}functionE(t,e,r){varn=u;returnfunction(a,i){if(n===d)thrownewError("Generator is already running");if(n===h){if("throw"===a)throwi;returnT()}r.method=a,r.arg=i;while(1){varo=r.delegate;if(o){varc=C(o,r);if(c){if(c===p)continue;returnc}}if("next"===r.method)r.sent=r._sent=r.arg;elseif("throw"===r.method){if(n===u)thrown=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;vars=l(t,e,r);if("normal"===s.type){if(n=r.done?h:f,s.arg===p)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n=h,r.method="throw",r.arg=s.arg)}}}functionC(t,r){varn=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator["return"]&&(r.method="return",r.arg=e,C(t,r),"throw"===r.method))returnp;r.method="throw",r.arg=newTypeError("The iterator does not provide a 'throw' method")}returnp}vara=l(n,t.iterator,r.arg);if("throw"===a.type)returnr.method="throw",r.arg=a.arg,r.delegate=null,p;vari=a.arg;returni?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,p):i:(r.method="throw",r.arg=newTypeError("iterator result is not an object"),r.delegate=null,p)}functionL(t){vare={tryLoc:t[0]};1int&&(e.catchLoc=t[1]),2int&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}functionk(t){vare=t.completion||{};e.type="normal",deletee.arg,t.completion=e}functionO(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}functionR(t){if(t){varr=t[i];if(r)returnr.call(t);if("function"===typeoft.next)returnt;if(!isNaN(t.length)){vara=-1,o=functionr(){while(++a<t.length)if(n.call(t,a))returnr.value=t[a],r.done=!1,r;returnr.value=e,r.done=!0,r};returno.next=o}}return{next:T}}functionT(){return{value:e,done:!0}}returng.prototype=x.constructor=m,m.constructor=g,m[c]=g.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){vare="function"===typeoft&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){returnObject.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,cint||(t[c]="GeneratorFunction")),t.prototype=Object.create(x),t},t.awrap=function(t){return{__await:t}},S(_.prototype),_.prototype[o]=function(){returnthis},t.AsyncIterator=_,t.async=function(e,r,n,a){vari=new_(s(e,r,n,a));returnt.isGeneratorFunction(r)?i:i.next().then((function(t){returnt.done?t.value:i.next()}))},S(x),x[c]="Generator",x[i]=function(){returnthis},x.toString=function(){return"[object Generator]"},t.keys=function(t){vare=[];for(varrint)e.push(r);returne.reverse(),functionr(){while(e.length){varn=e.pop();if(nint)returnr.value=n,r.done=!1,r}returnr.done=!0,r}},t.values=R,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(k),!t)for(varrinthis)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;vart=this.tryEntries[0],e=t.completion;if("throw"===e.type)throwe.arg;returnthis.rval},dispatchException:function(t){if(this.done)throwt;varr=this;functiona(n,a){returnc.type="throw",c.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!a}for(vari=this.tryEntries.length-1;i>=0;--i){varo=this.tryEntries[i],c=o.completion;if("root"===o.tryLoc)returna("end");if(o.tryLoc<=this.prev){vars=n.call(o,"catchLoc"),l=n.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)returna(o.catchLoc,!0);if(this.prev<o.finallyLoc)returna(o.finallyLoc)}elseif(s){if(this.prev<o.catchLoc)returna(o.catchLoc,!0)}else{if(!l)thrownewError("try statement without catch or finally");if(this.prev<o.finallyLoc)returna(o.finallyLoc)}}}},abrupt:function(t,e){for(varr=this.tryEntries.length-1;r>=0;--r){vara=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){vari=a;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);varo=i?i.completion:{};returno.type=t,o.arg=e,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(o)},complete:function(t,e){if("throw"===t.type)throwt.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),p},finish:function(t){for(vare=this.tryEntries.length-1;e>=0;--e){varr=this.tryEntries[e];if(r.finallyLoc===t)returnthis.complete(r.completion,r.afterLoc),k(r),p}},catch:function(t){for(vare=this.tryEntries.length-1;e>=0;--e){varr=this.tryEntries[e];if(r.tryLoc===t){varn=r.completion;if("throw"===n.type){vara=n.arg;k(r)}returna}}thrownewError("illegal catch attempt")},delegateYield:function(t,r,n){returnthis.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),p}},t}(t.exports);try{regeneratorRuntime=n}catch(a){Function("r","regeneratorRuntime = r")(n)}},"66dc":function(t,e,r){varn=r("4608"),a=r("7718"),i=function(t){returnfunction(e,r){vari,o,c=String(a(e)),s=n(r),l=c.length;returns<0||s>=l?t?"":void0:(i=c.charCodeAt(s),i<55296||i>56319||s+1===l||(o=c.charCodeAt(s+1))<56320||o>57343?t?c.charAt(s):i:t?c.slice(s,s+2):o-56320+(i-55296<<10)+65536)}};t.exports={codeAt:i(!1),charAt:i(!0)}},"677e":function(t,e,r){},6799:function(t,e,r){"use strict";varn=r("6001"),a=r("03e5"),i=r("d409"),o=r("410a"),c=r("b351"),s=r("fb17"),l=r("6392"),u=r("1d36"),f=r("898d"),d=r("7fa0"),h=r("ee01"),p=d("isConcatSpreadable"),v=9007199254740991,g="Maximum allowed index exceeded",m=h>=51||!a((function(){vart=[];returnt[p]=!1,t.concat()[0]!==t})),y=f("concat"),b=function(t){if(!o(t))return!1;vare=t[p];returnvoid0!==e?!!e:i(t)},w=!m||!y;n({target:"Array",proto:!0,forced:w},{concat:function(t){vare,r,n,a,i,o=c(this),f=u(o,0),d=0;for(e=-1,n=arguments.length;e<n;e++)if(i=-1===e?o:arguments[e],b(i)){if(a=s(i.length),d+a>v)throwTypeError(g);for(r=0;r<a;r++,d++)rini&&l(f,d,i[r])}else{if(d>=v)throwTypeError(g);l(f,d++,i)}returnf.length=d,f}})},"6dd8":function(t,e,r){"use strict";varn=r("c10a"),a=r("18fe"),i=r("b351"),o=r("fb17"),c=r("4608"),s=r("7718"),l=r("3841"),u=r("a972"),f=Math.max,d=Math.min,h=Math.floor,p=/\$([$&'`]|\d\d?|<[^>]*>)/g,v=/\$([$&'`]|\d\d?)/g,g=function(t){returnvoid0===t?t:String(t)};n("replace",2,(function(t,e,r){return[function(r,n){vara=s(this),i=void0==r?void0:r[t];returnvoid0!==i?i.call(r,a,n):e.call(String(a),r,n)},function(t,i){vars=r(e,t,this,i);if(s.done)returns.value;varh=a(t),p=String(this),v="function"===typeofi;v||(i=String(i));varm=h.global;if(m){vary=h.unicode;h.lastIndex=0}varb=[];while(1){varw=u(h,p);if(null===w)break;if(b.push(w),!m)break;varx=String(w[0]);""===x&&(h.lastIndex=l(p,o(h.lastIndex),y))}for(varS="",_=0,E=0;E<b.length;E++){w=b[E];for(varC=String(w[0]),L=f(d(c(w.index),p.length),0),k=[],O=1;O<w.length;O++)k.push(g(w[O]));varR=w.groups;if(v){varT=[C].concat(k,L,p);void0!==R&&T.push(R);varI=String(i.apply(void0,T))}elseI=n(C,p,L,k,R,i);L>=_&&(S+=p.slice(_,L)+I,_=L+C.length)}returnS+p.slice(_)}];functionn(t,r,n,a,o,c){vars=n+t.length,l=a.length,u=v;returnvoid0!==o&&(o=i(o),u=p),e.call(c,u,(function(e,i){varc;switch(i.charAt(0)){case"$":return"$";case"&":returnt;case"`":returnr.slice(0,n);case"'":returnr.slice(s);case"<":c=o[i.slice(1,-1)];break;default:varu=+i;if(0===u)returne;if(u>l){varf=h(u/10);return0===f?e:f<=l?void0===a[f-1]?i.charAt(1):a[f-1]+i.charAt(1):e}c=a[u-1]}returnvoid0===c?"":c}))}}))},"80b6":function(t,e,r){"use strict";varn=r("9bc6"),a=r.n(n);a.a},8533:function(t,e,r){varn=r("79cf"),a=r("7a00"),i=r("154d"),o=r("b89b").f;t.exports=function(t){vare=n.Symbol||(n.Symbol={});a(e,t)||o(e,t,{value:i.f(t)})}},"85ea":function(t,e,r){varn=r("a497"),a=r("7e41").f,i={}.toString,o="object"==typeofwindow&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(t){try{returna(t)}catch(e){returno.slice()}};t.exports.f=function(t){returno&&"[object Window]"==i.call(t)?c(t):a(n(t))}},"898d":function(t,e,r){varn=r("03e5"),a=r("7fa0"),i=r("ee01"),o=a("species");t.exports=function(t){returni>=51||!n((function(){vare=[],r=e.constructor={};returnr[o]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},9312:function(t,e,r){varn=r("6001"),a=r("d409");n({target:"Array",stat:!0},{isArray:a})},"961f":function(t,e,r){"use strict";varn=r("03e5");t.exports=function(t,e){varr=[][t];return!r||!n((function(){r.call(null,e||function(){throw1},1)}))}},"993f":function(t,e){t.exports=Object.is||function(t,e){returnt===e?0!==t||1/t===1/e:t!=t&&e!=e}},"9bc6":function(t,e,r){},a27f:function(t,e,r){varn=r("c2b3"),a=r("4765"),i=r("1945"),o=r("947c");for(varcina){vars=n[c],l=s&&s.prototype;if(l&&l.forEach!==i)try{o(l,"forEach",i)}catch(u){l.forEach=i}}},a328:function(t,e,r){"use strict";varn=r("c10a"),a=r("18fe"),i=r("7718"),o=r("993f"),c=r("a972");n("search",1,(function(t,e,r){return[function(e){varr=i(this),n=void0==e?void0:e[t];returnvoid0!==n?n.call(e,r):newRegExp(e)[t](String(r))},function(t){varn=r(e,t,this);if(n.done)returnn.value;vari=a(t),s=String(this),l=i.lastIndex;o(l,0)||(i.lastIndex=0);varu=c(i,s);returno(i.lastIndex,l)||(i.lastIndex=l),null===u?-1:u.index}]}))},a972:function(t,e,r){varn=r("daa9"),a=r("3269");t.exports=function(t,e){varr=t.exec;if("function"===typeofr){vari=r.call(t,e);if("object"!==typeofi)throwTypeError("RegExp exec method returned something other than an Object or null");returni}if("RegExp"!==n(t))throwTypeError("RegExp#exec called on incompatible receiver");returna.call(t,e)}},b530:function(t,e,r){varn=r("6001"),a=r("c2b3"),i=r("15d5"),o=[].slice,c=/MSIE .\./.test(i),s=function(t){returnfunction(e,r){varn=arguments.length>2,a=n?o.call(arguments,2):void0;returnt(n?function(){("function"==typeofe?e:Function(e)).apply(this,a)}:e,r)}};n({global:!0,bind:!0,forced:c},{setTimeout:s(a.setTimeout),setInterval:s(a.setInterval)})},b9de:function(t,e,r){varn=r("c2b3"),a=r("4765"),i=r("2d98"),o=r("947c"),c=r("7fa0"),s=c("iterator"),l=c("toStringTag"),u=i.values;for(varfina){vard=n[f],h=d&&d.prototype;if(h){if(h[s]!==u)try{o(h,s,u)}catch(v){h[s]=u}if(h[l]||o(h,l,f),a[f])for(varpini)if(h[p]!==i[p])try{o(h,p,i[p])}catch(v){h[p]=i[p]}}}},c10a:function(t,e,r){"use strict";varn=r("947c"),a=r("9b92"),i=r("03e5"),o=r("7fa0"),c=r("3269"),s=o("species"),l=!i((function(){vart=/./;returnt.exec=function(){vart=[];returnt.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),u=!i((function(){vart=/(?:)/,e=t.exec;t.exec=function(){returne.apply(this,arguments)};varr="ab".split(t);return2!==r.length||"a"!==r[0]||"b"!==r[1]}));t.exports=function(t,e,r,f){vard=o(t),h=!i((function(){vare={};returne[d]=function(){return7},7!=""[t](e)})),p=h&&!i((function(){vare=!1,r=/a/;return"split"===t&&(r={},r.constructor={},r.constructor[s]=function(){returnr},r.flags="",r[d]=/./[d]),r.exec=function(){returne=!0,null},r[d](""),!e}));if(!h||!p||"replace"===t&&!l||"split"===t&&!u){varv=/./[d],g=r(d,""[t],(function(t,e,r,n,a){returne.exec===c?h&&!a?{done:!0,value:v.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}})),m=g[0],y=g[1];a(String.prototype,t,m),a(RegExp.prototype,d,2==e?function(t,e){returny.call(t,this,e)}:function(t){returny.call(t,this)}),f&&n(RegExp.prototype[d],"sham",!0)}}},c54d:function(t,e,r){"use strict";varn=r("6001"),a=r("a7a0"),i=r("c2b3"),o=r("7a00"),c=r("410a"),s=r("b89b").f,l=r("cb72"),u=i.Symbol;if(a&&"function"==typeofu&&(!("description"inu.prototype)||void0!==u().description)){varf={},d=function(){vart=arguments.length<1||void0===arguments[0]?void0:String(arguments[0]),e=thisinstanceofd?newu(t):void0===t?u():u(t);return""===t&&(f[e]=!0),e};l(d,u);varh=d.prototype=u.prototype;h.constructor=d;varp=h.toString,v="Symbol(test)"==String(u("test")),g=/^Symbol\((.*)\)[^)]+$/;s(h,"description",{configurable:!0,get:function(){vart=c(this)?this.valueOf():this,e=p.call(t);if(o(f,t))return"";varr=v?e.slice(7,-1):e.replace(g,"$1");return""===r?void0:r}}),n({global:!0,forced:!0},{Symbol:d})}},cf2a:function(t,e,r){"use strict";r.r(e);varn=function(){vart=this,e=t.$createElement,r=t._self._c||e;returnr("div",{staticClass:"container"},[r("h3",[t._v("支付订单")]),r("van-cell-group",{attrs:{title:"订单信息"}},[r("van-cell",{attrs:{title:"订单金额",value:t.params.price,"value-class":"price"}}),r("van-cell",{attrs:{title:"订单编号",value:t.params.number}})],1),r("div",{staticClass:"mid"},[r("van-cell-group",{attrs:{title:"车辆信息"}},[r("van-cell",{attrs:{title:"车架号",value:t.params.vin}})],1)],1),r("van-cell-group",{attrs:{title:"选择优惠券"}},[r("van-cell",{attrs:{title:"暂无可用优惠券"}})],1),t.flag?r("van-radio-group",{model:{value:t.result,callback:function(e){t.result=e},expression:"result"}},[r("van-cell-group",{attrs:{title:"请选择支付方式"}},t._l(t.list,(function(t,e){returnr("van-cell",{key:t.id,attrs:{title:""+t.name,label:""+t.desc,icon:""+t.icon}},[r("van-radio",{ref:"checkboxes",refInFor:!0,attrs:{slot:"right-icon",name:t.id},slot:"right-icon"})],1)})),1)],1):t._e(),r("van-button",{attrs:{color:"linear-gradient(to right, #FFB200, #FF7B00 )"},on:{click:t.confirm_pay}},[t._v("确认支付 "+t._s(t.params.price)+" ")])],1)},a=[],i=(r("5d30"),r("ff52"),r("d450"),r("2df1"),r("6dd8"),r("280d"),r("a27f"),r("b530"),r("63ff"),{data:function(){return{params:{price:"",number:"",vin:""},list:[{id:0,name:"微信",desc:"推荐安装微信5.0及以上版本的用户使用",icon:"http://test.car.checheng.net/storage/2019-12-11/hg8H1w5bj85yXuT7p07CPLPiHI0Op0r3iGWCtTNg.png"},{id:1,name:"支付宝",desc:"推荐有支付宝账号的用户使用",icon:"http://test.car.checheng.net/storage/2019-12-11/jT5FjlIxBTNTZyim4MtDDhx7wPP6TLHCsgqMPT8t.png"}],result:0,flag:!1}},mounted:function(){vart=this.getUrlParam("status");if("externalBrowser"===localStorage.source&&(this.flag=!0),"0"==t){vare=JSON.parse(localStorage.report_data);console.log(e,"123"),this.params.price="¥"+e.amount,this.params.number=e.order_no,this.params.vin=e.vin}elsethis.params.price="¥0.01",this.params.number=JSON.parse(localStorage.order).order_no,this.params.vin=JSON.parse(localStorage.order).vin},methods:{getUrlParam:function(t){vare=window.location.href,r={},n=/[?&][^?&]+=[^?&#]+/g,a=e.match(n);returna&&a.forEach((function(t){vare=t.substring(1).split("="),n=decodeURIComponent(e[0]),a=decodeURIComponent(e[1]);r[n]=a})),r[t]},pay:function(t,e){varr,n;returnregeneratorRuntime.async((function(a){while(1)switch(a.prev=a.next){case0:returna.next=2,regeneratorRuntime.awrap(this.$http.get("http://car.meigym.com/api/order-pay",{params:{order_no:t,pay_gate:localStorage.pay_gate,amount:e}}));case2:r=a.sent,n=r.data,console.log(n.data,"重新支付接口pay"),this.pay_type(n.data.pay);case6:case"end":returna.stop()}}),null,this)},confirm_pay:function(){vart=JSON.parse(localStorage.order);this.pay(t.id,.01)},pay_type:function(t){vare=this;if("wechat"===localStorage.source){varr=function(){WeixinJSBridge.invoke("getBrandWCPayRequest",{appId:t.appId,timeStamp:t.timeStamp,nonceStr:t.nonceStr,package:t["package"],signType:t.signType,paySign:t.paySign},(function(t){console.log(t,"H5支付结果pay_type"),"get_brand_wcpay_request:ok"==t.err_msg&&(e.$toast("支付成功"),setTimeout((function(){e.$router.replace("/record")}),1e3))}))};"undefined"==typeofWeixinJSBridge?document.addEventListener?document.addEventListener("WeixinJSBridgeReady",r,!1):document.attachEvent&&(document.attachEvent("WeixinJSBridgeReady",r),document.attachEvent("onWeixinJSBridgeReady",r)):r()}else"externalBrowser"===localStorage.source&&"string"===typeofres.pay&&(window.location.href=res.pay)}}}),o=i,c=(r("d17c"),r("4e82")),s=Object(c["a"])(o,n,a,!1,null,"51fd81cf",null);e["default"]=s.exports},d17c:function(t,e,r){"use strict";varn=r("5f0a"),a=r.n(n);a.a},d409:function(t,e,r){varn=r("daa9");t.exports=Array.isArray||function(t){return"Array"==n(t)}},d450:function(t,e,r){"use strict";varn=r("6001"),a=r("3269");n({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},d504:function(t,e,r){"use strict";r.r(e);varn=function(){vart=this,e=t.$createElement,r=t._self._c||e;returnr("div",{staticClass:"container"},[r("div",{staticClass:"top"},[r("h3",[t._v("碰撞记录查询")]),r("div",{staticClass:"banner"},[r("van-image",{attrs:{width:"100%",height:"170",src:"http://test.car.checheng.net/storage/2019-12-10/VyEZRGEgJLMZ41rAkzLniF1DQtagQMkZ0sUcbRYL.png"}}),r("van-image",{staticClass:"record",attrs:{width:"80",height:"27",src:"http://test.car.checheng.net/storage/2019-12-10/E7d2G1nHQuMQWlU21rMWCAMPdMxrj4p7LnYQugY7.png"},on:{click:t.toRecord}})],1),r("div",{staticClass:"price"},[r("span",[t._v("39.9/次,购买套餐最高可省10.9元/次")]),r("span",[t._v("购买套餐")]),r("van-image",{attrs:{width:"10",height:"12",src:"http://test.car.checheng.net/storage/2019-12-10/CqqszHwD8Z4KMg03AQTzfc5TrFoT66h8l6H1dwQy.png"}})],1)]),r("div",{staticClass:"mid"},[r("van-cell-group",[r("van-field",{attrs:{required:"",clearable:"",label:"车架号",placeholder:"请输入17位车架号",maxlength:"17"},model:{value:t.params.vin,callback:function(e){t.$set(t.params,"vin",e)},expression:"params.vin"}},[r("div",{attrs:{slot:"right-icon"},slot:"right-icon"},[t._v(" "+t._s(t.params.vin.length)+"/17 ")])]),r("van-field",{attrs:{disabled:""}},[r("div",{staticClass:"icon",attrs:{slot:"right-icon"},slot:"right-icon"},[r("span",[r("van-icon",{attrs:{name:"http://test.car.checheng.net/storage/2019-12-10/Ke6iGHbSeknCtluOrWXXsOieKawJuAF2cBWDqoGe.png"}}),t._v(" 车架号不知道在哪")],1)])])],1)],1),r("div",{staticClass:"footer"},[r("van-button",{staticClass:"example",attrs:{plain:"",hairline:"",type:"warning"},on:{click:t.toExample}},[t._v("样例")]),r("van-button",{staticClass:"query",attrs:{disabled:17!=t.params.vin.length,color:"#f60"},on:{click:t.query}},[t._v("开始查询")]),r("van-checkbox",{staticClass:"check",attrs:{"icon-size":"10px","checked-color":"#F60"},model:{value:t.checked,callback:function(e){t.checked=e},expression:"checked"}},[t._v(" 使用本服务意味着您已经阅读并同意"),r("span",[t._v("《用户协议》")])]),r("p",[t._v("最快20分钟返回查询结果,20:00后查询将于次日推送查询结果")])],1),r("div",{staticClass:"footer_baner"},[r("van-image",{attrs:{width:"100%",src:"http://test.car.checheng.net/storage/2019-12-10/wGw19mjGFTVE2E5r8Q16jWkIPooBZbu9C7Huf4pr.png"}})],1)])},a=[],i=(r("5d30"),r("ff52"),r("d450"),r("2df1"),r("a328"),r("280d"),r("a27f"),r("63ff"),{data:function(){return{params:{vin:""},checked:!0}},methods:{getUrlParam:function(t){vare=window.location.href,r={},n=/[?&][^?&]+=[^?&#]+/g,a=e.match(n);returna&&a.forEach((function(t){vare=t.substring(1).split("="),n=decodeURIComponent(e[0]),a=decodeURIComponent(e[1]);r[n]=a})),r[t]},getUserInfo:function(t,e){varr,n;returnregeneratorRuntime.async((function(a){while(1)switch(a.prev=a.next){case0:returna.next=2,regeneratorRuntime.awrap(this.axios.get("main-customers/get-user-info",{params:{code:t,channel_code:e}}));case2:r=a.sent,n=r.data,console.log(n,"getUserInfo"),localStorage.customer_id=n.id,n.phone&&(localStorage.phone=n.phone);case7:case"end":returna.stop()}}),null,this)},getAddOrder:function(t){vare,r,n;returnregeneratorRuntime.async((function(a){while(1)switch(a.prev=a.next){case0:returna.next=2,regeneratorRuntime.awrap(this.$http.get("http://car.meigym.com/api/main-orders",{params:{customer_id:localStorage.customer_id,vin:t,type:1}}));case2:e=a.sent,r=e.data,console.log(r,"main-orders"),"ok"===r.message&&r.data&&1===r.data.error?this.$toast(r.data.msg):(n=r.data.order,localStorage.order=JSON.stringify(n),this.$router.push({path:"/order",query:{price:.01,vin:t,number:n.order_no}}));case6:case"end":returna.stop()}}),null,this)},getPrice:function(t){vare,r;returnregeneratorRuntime.async((function(n){while(1)switch(n.prev=n.next){case0:returnn.next=2,regeneratorRuntime.awrap(this.$http.get("https://test-es.checheng.com/api-round/channels/show-by-code",{params:{code:t}}));case2:e=n.sent,r=e.data,console.log(r,"getPrice");case5:case"end":returnn.stop()}}),null,this)},query:function(){this.getAddOrder(this.params.vin)},toRecord:function(){this.$router.push("/record")},toExample:function(){vart={id:1,customer_id:0,date:"2019-12-05",vin:"LFPM4ACC1C1AXXXXX",data:{insurance:[{start_date:"2014-12",end_date:"2015-12"}],claims:[{claim_date:"2015-07-01",owner:"王XX",plate:"皖A 1111XX",description:"事故详情描述",total_fee:"500.00",labor_fee:"0.00",material_fee:"0.00",repair_detail:"前保险杠(半喷),左前叶子板(全喷)",material:"材料描述"}],createtime:"2019-12-05 16:54:25",report_url:"https://customer.che300.com/ins-report?cid=516&order_id=3799741&sn=9ba43cea2b01620f72bede6405bfe780"},status:0,created_at:"2019-12-05 16:54:29",updated_at:"2019-12-05 16:54:29",type:1};localStorage.report_index=JSON.stringify(t),this.$router.push("/example?form=index")}},mounted:function(){vart=this.getUrlParam("code");if(window.location.href.search("mobile")>-1){this.getPrice(t);vare=getUrlParam("mobile");localStorage.phone=e,localStorage.source="externalBrowser",localStorage.pay_gate=2}elseif(window.location.href.search("state")>-1){varr=this.getUrlParam("state");localStorage.state=r,localStorage.code=t,localStorage.source="wechat",localStorage.pay_gate=0,this.getUserInfo(t,r),this.getPrice(r)}elselocalStorage.clear()}}),o=i,c=(r("80b6"),r("4e82")),s=Object(c["a"])(o,n,a,!1,null,"1bd5f2aa",null);e["default"]=s.exports},d62f:function(t,e,r){"use strict";varn=r("677e"),a=r.n(n);a.a},ec9b:function(t,e,r){},f3c2:function(t,e,r){"use strict";r.r(e);varn=function(){vart=this,e=t.$createElement,r=t._self._c||e;returnr("div",{staticClass:"container"},[r("van-nav-bar",{attrs:{title:"碰撞记录报告","left-text":"返回","left-arrow":""},on:{"click-left":t.back}}),t._l(t.report&&t.report.data&&t.report.data.insurance,(function(t,e){returnr("van-cell-group",{key:e,attrs:{title:"保险信息"}},[r("van-cell",{attrs:{title:"开始时间",value:t.start_date}}),r("van-cell",{attrs:{title:"结束时间",value:t.end_date}})],1)})),t._l(t.report&&t.report.data&&t.report.data.claims,(function(e,n){returnr("van-cell-group",{key:n,attrs:{title:"事故信息"}},[r("van-cell",{attrs:{title:"事故日期",value:e.claim_date}}),r("van-cell",{attrs:{title:"车主",value:e.owner}}),r("van-cell",{attrs:{title:"车牌号",value:e.plate}}),r("van-cell",{attrs:{title:"核损金额(元)",value:e.total_fee}}),r("van-cell",{attrs:{title:"人工费(元)",value:e.labor_fee}}),r("van-cell",{attrs:{title:"材料费(元)",value:e.material_fee}}),r("van-cell",{attrs:{title:"材料",value:e.material?e.material:"暂无"}}),r("van-field",{attrs:{label:"维修项目",value:e.repair_detail?e.repair_detail:"暂无",type:"textarea",autosize:"",disabled:"","input-align":"right"}}),r("van-field",{attrs:{label:"事故描述",value:e.description?e.description:"暂无描述信息",type:"textarea",autosize:"",disabled:"","input-align":"right"}}),r("van-cell",{attrs:{title:"报告生成时间",value:t.report.data.createtime}})],1)}))],2)},a=[],i=(r("d450"),r("a328"),{data:function(){return{report:""}},methods:{back:function(){window.history.go(-1)}},mounted:function(){window.location.href.search("list")>-1&&(this.report=JSON.parse(localStorage.report_data)),window.location.href.search("index")>-1&&(this.report=JSON.parse(localStorage.report_index))}}),o=i,c=(r("d62f"),r("4e82")),s=Object(c["a"])(o,n,a,!1,null,"0710390c",null);e["default"]=s.exports},fa28:function(t,e,r){varn=r("410a"),a=r("daa9"),i=r("7fa0"),o=i("match");t.exports=function(t){vare;returnn(t)&&(void0!==(e=t[o])?!!e:"RegExp"==a(t))}}}]);