From 92462e1a6b123a62ae5e0afb123e02d1b5f24abc Mon Sep 17 00:00:00 2001 From: zhangziliang <944822596@qq.com> Date: Fri, 22 Nov 2019 16:20:50 +0800 Subject: [PATCH] =?UTF-8?q?#iphone=E5=85=BC=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mine/html/my/charges_that.html | 1 - mine/html/wallet_my.html | 4 ++-- mine/html/wallet_pass_login.html | 14 +++++++++++++- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/mine/html/my/charges_that.html b/mine/html/my/charges_that.html index 4cdba94..9e477c8 100644 --- a/mine/html/my/charges_that.html +++ b/mine/html/my/charges_that.html @@ -9,7 +9,6 @@ - diff --git a/mine/html/wallet_my.html b/mine/html/wallet_my.html index b9b29cb..59ea34a 100644 --- a/mine/html/wallet_my.html +++ b/mine/html/wallet_my.html @@ -150,8 +150,8 @@ vertical-align: text-bottom; margin-right: .23rem; } - - @media only screen and (-webkit-device-pixel-ratio: 3) and (device-height: 812px) and (device-width: 375px) { +/* @media only screen and (-webkit-device-pixel-ratio: 3) and (device-height: 812px) and (device-width: 375px) { */ + @media only screen and (-webkit-device-pixel-ratio: 3) and (device-width: 375px) { .mui-bar-nav~.mui-content { position: absolute; top: .8rem; diff --git a/mine/html/wallet_pass_login.html b/mine/html/wallet_pass_login.html index dcac809..4156fa5 100644 --- a/mine/html/wallet_pass_login.html +++ b/mine/html/wallet_pass_login.html @@ -351,7 +351,19 @@ // getEthWallet(); // sleep(2000); plus.nativeUI.closeWaiting(); - mui.back(); + var cPage = plus.webview.currentWebview(); + var bPage = cPage.opener(); + var aPage = bPage.opener(); + if (aPage && aPage.id) { + setTimeout(function() { + cPage.close(); + bPage.close(); + if (aPage.id == 'wallet_my.html') { + var page = plus.webview.getWebviewById('wallet_my.html'); + page.reload(); + } + }, 500) + } // plus.webview.currentWebview().close(); // mui.toast(dataInfo.langue.WalletLoginSuccessMsg); } else {