pay-sdk-react
Version:
A cross-platform payment SDK for React, supporting Alipay, WeChat Pay, PayPal, Stripe, Payssion, and Airwallex, compatible with H5, PC, and App environments.
63 lines (62 loc) • 1.08 kB
CSS
.pay-mask {
position: fixed;
z-index: 1000;
left: 0;
top: 0;
right: 0;
bottom: 0;
display: flex;
align-items: center;
justify-content: center;
}
.pay-mask-content {
position: relative;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 0 88px;
}
.pay-mask-close {
position: absolute;
right: 12px;
top: 12px;
background: none;
border: none;
font-size: 28px;
color: #fff;
cursor: pointer;
z-index: 1;
}
.pay-mask-title {
display: flex;
align-items: center;
gap: 4px;
font-weight: 700;
font-size: 28px;
color: #fff;
margin-bottom: 16px;
text-shadow: 0 2px 8px #000;
}
.pay-mask-title > .pay-icon-paypal-white {
width: 36px;
height: 36px;
}
.pay-mask-desc {
color: #fff;
text-align: center;
margin-bottom: 24px;
line-height: 1.5;
white-space: pre-line;
}
.pay-mask-continue {
color: #fff;
font-weight: 700;
text-decoration: underline;
text-underline-offset: 4px;
cursor: pointer;
text-align: center;
font-size: 18px;
}