zzzz
2024-04-15 136d5835ef62ecfb9932526c5f48a434988b1be7
1
"use strict";(self["webpackChunkexchange"]=self["webpackChunkexchange"]||[]).push([[167],{3717:function(t,e,i){i.d(e,{A:function(){return c}});var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{attrs:{id:"assetsHead"}},[i("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)},s=[],a=(i(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)}}}),r=a,o=i(81656),l=(0,o.A)(r,n,s,!1,null,"77f40d14",null),c=l.exports},80659:function(t,e,i){i.r(e),i.d(e,{default:function(){return A}});var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"w-full h-full c2cCollection mainBackground",attrs:{id:"full"}},[i("assets-head",{attrs:{title:t.$t("C2C收款方式"),backFunc:function(){return t.$router.replace("/c2cTrade")}}}),0===t.paymentList.length?i("div",{staticClass:"pt-50 pb-78 text-center bg-white"},[t._m(0),i("div",{staticClass:"mt-8 text-grey font-24"},[t._v(t._s(t.$t("暂无支持的收款方式")))])]):i("div",t._l(t.paymentList,(function(e,n){return i("car-item",{key:n,staticClass:"pb-36",attrs:{item:e},nativeOn:{click:function(i){return t.enterCollection(e,i)}}})})),1)],1)},s=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{},[n("img",{staticClass:"w-170 h-170",attrs:{src:i(33588),alt:""}})])}],a=(i(76398),i(52012)),r=(i(19878),i(49948)),o=(i(63212),i(96874)),l=i(80668),c=i(90281),u=i(3717),d=i(94348),h={name:"c2cCollection",props:["isEmpty","id"],data(){return{show:!0,activeNames:[],paymentList:[]}},created(){l.Ay.ctcPaymentMethodUserPay({id:this.id,language:this.$i18n.locale}).then((t=>{d.log("d111",t),this.paymentList=t.data}))},methods:{change(){setTimeout((()=>{this.activeNames.length>0?this.show=!1:this.show=!0}),200)},hide(){this.$refs.collapseItem.toggle(!1),this.show=!0},enterCollection(t,e){-1===e.target.className.indexOf("edit")&&this.$router.replace({name:"c2cTrade",query:{type:this.$route.query.type,total:this.$route.query.total,data:this.$route.query.data,reciveType:JSON.stringify(t)}})}},components:{[o.A.name]:o.A,[r.A.name]:r.A,[a.A.name]:a.A,assetsHead:u.A,CarItem:c.A}},p=h,f=i(81656),m=(0,f.A)(p,n,s,!1,null,"50122746",null),A=m.exports},90281:function(t,e,i){i.d(e,{A:function(){return d}});var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"pl-30 pr-30 pt-55 payment_item c2cColor",class:{"border-b-grey":"CN"===t.item.type}},[n("div",{staticClass:"title flex justify-between w-full"},[n("div",{staticClass:"flex items-center"},[n("div",{staticClass:"w-11 h-36 mr-22 rounded-2xl",style:{background:t.color}}),n("div",{staticClass:"font-37"},[t._v(t._s(t.$t(t.item.methodName)))])]),n("div",{staticClass:"icon edit",on:{click:function(e){return t.editClick(t.item,e)}}},[n("img",{staticClass:"edit w-32 h-32",attrs:{src:i(16583),alt:""}})])]),n("div",{staticClass:"mt-20 font-32"},[t._v(t._s(t.item.realName))]),n("div",{staticClass:"number"},[n("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))+" ")])])])},s=[],a=(i(44114),i(23808)),r=i(94348),o={name:"CarItem",props:["item","type"],data(){return{color:"#"}},created(){for(let t=0;t<6;t++)this.color+=(0,a.G0)();r.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:{}},l=o,c=i(81656),u=(0,c.A)(l,n,s,!1,null,"dd17b012",null),d=u.exports},52012:function(t,e,i){var n=i(51137),s=i(47456),a=i(23102),r=i(99297),o=i(9471),l=i(31994),c=(0,s.Y)("collapse-item"),u=c[0],d=c[1],h=["title","icon","right-icon"];e.A=u({mixins:[(0,r.b)("vanCollapse")],props:(0,n.A)({},l.z,{name:[Number,String],disabled:Boolean,lazyRender:{type:Boolean,default:!0},isLink:{type:Boolean,default:!0}}),data:function(){return{show:null,inited:null}},computed:{currentName:function(){var t;return null!=(t=this.name)?t:this.index},expanded:function(){var t=this;if(!this.parent)return null;var e=this.parent,i=e.value,n=e.accordion;return n?i===this.currentName:i.some((function(e){return e===t.currentName}))}},created:function(){this.show=this.expanded,this.inited=this.expanded},watch:{expanded:function(t,e){var i=this;if(null!==e){t&&(this.show=!0,this.inited=!0);var n=t?this.$nextTick:a.er;n((function(){var e=i.$refs,n=e.content,s=e.wrapper;if(n&&s){var r=n.offsetHeight;if(r){var o=r+"px";s.style.height=t?0:o,(0,a.r7)((function(){s.style.height=t?o:0}))}else i.onTransitionEnd()}}))}}},methods:{onClick:function(){this.disabled||this.toggle()},toggle:function(t){void 0===t&&(t=!this.expanded);var e=this.parent,i=this.currentName,n=e.accordion&&i===e.value,s=n?"":i;this.parent.switch(s,t)},onTransitionEnd:function(){this.expanded?this.$refs.wrapper.style.height="":this.show=!1},genTitle:function(){var t=this,e=this.$createElement,i=this.border,s=this.disabled,a=this.expanded,r=h.reduce((function(e,i){return t.slots(i)&&(e[i]=function(){return t.slots(i)}),e}),{});return this.slots("value")&&(r.default=function(){return t.slots("value")}),e(o.A,{attrs:{role:"button",tabindex:s?-1:0,"aria-expanded":String(a)},class:d("title",{disabled:s,expanded:a,borderless:!i}),on:{click:this.onClick},scopedSlots:r,props:(0,n.A)({},this.$props)})},genContent:function(){var t=this.$createElement;if(this.inited||!this.lazyRender)return t("div",{directives:[{name:"show",value:this.show}],ref:"wrapper",class:d("wrapper"),on:{transitionend:this.onTransitionEnd}},[t("div",{ref:"content",class:d("content")},[this.slots()])])}},render:function(){var t=arguments[0];return t("div",{class:[d({border:this.index&&this.border})]},[this.genTitle(),this.genContent()])}})},76398:function(t,e,i){i(76952),i(98992),i(22795),i(90504)},49948:function(t,e,i){var n=i(47456),s=i(99297),a=i(56374),r=(0,n.Y)("collapse"),o=r[0],l=r[1];e.A=o({mixins:[(0,s.G)("vanCollapse")],props:{accordion:Boolean,value:[String,Number,Array],border:{type:Boolean,default:!0}},methods:{switch:function(t,e){this.accordion||(t=e?this.value.concat(t):this.value.filter((function(e){return e!==t}))),this.$emit("change",t),this.$emit("input",t)}},render:function(){var t,e=arguments[0];return e("div",{class:[l(),(t={},t[a.pT]=this.border,t)]},[this.slots()])}})},19878:function(t,e,i){i(76952)},33588:function(t,e,i){t.exports=i.p+"img/23@3x1.8de6e95b.png"},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"}}]);