diff --git a/assets/scss/app.scss b/assets/scss/app.scss index a0cb320..dad8ad2 100644 --- a/assets/scss/app.scss +++ b/assets/scss/app.scss @@ -592,12 +592,12 @@ navigator { .lb-picker-content { background-color: $panel-4 !important; } -.uni-picker-view-mask { - background: var(--picker-mask); - background-position: top, bottom; - background-size: 100% 102px; - background-repeat: no-repeat; -} +// .uni-picker-view-mask { +// background: var(--picker-mask); +// background-position: top, bottom; +// background-size: 100% 102px; +// background-repeat: no-repeat; +// } .lb-picker-action-confirm-text { color: $green !important; } diff --git a/i18n/lang/en.json b/i18n/lang/en.json index b8d4f4c..71aeb04 100644 --- a/i18n/lang/en.json +++ b/i18n/lang/en.json @@ -68,7 +68,8 @@ "c4": "Size", "c5": "your transfer order has been submitted successfully, please wait patiently, and the transfer result will be notified by SMS or e-mail. Please check it carefully. If you have any questions, please contact the customer service in time.", "c6": "Proportion of increase", - "c7": "Current valuation" + "c7": "Current valuation", + "withdrawals":"Please select the withdrawal address" }, "base": { "a0": "Title", diff --git a/i18n/lang/zh-TW.json b/i18n/lang/zh-TW.json index c233101..33dff4b 100644 --- a/i18n/lang/zh-TW.json +++ b/i18n/lang/zh-TW.json @@ -67,7 +67,8 @@ "c3": "可開", "c4": "數量", "c5": "您的劃轉訂單已提交成功,請耐心等待,劃轉結果會以簡訊或郵件的管道通知。請注意查收,如有疑問請及時聯系客服", - "c6": "漲幅比例" + "c6": "漲幅比例", + "withdrawals":"請選擇提幣地址" }, "base": { "a0": "標題", diff --git a/pages/assets/address-list.vue b/pages/assets/address-list.vue index 473833b..accf711 100644 --- a/pages/assets/address-list.vue +++ b/pages/assets/address-list.vue @@ -51,9 +51,10 @@ - + {{ $t("assets.b6") @@ -252,10 +281,12 @@ export default { page: 1, loadMore: true, secondaryShow: false, - type: 'draw', - getEmailCodeLock: false, - JStime: 0, - tiemr: null, + type: 'draw', + getEmailCodeLock: false, + JStime: 0, + tiemr: null, + indexs:null, + list2:[] }; }, computed: { @@ -280,6 +311,7 @@ export default { this.rechargeType = 2; } this.withdrawalBalance(); + this.getUserWithdrawAdress() } }, }, @@ -294,6 +326,30 @@ export default { }) }, methods: { + getUserWithdrawAdress() { + this.list2=[] + Wallet.getUserWithdrawAdress().then((res) => { + res.data.map((item)=>{ + if(this.coin==item.coin_name&&item.list.length!==0){ + this.list2=[] + item.list.map((items)=>{ + this.list2.push(items.address) + }) + }else{ + this.list2=[] + this.list2.push('Please add the withdrawal address first') + } + }) + }); + }, + onvisible(){ + this.visible = true + }, + bindPickerChange(e) { + console.log('picker发送选择改变,携带值为', e.detail) + this.indexs = e.detail.value + this.form.address = this.list2[e.detail.value] + }, saoma() { let that = this; uni.scanCode({ @@ -451,6 +507,9 @@ export default { created() { this.getWithdrawRecords(); }, + onLoad() { + uni.setLocale('en') + } };