diff --git a/src/main/ui/static/css/cardpay.css b/src/main/ui/static/css/cardpay.css index aa35dec7b..31ba46dd0 100644 --- a/src/main/ui/static/css/cardpay.css +++ b/src/main/ui/static/css/cardpay.css @@ -1,188 +1,98 @@ -.qrpay-background { - position: fixed; - background: #f2f2f2; - top: 0; - bottom: 0; - right: 0; - left: 0; - z-index: -1; -} - -section.content { - position: absolute; - top: 70px; - bottom: 64px; +.logo-container { width: 100%; - overflow: auto; - left: 0; -} - -.qrpay-container { - width: 700px; - position: relative; - display: block; - margin: 40px auto; - background: #fff; - overflow: visible; - box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.30); -} - -.qrpay-container .qr-brand { - width: 100%; - height: 80px; - padding-top: 20px; -} - -.qrpay-container .qr-brand.wechat { - background: #09bb07; -} - -.qrpay-container .qr-brand.alipay { - background: #1eabeb; -} - -.qrpay-container .qr-brand > .wechat-logo { - display: block; - margin: auto; - height: 40px; -} - -.qrpay-container .price-box { - position: relative; - display: block; - margin: 15px auto; - width: 240px; -} - -.qrpay-container .price-box:after { - content: ''; - display: block; - clear: both; -} - -.qrpay-container .price-box .exchange-rate { - font-size: 16px; - display: block; -} - -.qrpay-container .price-box .price { - font-size: 22px; - float: left; - line-height: 28px; -} - -.qrpay-container .price-box .price-left { - font-weight: bold; - border-right: 2px solid #666; - padding-right: 10px; + text-align: center; + padding: 30px 0px; } -.qrpay-container .price-box .price-right { - padding-left: 10px; - width: 49%; - white-space: nowrap; - text-align: left; +.logo { + width: 137px; + height: 29px; } -.qrpay-container .card-input-box { - width: 100%; +.price { + color: #FF6600; + letter-spacing: 0; text-align: center; - border: none; + margin-top: 15px; } -.qrpay-container .qrcode-img { - width: 140px; - height: 140px; - position: relative; - display: block; - margin: auto; +.card-pay-table { + padding: 15px; } -.qrpay-container .qr-footer { - position: relative; - bottom: 0; - border-radius: 0 0 10px 10px; - width: 100%; - padding: 10px; - background: #f7f7f7; - color: #000; +.card-pay-title { + font-size: 14px; + color: #9B9B9B; + letter-spacing: 0; } -.qrpay-container .qr-footer .form-group { - margin-bottom: 2px; - font-size: 12px; - line-height: 12px; +.card-pay-content { + font-size: 14px; + color: #202020; + letter-spacing: 0; } -.qrpay-container .qr-desc { - position: absolute; - height: 150px; - z-index: 999; - top: 140px; - right: 30px; +.row-height { + margin-bottom: 10px; } -.ready-modal { - position: absolute; +.card-pay-footer { + position: fixed; + font-family: PingFangSC-Regular; + font-size: 14px; + color: #DDDDDD; + letter-spacing: 0; + bottom: 15px; 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; -} - -#footer { - position: absolute; - width: 100%; - bottom: 0; } -@media (max-width: 997px) { - section.content { +@media screen and (max-width: 768px) { + .form-container { width: 100%; - position: relative; - bottom: 0; - top: 0; - overflow: visible; + padding: 22px 20px; } - .qrpay-container { + .form-content { width: 100%; } - - #footer { - position: relative; + .card-pay-table-container { + width: 100%; + margin: 0 auto; } - .qr-desc { - display: none; + .card-line { + width: 92%; + margin: 0 auto; + border-bottom: 1px solid #DDDDDD; } } -@media (min-width: 768px) { - .dl-horizontal dd { - margin-left: 180px; - line-height: 32px; +@media screen and (min-width: 768px) { + .form-container { + width: 50%; + margin: 0 auto; + padding: 22px 20px; } -} -@media (min-width: 768px) { - .dl-horizontal dt { - float: left; - width: 160px; - overflow: hidden; - clear: left; - text-align: right; - text-overflow: ellipsis; - white-space: nowrap; - line-height: 32px; + .form-content { + width: 50%; + margin: 0 auto; + } + .card-pay-table-container { + width: 40%; + margin: 0 auto; } -} + .card-line { + width:100%; + margin: 0 auto; + border-bottom: 1px solid #DDDDDD; + } +} +.card-input-box { + width: 100%; + text-align: center; + border: none; +} \ No newline at end of file