Files
peko-h5/view/peko/modules/squeezePage/css/index.scss
2022-09-08 18:22:18 +08:00

99 lines
1.8 KiB
SCSS

@function px2rem($px, $rem:75) {
@return $px / $rem+rem;
}
@import '../../../common/css/flex.scss';
@font-face {
font-family: 'pingfang';
src: url('../../../common/fonts/PingFang Bold.ttf');
src: url('../../../common/fonts/PingFang Bold.ttf') format('woff'),
url('../../../common/fonts/PingFang Bold.ttf') format('truetype'),
url('../../../common/fonts/PingFang Bold.ttf') format('svg');
}
html,
body {
background: url('../images/box.png');
background-size: 100%;
font-family: 'pingfang';
background: #F9F9F9;
}
.tips {
position: fixed;
top: 0;
left: px2rem(360);
width: px2rem(360);
display: none;
z-index: 99;
background-color: white;
padding: px2rem(20) px2rem(30);
border-radius: px2rem(16);
line-height: 1.5;
box-sizing: border-box;
}
.top {
background: url('../images/top.png') no-repeat;
background-size: cover;
width: px2rem(750);
height: px2rem(116);
position: fixed;
top: 0;
left: 0;
}
.max {
background: url('../images/max.png') no-repeat;
background-size: cover;
width: px2rem(750);
margin-bottom: px2rem(166);
// margin-top: px2rem(116);
height: px2rem(2673);
}
.title {
width: px2rem(750);
height: px2rem(166);
background: url('../images/bottom.png') no-repeat;
background-size: cover;
position: fixed;
bottom: 0;
left: 0;
display: flex;
align-items: center;
img {
width: px2rem(103);
height: px2rem(103);
margin: 0 px2rem(15) 0 px2rem(42);
}
div {
color: #fff;
.nane {
font-size: px2rem(40);
}
.writing {
margin-top: px2rem(14);
font-size: px2rem(28);
}
}
span {
display: block;
width: px2rem(191);
height: px2rem(64);
background: url('../images/down.png') no-repeat;
background-size: cover;
margin-left: px2rem(105);
}
}