This commit is contained in:
Dragon
2024-01-22 15:04:08 +08:00
parent 5e029a3c04
commit 8da092a707
54 changed files with 2521 additions and 1016 deletions

View File

@@ -1,252 +1,92 @@
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/homePc2.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: .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: .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 {
body,
html {
width: 100%;
height: 100%;
background: #0E0B24;
font-family: Avenir, Avenir;
}
.homeM .swiper .swiper-wrapper .swiper-slide-prev {
body .pc,
html .pc {
width: 100%;
height: 90%;
margin-top: 0.6rem;
height: 100%;
background: url(../images/pcBg.png) no-repeat center;
background-size: 25.6rem 14.4rem;
position: relative;
}
.homeM .swiper .swiper-wrapper .swiper-slide-next {
body .pc .header,
html .pc .header {
width: 100%;
height: 90%;
margin-top: 0.6rem;
}
.homeM .logo {
height: 1.44rem;
position: absolute;
bottom: 0.6rem;
left: 0;
width: 100%;
display: flex;
justify-content: space-evenly;
top: 0;
}
.homeM .logo img {
width: 2.2rem;
height: 0.7rem;
}
.button-wrapper {
display: block;
body .pc .header .logo,
html .pc .header .logo {
width: 0.72rem;
height: 0.72rem;
position: absolute;
left: 1.28rem;
top: 17.52rem;
width: 7.46667rem;
height: 1.22667rem;
top: 0.36rem;
left: 4.8rem;
}
.button-wrapper a {
display: inline-block;
width: 100%;
body .pc .header .name,
html .pc .header .name {
height: 100%;
}
.button2-wrapper {
display: block;
line-height: 1.44rem;
font-size: 0.53333rem;
color: #FFFFFF;
font-weight: 800;
position: absolute;
left: 3.09333rem;
bottom: 1.70667rem;
width: 4rem;
height: 0.8rem;
background: rgba(255, 255, 255, 0);
top: 0;
left: 5.73333rem;
}
.button2-wrapper a {
display: inline-block;
width: 100%;
body .pc .header .index,
html .pc .header .index {
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 {
line-height: 1.44rem;
font-family: PingFangSC, PingFang SC;
color: fff;
font-weight: 500;
position: absolute;
top: 0;
left: 8.76rem;
font-size: 0.37333rem;
color: #fff;
display: flex;
justify-content: center;
align-items: center;
}
.eori .recordfoot .record {
body .pc .header .index span,
html .pc .header .index span {
width: 0.37333rem;
height: 0.08rem;
background: #9168FA;
border-radius: 0.08rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 1.01333rem;
}
body .pc .header .diamound,
html .pc .header .diamound {
width: 1.57333rem;
height: 0.64rem;
line-height: 0.64rem;
color: #FFFFFF;
font-size: 0.32rem;
text-align: center;
background: rgba(255, 255, 255, 0.2);
border-radius: 0.64rem;
box-sizing: border-box;
border: 1px solid #fff;
position: absolute;
right: 5.06667rem;
top: 0.4rem;
vertical-align: middle;
}
body .pc .header .diamound img,
html .pc .header .diamound img {
display: inline-block;
padding-right: 0.05333rem;
height: 0.37333rem;
width: 0.42667rem;
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;
width: 0.4rem;
height: 0.4rem;
vertical-align: middle;
}
}
.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.26667rem;
width: 6.13333rem;
z-index: 9;
}

View File

@@ -2,335 +2,107 @@
@return $px / 75+rem;
}
body,
html {
width: 100%;
height: 100%;
font-family: "Heiti SC", "Microsoft Sans Serif";
//overflow: hidden;
}
.container {
position: relative;
}
// body,
// html {
// width: 100%;
// height: 100%;
// font-family: "Heiti SC", "Microsoft Sans Serif";
// }
// pc端
@media screen and (min-width:769px) {
.m-bg {
display: none;
img {
display: block;
}
}
.homePc {
body,
html {
width: 100%;
height: 10rem;
background: url(../images/homePc2.png) no-repeat;
background-size: 100% 100%;
position: relative;
height: 100%;
background: #0E0B24;
font-family: Avenir, Avenir;
.charge {
width: 1.11rem;
height: 0.5rem;
background: rgba(255, 255, 255, 0.2);
border-radius: .13rem;
font-size: 0.24rem;
color: #fff;
text-align: center;
line-height: 0.5rem;
position: absolute;
top: 0.16rem;
right: 2.77rem;
}
.googlePlay {
width: 2.2rem;
height: 0.7rem;
position: absolute;
left: 2.4rem;
bottom: 3.4rem;
}
.appleStore {
width: 2.2rem;
height: 0.7rem;
position: absolute;
left: 2.4rem;
bottom: 2.5rem;
}
.apk {
width: 2.2rem;
height: 0.7rem;
position: absolute;
left: 2.4rem;
bottom: 1.6rem;
}
}
.eori {
// height: 1.2rem;
width: 100%;
background: #30312C;
color: rgb(255, 255, 255);
padding: 0.2rem 0;
vertical-align: top;
// position: absolute;
// top: 0.8rem;
.gongsi {
display: flex;
justify-content: center;
text-align: center;
p {
font-size: 0.2rem;
&: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%;
// width: px2rem(750);
// height: px2rem(1489);
// height: 19.88rem;
height: 14.89rem;
background: url(../images/homeM.png) no-repeat;
background-size: 100% 100%;
position: relative;
.charge {
width: 1.11rem;
height: 0.5rem;
background: rgba(255, 255, 255, 0.2);
border-radius: .13rem;
font-size: 0.24rem;
color: #fff;
text-align: center;
line-height: 0.5rem;
position: absolute;
top: 0.2rem;
right: 0.4rem;
// left: 50%;
// transform: translateX(-50%);
}
.swiper {
.pc {
width: 100%;
height: 8.6rem;
position: absolute;
top: 4.8rem;
overflow: hidden;
height: 100%;
background: url(../images/pcBg.png) no-repeat center;
background-size: px2rem(1920) px2rem(1080);
position: relative;
.swiper-wrapper {
width: 60%;
height: 100%;
.header {
width: 100%;
height: px2rem(108);
position: absolute;
left: 0;
top: 0;
.swiper-slide {
img {
width: 100%;
height: 100%;
.logo {
width: px2rem(54);
height: px2rem(54);
position: absolute;
top: px2rem(27);
left: px2rem(360);
}
.name {
height: 100%;
line-height: px2rem(108);
font-size: px2rem(40);
color: #FFFFFF;
font-weight: 800;
position: absolute;
top: 0;
left: px2rem(430);
}
.index {
height: 100%;
line-height: px2rem(108);
font-family: PingFangSC, PingFang SC;
color: fff;
font-weight: 500;
position: absolute;
top: 0;
left: px2rem(657);
font-size: px2rem(28);
color: #fff;
span {
width: px2rem(28);
height: px2rem(6);
background: #9168FA;
border-radius: px2rem(6);
position: absolute;
left: 50%;
transform: translateX(-50%);
top: px2rem(76);
}
}
.swiper-slide-prev {
width: 100%;
height: 90%;
margin-top: 0.6rem;
}
.diamound {
width: px2rem(118);
height: px2rem(48);
line-height: px2rem(48);
color: #FFFFFF;
font-size: px2rem(24);
text-align: center;
background: rgba(255, 255, 255, 0.2);
border-radius: px2rem(48);
box-sizing: border-box;
border: 1px solid #fff;
position: absolute;
right: px2rem(380);
top: px2rem(30);
vertical-align: middle;
.swiper-slide-next {
width: 100%;
height: 90%;
margin-top: 0.6rem;
img {
display: inline-block;
width: px2rem(30);
height: px2rem(30);
vertical-align: middle;
}
}
}
}
.logo {
position: absolute;
bottom: 0.6rem;
left: 0;
width: 100%;
display: flex;
justify-content: space-evenly;
img {
width: 2.2rem;
height: 0.7rem;
}
}
}
.button-wrapper {
display: block;
position: absolute;
left: px2rem(96);
top: px2rem(1314);
width: px2rem(560);
height: px2rem(92);
a {
display: inline-block;
width: 100%;
height: 100%;
}
}
.button2-wrapper {
display: block;
position: absolute;
left: px2rem(232);
// top: px2rem(1208);
bottom: px2rem(128);
width: px2rem(300);
height: px2rem(60);
background: rgba(255, 255, 255, 0);
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 {
.txt1 {
margin-bottom: 10px;
}
}
.text1,
p {
text-align: center;
}
}
.eori {
// height: 1.2rem;
width: 100%;
background: #30312C;
color: rgb(255, 255, 255);
padding: 0.2rem 0;
// position: absolute;
// top: 0.75rem;
.recordfoot {
color: #fff;
display: flex;
justify-content: center;
align-items: center;
.record {
display: inline-block;
padding-right: px2rem(4);
height: px2rem(28);
width: px2rem(32);
background: url(../images/icon_police.png) no-repeat;
}
}
.gongsi {
display: block;
text-align: center;
p {
line-height: 1.3;
font-size: 0.2rem;
&:nth-child(2) {
margin: 0;
}
}
}
// div {
// // height: 30px;
// width: 100%;
// text-align: center;
// // line-height: 30px;
// font-size: 14px;
// }
.tit {
height: px2rem(120);
line-height: px2rem(120);
text-align: center;
font-size: 20px;
}
}
}
// @media screen and (max-width:375px) {
// .text-wrapper {
// bottom: 0px;
// }
// .button-wrapper,
// .button-wrapper {
// display: block;
// }
// }
.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: px2rem(20);
width: px2rem(460);
z-index: 9;
}
// 移动端
@media screen and (max-width:768px) {}