diff --git a/pages/plugins/coin/detail/detail.vue b/pages/plugins/coin/detail/detail.vue index 6b759ba2..4ef5d2a3 100644 --- a/pages/plugins/coin/detail/detail.vue +++ b/pages/plugins/coin/detail/detail.vue @@ -137,7 +137,7 @@ wallet_static_url: wallet_static_url, status_bar_height: bar_height, params: null, - data_list_loding_status: 1, + data_list_loding_status: 1, // 虚拟币下拉框探弹窗状态 popup_coin_status: false, @@ -190,6 +190,7 @@ params: params, }); this.coin_oprate_list[1].url = this.coin_oprate_list[1].url + '?id=' + params.id; + this.coin_oprate_list[0].url = this.coin_oprate_list[0].url + '?id=' + params.id; this.init(); }, diff --git a/pages/plugins/coin/transfer/transfer.css b/pages/plugins/coin/transfer/transfer.css index aa4ef1fc..9e22d5da 100644 --- a/pages/plugins/coin/transfer/transfer.css +++ b/pages/plugins/coin/transfer/transfer.css @@ -8,4 +8,10 @@ .transfer-btn:active { background: linear-gradient(107deg, #168ACA 0%, #022A97 100%); +} + +.coin-content-list-img { + --size: 80rpx; + width: var(--size); + height: var(--size) !important; } \ No newline at end of file diff --git a/pages/plugins/coin/transfer/transfer.vue b/pages/plugins/coin/transfer/transfer.vue index aa0fbfdc..62b8f1f8 100644 --- a/pages/plugins/coin/transfer/transfer.vue +++ b/pages/plugins/coin/transfer/transfer.vue @@ -2,12 +2,25 @@ + + + + + + + {{ accounts.platform_name }} + + {{ accounts.platform_symbol }}{{ accounts.normal_coin }} + + + + 收款账号 - + @@ -58,11 +71,10 @@ accounts_static_url: accounts_static_url, accounts_id: null, - accounts_key: null, + receive_accounts_key: null, receive_accounts_id: null, accounts: {}, receive_accounts: {}, - receive_accounts_key: null, coin: null, note: '', // pay_pwd: '', @@ -73,6 +85,10 @@ onLoad(params) { // 调用公共事件方法 app.globalData.page_event_onload_handle(params); + // 设置参数 + this.setData({ + accounts_id: params.id, + }); }, onShow() { @@ -101,7 +117,7 @@ uni.request({ url: app.globalData.get_request_url('createinfo', 'transfer', 'coin'), method: 'POST', - data: { accounts_id: this.accounts_id, accounts_key: this.accounts_key }, + data: { accounts_id: this.accounts_id, accounts_key: this.receive_accounts_key }, dataType: 'json', success: (res) => { uni.stopPullDownRefresh(); @@ -111,6 +127,7 @@ this.setData({ accounts: data.accounts || {}, receive_accounts: data.receive_accounts || {}, + receive_accounts_id: data.receive_accounts ? data.receive_accounts.id : null, }); } else { if (app.globalData.is_login_check(res.data, this, 'get_data')) { @@ -163,7 +180,6 @@ // 立即转账 transfer_event(e) { var new_data = { - receive_accounts_key: this.receive_accounts_key, receive_accounts_id: this.receive_accounts_id, coin: this.coin, note: this.note,