Files
peko-h5/view/peko/modules/payPc/css/index.scss
2022-11-14 10:01:40 +08:00

442 lines
12 KiB
SCSS

@import '../../../common/css/flex.scss';
@function px2rem($px, $rem: 75) {
@return $px / $rem+rem;
}
// // 隐藏横向滚动条
// * {
// scrollbar-width: none; /* Firefox */
// -ms-overflow-style: none; /* IE 10+ */
// &::-webkit-scrollbar {
// display: none;
// } /* Chrome Safari */
// }
body,
html {
height: 100%;
background: #F3F5FA;
overflow-x: hidden;
.logingActive {
position: fixed;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
// min-width: 2rem;
width: 50%;
height: 1rem;
line-height: 1rem;
font-size: px2rem(36, );
text-align: center;
border-radius: px2rem(10, );
color: #fff;
background: rgba(0, 0, 0, .6);
z-index: 999;
padding: 0 px2rem(15, );
display: none;
}
.wx_skip {
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
background: rgba(0, 0, 0, .8);
z-index: 9999999999;
display: none;
img {
width: 80%;
height: 5.373333rem;
position: absolute;
left: 50%;
top: 5%;
transform: translateX(-50%);
}
}
.header {
width: 19.2rem;
height: 10rem;
margin: 0 auto;
background: url(../images/payBg.png) no-repeat;
background-size: 100%;
.header_top {
// width: 20%;
height: 0.8rem;
line-height: 0.8rem;
box-sizing: border-box;
display: flex;
padding-top: 1.38rem;
padding-left: 2.4rem;
img {
// width: 80px;
// height: 80px;
// margin-right: 10px;
width: 0.8rem;
height: 0.8rem;
margin-right: 0.2rem;
}
b {
color: #ffffff;
// font-size: 28px;
font-size: 0.28rem;
}
}
.main {
width: 14.4rem;
height: 7.26rem;
background: #FFFFFF;
border-radius: 0.18rem 0.18rem 0.18rem 0.18rem;
margin: 1rem auto 0;
position: relative;
.user {
width: 4rem;
// height: 0.38rem;
background: #F0F5F6;
border-radius: 0.4rem;
outline: none;
border: none;
box-sizing: border-box;
padding: 0.2rem 0.4rem;
// text-align: center;
font-size: 0.12rem;
display: inline-block;
margin: 0.43rem 0 0 0.5rem;
}
input::-webkit-input-placeholder {
/*WebKit browsers*/
font-size: 0.12rem;
}
.area {
position: absolute;
right: 0.8rem;
top: 0.6rem;
display: flex;
img {
width: 0.22rem;
height: 0.22rem;
}
b {
// width: 0.32rem;
height: 0.22rem;
font-size: 0.16rem;
color: #1F1A4E;
line-height: 0.22rem;
}
}
.pay_method {
// width: 13.04rem;
width: 12.8rem;
// height: 1.34rem;
margin: 0.5rem auto;
p {
font-size: 0.2rem;
color: #1F1A4E;
font-weight: 500;
width: 100%;
height: 0.4rem;
}
/*禁止复制*/
.no_copy {
-moz-user-select: -moz-none;
-moz-user-select: none;
-o-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
.methodBox {
width: 100%;
height: 1.4rem;
display: flex;
flex-wrap: nowrap;
overflow-x: scroll;
&::-webkit-scrollbar {
display: none;
/* Chrome Safari */
width: 0;
}
.methods {
display: flex;
flex-wrap: nowrap;
span {
width: 1.84rem;
height: 0.96rem;
background: #F0F5F6;
border-radius: 0.06rem;
position: relative;
margin-right: 0.4rem;
// box-sizing: border-box;
img {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 0.78rem;
height: 0.78rem;
border-radius: 50%;
}
p {
color: #B3B3C3;
font-size: 0.1rem;
width: 100%;
height: 0.2rem;
text-align: center;
position: absolute;
left: 0;
top: 1rem;
white-space: nowrap;
}
}
.active {
// border: 2px solid #BB43FF;
// box-sizing: border-box;
background: url(../images/active.png) no-repeat;
background-size: 100% 100%;
p {
color: #9168FA;
}
}
}
}
}
.pay_number {
width: 12.8rem;
margin: 0 auto;
p {
font-size: 0.2rem;
color: #1F1A4E;
font-weight: 500;
width: 100%;
height: 0.4rem;
}
/*禁止复制*/
.no_copy {
-moz-user-select: -moz-none;
-moz-user-select: none;
-o-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
.number {
width: 100%;
height: 0.96rem;
display: flex;
flex-wrap: nowrap;
overflow-x: scroll;
&::-webkit-scrollbar {
display: none;
/* Chrome Safari */
width: 0;
}
span {
display: block;
min-width: 1.84rem;
height: 0.96rem;
background: #F0F5F6;
border-radius: 0.08rem;
position: relative;
margin-right: 0.4rem;
// margin-bottom: px2rem(40, );
b {
position: absolute;
color: #1F1A4E;
font-size: 0.2rem;
left: 50%;
transform: translateX(-50%);
top: 0.25rem;
white-space: nowrap;
}
i {
position: absolute;
color: #6D6B89;
font-size: 0.13rem;
left: 50%;
transform: translateX(-50%);
bottom: 0.25rem;
font-style: normal;
}
}
.active {
background: url(../images/active.png) no-repeat;
background-size: 100% 100%;
}
}
}
.but1 {
width: 4.74rem;
height: 0.77rem;
color: #B3B3C3;
font-size: 0.24rem;
border-radius: 0.1rem;
line-height: 0.77rem;
margin: 0.7rem 0 0 0.7rem;
text-align: center;
// background: url('../images/noBut.png') no-repeat;
// background-size: 100% 100%;
background: #E6E6F0;
}
.but2 {
width: 4.74rem;
height: 0.77rem;
color: #FFFFFF;
font-size: 0.24rem;
border-radius: 0.1rem;
line-height: 0.77rem;
margin: 0.7rem 0 0 0.7rem;
text-align: center;
// background: url('../images/but.png') no-repeat;
// background-size: 100% 100%;
background: linear-gradient(255deg, #CC66FF 1%, #9CB3FF 52%, #13E2F5 100%);
;
display: none;
}
}
}
.footer {
width: 19.2rem;
height: 0.6rem;
line-height: 0.6rem;
background-color: #313229;
display: flex;
justify-content: center;
font-size: 0.2rem;
color: #fff;
p {
&:nth-child(2) {
margin: 0 0.2rem;
}
}
}
.pop_up {
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
background: rgba(0, 0, 0, .6);
z-index: 99;
display: none;
.pop_up_in {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: px2rem(600, );
min-height: 2.933333rem;
background: #fff;
border-radius: px2rem(24, );
text-align: center;
font-size: px2rem(32, );
color: #333;
b {
width: 100%;
height: px2rem(116, );
line-height: px2rem(116, );
}
p {
width: 100%;
height: px2rem(80, );
line-height: px2rem(80, );
border-top: 1px solid #ccc;
}
}
}
.stance {
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
background: #fff;
z-index: 999;
display: none;
.picture {
width: px2rem(600, );
height: px2rem(600, );
background: url(../images/null.png) no-repeat;
background-size: 100% 100%;
position: absolute;
left: 50%;
top: 40%;
transform: translate(-50%, -50%);
position: relative;
span {
font-size: 0.64rem;
color: #999999;
position: absolute;
left: 50%;
bottom: -1.5rem;
transform: translateX(-56%);
width: 100%;
white-space: nowrap;
}
}
}
}
input::-webkit-input-placeholder {
/* placeholder颜色 */
color: #929198;
/* placeholder字体大小 */
font-size: px2rem(24, );
/* placeholder位置 */
text-align: center;
}