From a1928e2bc9788763ee9e99a5873e27719dba9a05 Mon Sep 17 00:00:00 2001 From: yixian Date: Fri, 10 Apr 2020 18:30:39 +0800 Subject: [PATCH] ui update --- src/main/ui/static/css/cardpay.css | 11 +++++++++++ src/main/ui/static/templates/payment/v1/card_pay.js | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/main/ui/static/css/cardpay.css b/src/main/ui/static/css/cardpay.css index de5d4d11a..aa35dec7b 100644 --- a/src/main/ui/static/css/cardpay.css +++ b/src/main/ui/static/css/cardpay.css @@ -122,6 +122,17 @@ section.content { right: 30px; } +.ready-modal { + position: absolute; + width: 100%; + height: 100%; + text-align: center; + background: rgba(38, 38, 38, 0.5); + z-index: 9999; + color: white; + padding-top: 150px; +} + .qrpay-container .btn{ border-radius: 0; } diff --git a/src/main/ui/static/templates/payment/v1/card_pay.js b/src/main/ui/static/templates/payment/v1/card_pay.js index 425a6a31a..725460eb4 100644 --- a/src/main/ui/static/templates/payment/v1/card_pay.js +++ b/src/main/ui/static/templates/payment/v1/card_pay.js @@ -27,7 +27,7 @@ $(function () { }; cardFrame.onReady = function(){ $('#readyModal').hide() - } + }; cardFrame.onError = function (msg) { $('#errorMsgBox').text(msg).show(); };