From 44118d73fdfeefd409c44eab0286c6ae768e6564 Mon Sep 17 00:00:00 2001 From: sws <1141121512@qq.com> Date: Tue, 12 Mar 2024 14:00:04 +0800 Subject: [PATCH] =?UTF-8?q?1.=E8=AE=BE=E7=BD=AE=E6=96=B0=E5=A2=9E=E9=82=AE?= =?UTF-8?q?=E7=AE=B1=E7=BB=91=E5=AE=9A=E5=92=8C=E5=AF=86=E7=A0=81=E9=87=8D?= =?UTF-8?q?=E7=BD=AE=202024.3.11=20sws?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/password/password.css | 1 + pages/password/password.vue | 21 +++++++++++++++++--- pages/plugins/coin/detail/detail.vue | 7 ++++++- pages/plugins/coin/recharge/recharge.vue | 7 ++++++- pages/plugins/coin/withdrawal/withdrawal.vue | 7 ++++++- 5 files changed, 37 insertions(+), 6 deletions(-) diff --git a/pages/password/password.css b/pages/password/password.css index 8414eb7f..92782eeb 100644 --- a/pages/password/password.css +++ b/pages/password/password.css @@ -16,4 +16,5 @@ .eyes { right: 32rpx; top: calc(50% - 12rpx); + z-index: 2; } \ No newline at end of file diff --git a/pages/password/password.vue b/pages/password/password.vue index 68754ba0..00b8ecf1 100644 --- a/pages/password/password.vue +++ b/pages/password/password.vue @@ -8,15 +8,15 @@ - + - + - + @@ -87,6 +87,21 @@ }); } }, + eyes_event(e) { + if (e.currentTarget.dataset.index == '1') { + this.setData({ + eyes1: !this.eyes1, + }); + } else if (e.currentTarget.dataset.index == '2') { + this.setData({ + eyes2: !this.eyes2, + }); + } else { + this.setData({ + eyes3: !this.eyes3, + }); + } + }, formBindPwd(e) { // 数据验证 diff --git a/pages/plugins/coin/detail/detail.vue b/pages/plugins/coin/detail/detail.vue index de29225f..ababd8a8 100644 --- a/pages/plugins/coin/detail/detail.vue +++ b/pages/plugins/coin/detail/detail.vue @@ -8,7 +8,7 @@ - + {{ coin_list[coin_index]['name'] }} @@ -392,6 +392,11 @@ popup_coin_status: false, }); }, + popup_coin_status_open_event() { + this.setData({ + popup_coin_status: !this.popup_coin_status, + }); + }, popup_coin_status_close_event() { this.setData({ popup_coin_status: false, diff --git a/pages/plugins/coin/recharge/recharge.vue b/pages/plugins/coin/recharge/recharge.vue index d54d3359..6d24aa70 100644 --- a/pages/plugins/coin/recharge/recharge.vue +++ b/pages/plugins/coin/recharge/recharge.vue @@ -7,7 +7,7 @@ - + {{ coin_list[coin_index]['name'] }} @@ -270,6 +270,11 @@ popup_coin_status: false, }); }, + popup_coin_status_open_event() { + this.setData({ + popup_coin_status: !this.popup_coin_status, + }); + }, popup_coin_status_close_event() { this.setData({ popup_coin_status: false, diff --git a/pages/plugins/coin/withdrawal/withdrawal.vue b/pages/plugins/coin/withdrawal/withdrawal.vue index 1fb28654..114054f5 100644 --- a/pages/plugins/coin/withdrawal/withdrawal.vue +++ b/pages/plugins/coin/withdrawal/withdrawal.vue @@ -7,7 +7,7 @@ - + {{ coin_list[coin_index]['name'] }} @@ -273,6 +273,11 @@ popup_coin_status: false, }); }, + popup_coin_status_open_event() { + this.setData({ + popup_coin_status: !this.popup_coin_status, + }); + }, popup_coin_status_close_event() { this.setData({ popup_coin_status: false,