(window.webpackJsonp=window.webpackJsonp||[]).push([[49],{531:function(t,e,r){var content=r(640);"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(6).default)("2a9a881e",content,!0,{sourceMap:!1})},638:function(t,e,r){t.exports=r.p+"img/qrcode.ff81878.svg"},639:function(t,e,r){"use strict";r(531)},640:function(t,e,r){(e=r(5)(!1)).push([t.i,".van-ellipsis[data-v-40fece23]{display:block;width:100%}.qrcode-wrap[data-v-40fece23]{text-align:center;border:6px solid #dfeeff;width:220px;height:220px;display:flex;justify-content:center;align-items:center;margin:36px auto}.qrcode-default[data-v-40fece23]{width:200px;height:200px}.addr-wrap[data-v-40fece23]{background-color:#fff;padding:20px 10px}.addr-copy[data-v-40fece23]{margin:20px auto 0;width:95%}.container[data-v-40fece23]{margin-top:10px}.van-cell__right-icon[data-v-40fece23]{font-size:14px}.van-field[data-v-40fece23]{line-height:32px;padding:8px 15px}",""]),t.exports=e},700:function(t,e,r){"use strict";r.r(e);r(69),r(16);var c=r(8),n=r(38);function o(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function l(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?o(Object(source),!0).forEach((function(e){Object(c.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):o(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var d={components:{QrcodeVue:r(526).a},i18n:{messages:{zh:{title:"收款地址",tip:"提示",copy:"复制"},en:{title:" Receipt address",tip:"Tips",copy:"Copy"}}},data:function(){var symbol=this.$route.query.symbol;return{symbol:symbol,data:{},activeSymbol:symbol}},computed:l({},Object(n.d)({currency:function(t){return t.currency}})),created:function(){this.loadData()},methods:l(l({},Object(n.b)({walletAddr:"wallet/walletAddr"})),{},{loadData:function(){var t=this;this.$toast.loading();var e={coin_symbol:this.activeSymbol,curency:this.currency.name};this.walletAddr(e).then((function(e){var data=e.data;return t.data=data})).finally((function(){t.$toast.clear()}))},onCopy:function(){this.$toast("复制成功")},switchTab:function(t){this.loadData()}})},v=(r(639),r(43)),component=Object(v.a)(d,(function(){var t=this,e=t.$createElement,c=t._self._c||e;return c("div",[c("van-nav-bar",{attrs:{title:""+t.symbol+t.$t("title"),"left-arrow":""},on:{"click-left":function(e){return t.$router.back()}}}),t._v(" "),c("div",{staticClass:"container"},[c("van-tabs",{attrs:{type:"card"},on:{click:t.switchTab},model:{value:t.activeSymbol,callback:function(e){t.activeSymbol=e},expression:"activeSymbol"}},[c("van-tab",{attrs:{title:"ERC20",name:"USDT"}}),t._v(" "),c("van-tab",{attrs:{title:"TRC20",name:"USDT-TRC"}})],1),t._v(" "),c("div",{staticClass:"qrcode-wrap"},[t.data.address?c("qrcode-vue",{attrs:{value:t.data.address,size:"180"}}):c("img",{staticClass:"qrcode-default",attrs:{src:r(638)}})],1),t._v(" "),t.data.address?c("div",{staticClass:"addr-wrap"},[c("span",{staticClass:"van-ellipsis"},[t._v(t._s(t.data.address))]),t._v(" "),c("van-button",{directives:[{name:"clipboard",rawName:"v-clipboard:copy",value:t.data.address,expression:"data.address",arg:"copy"},{name:"clipboard",rawName:"v-clipboard:success",value:t.onCopy,expression:"onCopy",arg:"success"}],staticClass:"addr-copy",attrs:{block:"",type:"info"}},[t._v("\n        "+t._s(t.$t("copy"))+"\n      ")])],1):t._e(),t._v(" "),c("van-cell-group",[t.data.memo?c("van-cell",{attrs:{title:t.data.memo_name,label:t.data.memo}}):t._e(),t._v(" "),c("van-cell",{attrs:{title:t.$t("tip"),label:t.data.tips}})],1)],1)],1)}),[],!1,null,"40fece23",null);e.default=component.exports}}]);