"use strict";(self["webpackChunkexchange"]=self["webpackChunkexchange"]||[]).push([[8560],{8515:function(t,e,s){s.d(e,{A:function(){return v}});var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"relative px-32 order-msg mainBackground",class:{hide:!t.isShow&&t.detail.sellName}},[s("order-data",{staticClass:"w-full",attrs:{detail:t.detail}},[t._t("divider")],2),t.detail.sellName?s("van-icon",{staticClass:"absolute bottom-10 font-700 text-grey",class:{rotateZ:t.isShow},attrs:{name:"arrow-down"},on:{click:t.show}}):t._e()],1),s("div",{staticClass:"h-16 diviLine"}),s("div",{staticClass:"px-32 pt-35 mainBackground"},[s("van-collapse",{model:{value:t.activeNames,callback:function(e){t.activeNames=e},expression:"activeNames"}},[s("van-collapse-item",{attrs:{name:"1"},scopedSlots:t._u([{key:"title",fn:function(){return[s("div",[s("p",{staticClass:"font-30 c2cColor"},[t._t("trade-title")],2),s("van-divider"),s("div",{staticClass:"flex items-center mb-28"},[s("div",{staticClass:"w-6 h-32 rounded-xl mr-20",staticStyle:{background:"#E7BB41"}}),s("span",{staticClass:"ml-8 font-30 c2cColor"},[t._v(t._s(t.$t(t.detail.methodName)))])])],1)]},proxy:!0}],null,!0)},[s("van-cell-group",{staticClass:"payment-method"},t._l(t.detail.tradeMethod,(function(t,e){return s("van-cell",{key:e,attrs:{title:t.label,value:t.value}})})),1)],1)],1)],1),s("div",{staticClass:"h-16 diviLine"}),s("div",{staticClass:"p-32 mainBackground"},[t._t("terms")],2)])},a=[],n=(s(81038),s(83244)),r=(s(25481),s(49565)),o=(s(72161),s(9471)),l=(s(76398),s(52012)),c=(s(19878),s(49948)),u=(s(63212),s(96874)),d=s(8756),h={name:"TradeData",props:{detail:{type:Object,default(){return{}}}},data(){return{isShow:!1,activeNames:[]}},methods:{show(){this.isShow=!this.isShow}},components:{[u.A.name]:u.A,[c.A.name]:c.A,[l.A.name]:l.A,[o.A.name]:o.A,[r.A.name]:r.A,[n.A.name]:n.A,OrderData:d.A}},m=h,p=s(81656),f=(0,p.A)(m,i,a,!1,null,"d8b6af74",null),v=f.exports},7473:function(t,e,s){s.r(e),s.d(e,{default:function(){return C}});var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"w-full h-full flex flex-col ",attrs:{id:"full"}},[i("order-nav",{attrs:{back:!1},on:{back:function(e){return t.$router.push("/wantBuy")}},scopedSlots:t._u([{key:"right",fn:function(){return[i("div",{staticClass:"flex items-center",on:{click:function(e){return t.$router.push({path:"/chat"})}}},[i("van-badge",{staticClass:"w-35 h-33 mr-22",attrs:{content:t.unreadMsg}},[i("img",{staticClass:"w-full h-full ",attrs:{src:s(68822),alt:""}})]),i("div",{staticClass:"font-28"},[t._v(t._s(t.$t("联系卖家")))])],1)]},proxy:!0}])}),i("div",{staticClass:"flex-1 mainBackground",staticStyle:{"overflow-y":"auto"}},[i("div",{staticClass:"flex justify-between items-center pt-30 px-32 pb-100 mainBackground"},[i("div",{staticClass:"mainBackground"},[i("p",{staticClass:"font-48 c2cColor"},[t._v(t._s(t.$t("等待卖家确认收款")))])]),i("div",{staticClass:"w-140 h-144"},[i("otc-circle",{staticClass:"w-full h-full",attrs:{time:t.time,expireTime:t.expireTime}})],1)]),i("div",{},[i("trade-data",{attrs:{title:"购买",count:t.count,"total-price":t.totalPrice,"create-order-time":t.createOrderTime,"order-number":t.orderNumber,"sell-name":"钱多多爱妞商行","client-type":"买家昵称",detail:t.detail,"trade-method":t.tradeMethod},scopedSlots:t._u([{key:"divider",fn:function(){return[i("van-divider",{staticClass:"order-msg-divider"})]},proxy:!0},{key:"trade-title",fn:function(){return[i("span",[t._v(t._s(t.$t("交易方式")))])]},proxy:!0},{key:"terms",fn:function(){return[i("van-collapse",{model:{value:t.activeNames,callback:function(e){t.activeNames=e},expression:"activeNames"}},[i("van-collapse-item",{attrs:{name:"2"},scopedSlots:t._u([{key:"title",fn:function(){return[i("span",[t._v(t._s(t.$t("交易条款")))])]},proxy:!0}])},[i("van-divider"),i("p",[t._v(t._s(t.$t("敢打黑钱者,虽远逼诛!")))]),i("p",{staticClass:"mt-20"},[t._v(t._s(t.$t("急单勿拍!")))])],1)],1)]},proxy:!0}])})],1)]),i("div",{staticClass:"px-40 pt-46 h-172 box-border flex font-30 mainBackground"},[i("van-button",{staticClass:"flex-1 h-80 mr-16 rounded-2xl c2cColor tabBackground border-none",attrs:{type:"primary"},on:{click:function(e){return t.$router.push({path:"/cancelOrder?order_no="+t.$route.query.order_no})}}},[t._v(t._s(t.$t("取消订单"))+" ")]),i("van-button",{staticClass:"flex-1 h-80 rounded-2xl tabBackground c2cColor border-none",attrs:{type:"primary"},on:{click:function(e){return t.$router.push({path:"/appeal"})}}},[t._v(t._s(t.$t("申诉"))+" ")])],1)],1)},a=[],n=(s(76398),s(52012)),r=(s(19878),s(49948)),o=(s(81038),s(83244)),l=(s(58108),s(21562)),c=(s(44114),s(93518)),u=s(92266),d=s(69389),h=s(8515),m=s(80668),p=s(94348),f={name:"PaymentDetail",data(){return{activeNames:[],tradeMethod:[{label:this.$t("姓名"),value:this.$t("刘德华")},{label:this.$t("银行卡号/账号"),value:this.$t("1122 3344 5566 7788")},{label:this.$t("银行名称"),value:this.$t("中国工商银行")},{label:this.$t("开户支行"),value:this.$t("北京海淀支行")}],detail:{},time:0,expireTime:0,timeout:null,unreadMsg:0}},computed:{...(0,c.aH)("c2cBuy",["count","totalPrice","createOrderTime","orderNumber"])},created(){this.fetchState()},methods:{fetchState(){const t=this.$store.state.c2c.order_no;m.Ay.ctcOrderGetDetail({order_no:t,language:this.$i18n.locale}).then((t=>{const e=t.data.state/1;1===e?(this.detail=t.data,this.time=this.detail.expireTimeRemain,this.expireTime=60*this.detail.expireTime,this.unreadMsg=this.detail.unreadMsg,p.log(this.expireTime),this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout((()=>{this.fetchState()}),3e3)):3==e?(clearTimeout(this.timeout),this.$router.push("/tradeSuccessBuyer")):5==e?(clearTimeout(this.timeout),this.$router.push({path:"/tradeOrderDetail",query:{back:!1}})):p.log(this.detail)}))}},beforeDestroy(){clearTimeout(this.timeout)},components:{[l.A.name]:l.A,[o.A.name]:o.A,[r.A.name]:r.A,[n.A.name]:n.A,OrderNav:u.A,OtcCircle:d.A,TradeData:h.A}},v=f,A=s(81656),g=(0,A.A)(v,i,a,!1,null,"21e5f664",null),C=g.exports},15312:function(t,e,s){s.r(e),s.d(e,{default:function(){return A}});var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"accountChange"},[i("div",{staticClass:"px-32 py-30 flex items-center"},[i("div",{staticClass:"inputBoxbg h-60 w-full rounded-full flex items-center"},[i("img",{staticClass:"w-32 h-32 mx-16",attrs:{src:s(34320),alt:"logo"}}),i("input",{directives:[{name:"model",rawName:"v-model",value:t.keywords,expression:"keywords"}],staticClass:"h-full flex-1 border-none search-input bg-none",attrs:{type:"text",placeholder:t.$t("搜索")},domProps:{value:t.keywords},on:{input:[function(e){e.target.composing||(t.keywords=e.target.value)},t.onInput]}})]),i("div",{staticClass:"cancel",on:{click:t.cancel}},[t._v(" "+t._s(t.$t("取消"))+" ")])]),i("van-tabs",{on:{change:t.changeValue},model:{value:t.active,callback:function(e){t.active=e},expression:"active"}},[i("van-tab",{attrs:{title:t.$t("热门搜索")}}),i("van-tab",{attrs:{title:t.$t("热门功能")}})],1),0==t.active?i("div",{staticClass:"px-32 mt-20"},t._l(t.currencyList,(function(e,s){return i("div",{key:s,staticClass:"list-item flex",on:{click:function(s){return s.stopPropagation(),t.onItemClick(e)}}},[i("div",{staticClass:"flex-1 item-left flex"},[i("div",{},[0==s||1==s?i("van-icon",{staticClass:"star-icon-check",attrs:{name:"fire"}}):i("span",{staticClass:"font-35"},[t._v(" "+t._s(s+1)+" ")])],1),i("div",{staticClass:"pl-30 symbol-name"},[t._v(t._s(e.symbol.toUpperCase())),i("span",[t._v("/usdt")])])]),i("div",{staticClass:"item-right"},[i("div",{staticClass:"symbol-name"},[t._v(t._s(e.close))]),i("div",{staticClass:"increase mt-10",class:[e.change_ratio>0?"green":"red"]},[t._v(t._s(e.change_ratio)+"%")])]),i("van-icon",{staticClass:"font-40 ml-20",class:[e.isCollection?"star-icon-check":"star-icon"],attrs:{name:"star"},on:{click:function(s){return s.stopPropagation(),t.onCollect(e)}}})],1)})),0):t._e(),1==t.active?i("div",{staticClass:"px-32 mt-30"},t._l(t.dataList,(function(e,s){return i("div",{key:s,staticClass:"function-item list-item flex",on:{click:function(s){return t.jump(e.path)}}},[i("div",{staticClass:"flex-1 flex item-left"},[i("div",[i("span",0==s||1==s?[t._v(t._s(s+1))]:[t._v(" "+t._s(s+1)+" ")])]),i("div",{staticClass:"imgBox ml-30"},[i("img",{attrs:{src:e.icon,alt:""}})]),i("div",{staticClass:" ml-30 symbol-name"},[t._v(t._s(e.name))])]),i("div",{staticClass:"item-right"},[i("van-icon",{attrs:{name:"arrow"}})],1)])})),0):t._e(),0==t.dataList.length||0==t.currencyList.length?i("div",{staticClass:"flex flex-col justify-center items-center pt-185"},[i("img",{staticClass:"w-180 h-180",attrs:{src:s(36928),alt:"no-date"}}),i("p",{staticClass:"textColor"},[t._v(t._s(t.$t("暂无数据")))])]):t._e(),t.isLoading?i("div",{staticClass:"loading-box"},[i("van-loading",{attrs:{type:"spinner",size:"24px"}})],1):t._e()],1)},a=[],n=(s(16443),s(90689)),r=(s(96356),s(162)),o=(s(1751),s(26852)),l=(s(7287),s(10339)),c=(s(44114),s(49351),s(45313)),u=s(93518),d=(s(34642),s(23808)),h=s(94348),m={name:"search",data(){return{keywords:"",active:0,allFunList:[],dataList:[],allCurrencyList:[],currencyList:[],timeout:null,collectionList:[],isLoading:!0}},mounted(){this.allFunList=[{name:this.$t("理财"),icon:s(67870)(`./${this.theme}/image/nav/finance.png`),path:"/fm-home"},{name:this.$t("充值"),icon:s(72775)(`./${this.theme}/image/nav/account.png`),path:"/recharge/rechargePage"},{name:this.$t("合约交易"),icon:s(37913)(`./${this.theme}/image/nav/trading.png`),path:"/trendDetails/btc"},{name:this.$t("闪兑"),icon:s(62381)(`./${this.theme}/image/nav/exchange.png`),path:"/exchange/exchangePage"}],this.dataList=this.allFunList,this.$store.state.user.userInfo.token&&this.myCoinsList(),setTimeout((()=>{this.fetchQList()}),1e3)},components:{[l.A.name]:l.A,[o.A.name]:o.A,[r.A.name]:r.A,[n.A.name]:n.A},watch:{collectionList(t){t&&(this.allCurrencyList.map((e=>{t.map((t=>{e.symbol==t.symbol&&(e.isCollection=!0)}))})),this.currencyList.map((e=>{t.map((t=>{e.symbol==t.symbol&&(e.isCollection=!0)}))})))}},computed:{...(0,u.L8)({coinArr:"home/coinArr",theme:"home/theme"})},filters:{},beforeDestroy(){clearInterval(this.timeout)},methods:{onInput(){1==this.active&&(this.keywords?this.dataList=this.dataList.filter((t=>-1!=t.name.indexOf(this.keywords))):this.dataList=this.allFunList)},cancel(){this.$router.go(-1)},jump(t){this.$router.push(t)},myCoinsList(){(0,c.Eq)().then((t=>{this.collectionList=t}))},onCollect(t){let e=c.uQ;t.isCollection&&(e=c.Vq),e(t.symbol).then((()=>{this.myCoinsList(),t.collected=!t.collected,t.isCollection?this.$toast.success(this.$t("取消收藏")):this.$toast.success(this.$t("收藏成功"))}))},fetchQList(){(0,c.RK)(this.coinArr.join(",")).then((t=>{this.isLoading=!1,t.map((t=>{this.$set(t,"isCollection",!1)})),this.allCurrencyList=t,this.currencyList=t,this.allCurrencyList.map((t=>{this.collectionList.map((e=>{t.symbol==e.symbol&&(t.isCollection=!0)}))})),this.currencyList.map((t=>{this.collectionList.map((e=>{t.symbol==e.symbol&&(t.isCollection=!0)}))})),0==this.active&&(this.keywords?this.currencyList=this.currencyList.filter((t=>-1!=t.name.toUpperCase().indexOf(this.keywords.toUpperCase()))):this.currencyList=this.allCurrencyList),this.timeout=setTimeout((()=>{this.fetchQList()}),1e3)})),this.timeout&&clearInterval(this.timeout)},changeValue(){h.log(this.dataList),this.keywords=""},onItemClick(t){(0,d.cT)("symbol",t.symbol),this.$router.push({path:`/perpetualContract/${t.symbol}`})}}},p=m,f=s(81656),v=(0,f.A)(p,i,a,!1,null,"28270f9a",null),A=v.exports},8116:function(t,e,s){s.r(e),s.d(e,{default:function(){return d}});var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"lang"},[i("assets-head",{attrs:{title:t.$t("主题设置")}}),t._l(t.themeList,(function(e,a){return i("div",{key:a,staticClass:"flex justify-between items-center lang-padding font-35 box-border h-127 px-35 ",on:{click:function(s){return t.changeModel(e.type)}}},[i("div",{staticClass:"lang-title flex items-center font-26 textColor"},[t._v(" "+t._s(t.$t(e.title))+" ")]),e.type==t.theme?i("img",{staticClass:"w-40 h-40 lh-40",attrs:{src:s(2103)}}):t._e()])}))],2)},a=[],n=s(93518),r=s(3717),o={data(){return{type:"white",themeList:[{title:"白天模式",type:"light"},{title:"黑夜模式",type:"dark"}]}},components:{assetsHead:r.A},computed:{...(0,n.L8)("home",["theme"])},methods:{...(0,n.PY)("home",["SET_THEME"]),changeModel(t){this.type=t,this.SET_THEME(t)}}},l=o,c=s(81656),u=(0,c.A)(l,i,a,!1,null,"328607e4",null),d=u.exports},21562:function(t,e,s){var i=s(47456),a=s(33448),n=s(90622),r=(0,i.Y)("badge"),o=r[0],l=r[1];e.A=o({props:{dot:Boolean,max:[Number,String],color:String,content:[Number,String],tag:{type:String,default:"div"}},methods:{hasContent:function(){return!!(this.$scopedSlots.content||(0,a.C8)(this.content)&&""!==this.content)},renderContent:function(){var t=this.dot,e=this.max,s=this.content;if(!t&&this.hasContent())return this.$scopedSlots.content?this.$scopedSlots.content():(0,a.C8)(e)&&(0,n.k)(s)&&+s>e?e+"+":s},renderBadge:function(){var t=this.$createElement;if(this.hasContent()||this.dot)return t("div",{class:l({dot:this.dot,fixed:!!this.$scopedSlots.default}),style:{background:this.color}},[this.renderContent()])}},render:function(){var t=arguments[0];if(this.$scopedSlots.default){var e=this.tag;return t(e,{class:l("wrapper")},[this.$scopedSlots.default(),this.renderBadge()])}return this.renderBadge()}})},58108:function(t,e,s){s(76952)},52012:function(t,e,s){var i=s(51137),a=s(47456),n=s(23102),r=s(99297),o=s(9471),l=s(31994),c=(0,a.Y)("collapse-item"),u=c[0],d=c[1],h=["title","icon","right-icon"];e.A=u({mixins:[(0,r.b)("vanCollapse")],props:(0,i.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,s=e.value,i=e.accordion;return i?s===this.currentName:s.some((function(e){return e===t.currentName}))}},created:function(){this.show=this.expanded,this.inited=this.expanded},watch:{expanded:function(t,e){var s=this;if(null!==e){t&&(this.show=!0,this.inited=!0);var i=t?this.$nextTick:n.er;i((function(){var e=s.$refs,i=e.content,a=e.wrapper;if(i&&a){var r=i.offsetHeight;if(r){var o=r+"px";a.style.height=t?0:o,(0,n.r7)((function(){a.style.height=t?o:0}))}else s.onTransitionEnd()}}))}}},methods:{onClick:function(){this.disabled||this.toggle()},toggle:function(t){void 0===t&&(t=!this.expanded);var e=this.parent,s=this.currentName,i=e.accordion&&s===e.value,a=i?"":s;this.parent.switch(a,t)},onTransitionEnd:function(){this.expanded?this.$refs.wrapper.style.height="":this.show=!1},genTitle:function(){var t=this,e=this.$createElement,s=this.border,a=this.disabled,n=this.expanded,r=h.reduce((function(e,s){return t.slots(s)&&(e[s]=function(){return t.slots(s)}),e}),{});return this.slots("value")&&(r.default=function(){return t.slots("value")}),e(o.A,{attrs:{role:"button",tabindex:a?-1:0,"aria-expanded":String(n)},class:d("title",{disabled:a,expanded:n,borderless:!s}),on:{click:this.onClick},scopedSlots:r,props:(0,i.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,s){s(76952),s(98992),s(22795),s(90504)},49948:function(t,e,s){var i=s(47456),a=s(99297),n=s(56374),r=(0,i.Y)("collapse"),o=r[0],l=r[1];e.A=o({mixins:[(0,a.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[n.pT]=this.border,t)]},[this.slots()])}})},19878:function(t,e,s){s(76952)},83244:function(t,e,s){var i=s(4250),a=s.n(i),n=s(47456),r=s(15827),o=(0,n.Y)("divider"),l=o[0],c=o[1];function u(t,e,s,i){var n;return t("div",a()([{attrs:{role:"separator"},style:{borderColor:e.borderColor},class:c((n={dashed:e.dashed,hairline:e.hairline},n["content-"+e.contentPosition]=s.default,n))},(0,r.IL)(i,!0)]),[s.default&&s.default()])}u.props={dashed:Boolean,hairline:{type:Boolean,default:!0},contentPosition:{type:String,default:"center"}},e.A=l(u)},81038:function(t,e,s){s(76952)},68822:function(t){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAiCAYAAAA3WXuFAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAINSURBVHgB7ZhdctMwFIXPlaG8hjceGvASygoKKyCsgHQFsVdAswIn3QDtDmAFtCsgXQGaIR149AyPbSSOUmewHTv+6UzjzvibcewbX+keSbZ0ZaBjSNrwIzu4BUai8AaPxMrg+gWw0KHojKDhmR2LRWSBAfYA406XEzldC2LP+CuFn9gzdwYflbugmC/oAM8VPqvk2kcH4LAdKXSMXlAVvaAqnp4ga3FpgDFfyYCmLnbCOX9HybmImOVPXT07fNY8w270MpD3G+Mwstdc577nxfwK5CSxvr2eW+2Cp10oJLiZyEViXgzn1uf5XVHA3T3E3kmby1Au8y5Gsj7G4Crvc+BlfSh4q556ggSjATOAjTmM7GirAsm2VDx8yPvcrjhU2aBb9fwP6QLNrVtY/RIHzdOMx0sek8JsQHBuVrhSHo7Z/DGKK7r3UfiEkuFK4u0W9Nj081AVvaAqekFVbARpdADOcYu1IM8g5IQUY89wjzZdC+ImbWEN3AKpsR9cNhD8DuWr5O8cntljphx+USk6D+Q+DfHRLNjMljSWPRL/5YIchxInMZrBTeWRYQpSd4frNn+u5ahJ47fMDa8b6zq+Li9qIsbRuIc2DGc2Yumg7L7LNNPJXV1az0OexZStWZTc1ncWJ2hB6x5yvOJHigOFH/nniVnj2xsOLVrwoJn6D7/pcLoI0/+556atGMc/7sSvp26x8EIAAAAASUVORK5CYII="},2103:function(t){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAfCAYAAACGVs+MAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAEHSURBVHgB7ZXBDYIwFIYfRG8eOJoYCSOwghOoG7gBOgFuQHQDJ3AE4waOYJyAgzcTnq/4jIgKpa1w6XdpQ9/j+6GEAlgsFoulYxzoAH+Lywxhes1g3oOW8Te4RoT4+eQutEguB4jFnAIs0pWTtrYFZfklcnY8704uyLdglGAIf6JKnl8bJzijGHsqOtFXORH7AoaokwvcG4lpPFNBOHDh4CXogQFk5LwGMEww6JOcpoGJNyEr5/UHpkI0kXPNC90QTeVc945qCBU5137SNISqnOu/IxtCR849v6kLoSuvDVAVwoSce+sph6D/95HGSFfO/XIUQxSateR8D3mKIUzIlRAhAoOn5x1rAs6nlZuFvAAAAABJRU5ErkJggg=="}}]);
|