"use strict";(self["webpackChunkexchange"]=self["webpackChunkexchange"]||[]).push([[5868],{3717:function(t,e,s){s.d(e,{A:function(){return c}});var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{attrs:{id:"assetsHead"}},[s("van-nav-bar",{attrs:{border:!1,title:t.title,"left-arrow":t.showLeft},on:{"click-left":t.onClickLeft},scopedSlots:t._u([{key:"right",fn:function(){return[t._t("default")]},proxy:!0}],null,!0)})],1)},i=[],n=(s(44114),{name:"assets-head",props:{title:{type:String,default:""},goHome:{type:Boolean,default:!1},goAssetsCenter:{type:Boolean,default:!1},goPerpetualContract:{type:Boolean,default:!1},showLeft:{type:Boolean,default:!0},backFunc:{type:Function},clickFunc:{type:Function}},methods:{onClickLeft(){this.goHome?this.$router.push("/"):this.goAssetsCenter?this.$router.push("/assetsCenter/assets"):this.goPerpetualContract?this.$router.go(-2):this.backFunc?this.backFunc():this.clickFunc?this.clickFunc():this.$router.go(-1)}}}),l=n,r=s(81656),o=(0,r.A)(l,a,i,!1,null,"77f40d14",null),c=o.exports},90281:function(t,e,s){s.d(e,{A:function(){return d}});var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"pl-30 pr-30 pt-55 payment_item c2cColor",class:{"border-b-grey":"CN"===t.item.type}},[a("div",{staticClass:"title flex justify-between w-full"},[a("div",{staticClass:"flex items-center"},[a("div",{staticClass:"w-11 h-36 mr-22 rounded-2xl",style:{background:t.color}}),a("div",{staticClass:"font-37"},[t._v(t._s(t.$t(t.item.methodName)))])]),a("div",{staticClass:"icon edit",on:{click:function(e){return t.editClick(t.item,e)}}},[a("img",{staticClass:"edit w-32 h-32",attrs:{src:s(16583),alt:""}})])]),a("div",{staticClass:"mt-20 font-32"},[t._v(t._s(t.item.realName))]),a("div",{staticClass:"number"},[a("div",{staticClass:"font-700 mt-18 font-37",class:{"ml-44":"EN"===t.item.type,"font-32":"EN"===t.item.type}},[t._v(" "+t._s(t.item.paramValue1?t.item.paramValue1:t.fullNumber(t.item.paramValue1))+" ")])])])},i=[],n=(s(44114),s(23808)),l=s(94348),r={name:"CarItem",props:["item","type"],data(){return{color:"#"}},created(){for(let t=0;t<6;t++)this.color+=(0,n.G0)();l.log(this.color)},methods:{fullNumber(t){return"CN"===this.item.type?t.replace(/(\d{4})/g,"$1 ").trim():t},editClick(t){this.$router.push({name:"bankCarDetail",query:{id:t.id,type:"CN",configType:"edit"}})}},computed:{}},o=r,c=s(81656),u=(0,c.A)(o,a,i,!1,null,"dd17b012",null),d=u.exports},18442:function(t,e,s){s.r(e),s.d(e,{default:function(){return C}});var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"w-full h-full payment",attrs:{id:"payment"}},[s("div",{staticClass:"flex flex-col w-full h-full"},[s("assets-head",{ref:"orderNav",staticClass:"w-full",attrs:{title:t.$t("C2C收款方式"),backFunc:function(){return t.$router.push("/wantBuy")}}}),s("div",{staticClass:"payment_content w-full flex-1 bg-white"},t._l(t.items,(function(t,e){return s("car-item",{key:e,staticClass:"pb-60",attrs:{item:t,index:e}})})),1),s("div",{ref:"add",staticClass:"add w-full mainBackground flex justify-center pt-44 pb-100"},[s("van-button",{staticClass:"w-748",attrs:{type:"info"},on:{click:t.enterPaymentMethod}},[t._v(t._s(t.$t("添加收款方式")))])],1)],1)])},i=[],n=(s(76117),s(87555)),l=(s(74884),s(91981)),r=(s(44114),s(93518)),o=s(3717),c=s(90281),u=s(80668),d=s(54401),m=s(94348),f={name:"Payment",data(){return{footerHeight:0,items:[]}},created(){this.getPaymentMethods()},mounted(){m.log(this.items);const t=this.$refs.orderNav.$el.getBoundingClientRect().height;this.$store.commit(`payment/${d.Tf}`,{height:t}),this.footerHeight=this.$refs.add.getBoundingClientRect().height},methods:{getPaymentMethods(){l.A.loading(),u.Ay.ctcPaymentMethodList({language:this.$i18n.locale}).then((t=>{l.A.clear(),this.items=t.data}))},enterPaymentMethod(){this.$router.push({path:"/wantBuy/addPaymentMethod"})}},components:{[n.A.name]:n.A,assetsHead:o.A,CarItem:c.A},computed:{...(0,r.aH)("payment",["navHeight"])}},h=f,A=s(81656),p=(0,A.A)(h,a,i,!1,null,"bf814148",null),C=p.exports},16583:function(t){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAGQSURBVHgB7ZVNTgIxFMffm5mIS4/QG3gF5wbeAFiIYSchMUEWMFFkoROXhLCAI3gDOIJHGG/gUgjM87VSUmBGZiy4IP6T+ejra3957WsfwLGp9TI8M9v4beyJ07knskzw6c2joFaNsvh2wn4bEYpTjH09xpOvQuwVyaF2lknYV/oFu/wUDLAFxGPAGXNQCurAAfQQ9m8UTItQFEhBxUGA7ix+5U+0ZlxC04AREUwSnwW9p4xZJUijUY1wtvC3ocukeQwHHL65h9i+q1/t3CdTnbBXQnRaZoJ0uz1BJ+6YfwXPH01nsb+XJVUwcIfmXkm7jlSujIQF3PbAUiuYloQaWSmhbPV1t1WEWzATqiJdP/RWwFSYZhJOglr5Yy/AnTCAUbNeKSf15QbawKRyJc39c/+Sb5Bfw6RyReiicw4WsNxAW5iU9Tn8CbZZ9mRpywVU96gDE91GpLdm/bqW5r9Z9mRpywVs3lZG/BmBhQ5Snv6Bf6rEpCEg0X0aXIClYp4HswDZqcTpXAJLYYLt+PfwC1Y7yXWlRIk7AAAAAElFTkSuQmCC"}}]);