Files
peko-h5/view/peko/home/css/index.css
2023-09-18 11:02:31 +08:00

263 lines
4.6 KiB
CSS

body,
html {
width: 100%;
height: 100%;
font-family: "Heiti SC", "Microsoft Sans Serif";
}
.container {
position: relative;
}
@media screen and (min-width: 769px) {
.m-bg {
display: none;
}
.m-bg img {
display: block;
}
.homePc {
width: 100%;
height: 10rem;
background: url(../images/homePc.png) no-repeat;
background-size: 100% 100%;
position: relative;
}
.homePc .charge {
width: 1.11rem;
height: 0.5rem;
background: rgba(255, 255, 255, 0.2);
border-radius: 0.13rem;
font-size: 0.24rem;
color: #fff;
text-align: center;
line-height: 0.5rem;
position: absolute;
top: 0.16rem;
right: 2.77rem;
}
.homePc .googlePlay {
width: 2.2rem;
height: 0.7rem;
position: absolute;
left: 2.4rem;
bottom: 3.4rem;
}
.homePc .appleStore {
width: 2.2rem;
height: 0.7rem;
position: absolute;
left: 2.4rem;
bottom: 2.5rem;
}
.homePc .apk {
width: 2.2rem;
height: 0.7rem;
position: absolute;
left: 2.4rem;
bottom: 1.6rem;
}
.eori {
width: 100%;
background: #30312C;
color: white;
padding: 0.2rem 0;
vertical-align: top;
}
.eori .gongsi {
display: flex;
justify-content: center;
text-align: center;
}
.eori .gongsi p {
font-size: 0.2rem;
}
.eori .gongsi p:nth-child(2) {
margin: 0 0.2rem;
}
}
@media screen and (max-width: 768px) {
body {
background-color: #0C0122;
}
.pc-bg {
display: none;
}
.m-bg {
display: block;
}
.homeM {
width: 100%;
height: 14.89rem;
background: url(../images/homeM.png) no-repeat;
background-size: 100% 100%;
position: relative;
}
.homeM .charge {
width: 1.11rem;
height: 0.5rem;
background: rgba(255, 255, 255, 0.2);
border-radius: 0.13rem;
font-size: 0.24rem;
color: #fff;
text-align: center;
line-height: 0.5rem;
position: absolute;
top: 0.2rem;
right: 0.4rem;
}
.homeM .swiper {
width: 100%;
height: 8.6rem;
position: absolute;
top: 4.8rem;
overflow: hidden;
}
.homeM .swiper .swiper-wrapper {
width: 60%;
height: 100%;
}
.homeM .swiper .swiper-wrapper .swiper-slide img {
width: 100%;
height: 100%;
}
.homeM .swiper .swiper-wrapper .swiper-slide-prev {
width: 100%;
height: 90%;
margin-top: 0.6rem;
}
.homeM .swiper .swiper-wrapper .swiper-slide-next {
width: 100%;
height: 90%;
margin-top: 0.6rem;
}
.homeM .logo {
position: absolute;
bottom: 0.6rem;
left: 0;
width: 100%;
display: flex;
justify-content: space-evenly;
}
.homeM .logo img {
width: 2.2rem;
height: 0.7rem;
}
.button-wrapper {
display: block;
position: absolute;
left: 1.28rem;
top: 17.52rem;
width: 7.4666666667rem;
height: 1.2266666667rem;
}
.button-wrapper a {
display: inline-block;
width: 100%;
height: 100%;
}
.button2-wrapper {
display: block;
position: absolute;
left: 3.0933333333rem;
bottom: 1.7066666667rem;
width: 4rem;
height: 0.8rem;
background: rgba(255, 255, 255, 0);
}
.button2-wrapper a {
display: inline-block;
width: 100%;
height: 100%;
}
.m-button {
display: block;
}
.text-wrapper {
padding-left: 0;
width: 90%;
margin-left: -45%;
padding-top: 108px;
}
.text-wrapper .text .txt1 {
margin-bottom: 10px;
}
.text-wrapper .text1,
.text-wrapper p {
text-align: center;
}
.eori {
width: 100%;
background: #30312C;
color: white;
padding: 0.2rem 0;
}
.eori .recordfoot {
color: #fff;
display: flex;
justify-content: center;
align-items: center;
}
.eori .recordfoot .record {
display: inline-block;
padding-right: 0.0533333333rem;
height: 0.3733333333rem;
width: 0.4266666667rem;
background: url(../images/icon_police.png) no-repeat;
}
.eori .gongsi {
display: block;
text-align: center;
}
.eori .gongsi p {
line-height: 1.3;
font-size: 0.2rem;
}
.eori .gongsi p:nth-child(2) {
margin: 0;
}
.eori .tit {
height: 1.6rem;
line-height: 1.6rem;
text-align: center;
font-size: 20px;
}
}
.toast {
background: rgba(0, 0, 0, 0.9);
border-radius: 10px;
width: 100px;
font-size: 16px;
position: fixed;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
color: #fff;
height: 40px;
line-height: 40px;
text-align: center;
display: none;
z-index: 9;
}
.tips {
display: none;
position: fixed;
top: 0;
right: 0.2666666667rem;
width: 6.1333333333rem;
z-index: 9;
}
/*# sourceMappingURL=index.css.map */