适配官网

This commit is contained in:
Dragon
2024-01-24 20:10:25 +08:00
parent ebc54bd4a0
commit 6a84f98e41
33 changed files with 525 additions and 476 deletions

View File

@@ -6,156 +6,86 @@
html {
width: 100%;
height: 100%;
background: #0E0B24;
background: linear-gradient(180deg, #302286 0%, #0E0B24 100%);
font-family: Avenir, Avenir;
cursor: pointer;
}
body .pc,
html .pc {
width: 25.6rem;
height: 100%;
background: url(../images/pcBg.png) no-repeat center;
background-size: 25.6rem 14.4rem;
body .container,
html .container {
position: relative;
margin: 0 auto 0;
display: block;
}
body .pc .header,
html .pc .header {
body .homePc,
html .homePc {
width: 100%;
height: 1.44rem;
position: absolute;
left: 0;
top: 0;
height: 10rem;
background: url(../images/pcBgBig.png) no-repeat;
background-size: 100% 100%;
position: relative;
}
body .pc .header .logo,
html .pc .header .logo {
width: 0.72rem;
height: 0.72rem;
position: absolute;
top: 0.36rem;
left: 4.8rem;
}
body .pc .header .name,
html .pc .header .name {
height: 100%;
line-height: 1.44rem;
font-size: 0.53333rem;
color: #FFFFFF;
font-weight: 800;
position: absolute;
top: 0;
left: 5.73333rem;
}
body .pc .header .index,
html .pc .header .index {
height: 100%;
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;
}
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;
body .homePc .diamound,
html .homePc .diamound {
width: 1.46667rem;
height: 0.53333rem;
line-height: 0.46667rem;
color: #FFFFFF;
font-size: 0.32rem;
text-align: center;
background: rgba(255, 255, 255, 0.2);
border-radius: 0.64rem;
border-radius: 0.53333rem;
box-sizing: border-box;
border: 1px solid #fff;
position: absolute;
right: 5.06667rem;
top: 0.4rem;
right: 3.46667rem;
top: 0.30667rem;
vertical-align: middle;
}
body .pc .header .diamound img,
html .pc .header .diamound img {
body .homePc .diamound img,
html .homePc .diamound img {
display: inline-block;
width: 0.4rem;
height: 0.4rem;
vertical-align: middle;
margin-top: -0.01rem;
}
body .pc .pcMarket1,
html .pc .pcMarket1 {
width: 9.32rem;
height: 9.10667rem;
body .homePc .pcIos,
html .homePc .pcIos {
width: 2.9rem;
height: 0.64rem;
position: absolute;
left: 4.61333rem;
top: 2.77333rem;
right: 5rem;
top: 5.855rem;
}
body .pc .pcText,
html .pc .pcText {
width: 5.30667rem;
height: 1.6rem;
body .homePc .pcAnd,
html .homePc .pcAnd {
width: 2.9rem;
height: 0.64rem;
position: absolute;
left: 14.56rem;
top: 5.38667rem;
right: 5rem;
top: 6.79rem;
}
body .pc .pcIos,
html .pc .pcIos {
width: 3.38667rem;
height: 0.77333rem;
position: absolute;
left: 14.54667rem;
top: 8.13333rem;
}
body .pc .pcAnd,
html .pc .pcAnd {
width: 3.38667rem;
height: 0.77333rem;
position: absolute;
left: 14.54667rem;
top: 9.30667rem;
}
body .pc .code,
html .pc .code {
width: 2.13333rem;
height: 2.21333rem;
position: absolute;
left: 18.30667rem;
top: 8rem;
}
body .pc .bottom,
html .pc .bottom {
text-align: center;
color: #B7B6BE;
font-size: 0.21333rem;
body .bootom,
html .bootom {
width: 100%;
padding: 0.38667rem 0;
position: fixed;
left: 0;
bottom: 0;
background: #0E0B24;
min-height: 1rem;
background: #0F0B27;
text-align: center;
color: #fff;
padding-bottom: 0.2rem;
padding-top: 0.1rem;
}
body .pc .bottom p,
html .pc .bottom p {
margin-bottom: 0.21333rem;
body .bootom p,
html .bootom p {
margin-bottom: 0.1rem;
font-size: 0.15rem;
color: #B8B7BF;
}
}
@media screen and (max-width: 768px) {
.pc {
.pc,
.homePc {
display: none;
}
body,
@@ -215,7 +145,7 @@
font-size: 0.32rem;
float: right;
margin-top: 0.05333rem;
margin-right: 1.06667rem;
margin-right: 0.42667rem;
text-align: center;
border-radius: 0.74667rem;
}
@@ -246,45 +176,51 @@
html .h5 .pagesBox {
width: 100%;
height: 100%;
transition: all .4s;
transition: all .5s;
transform: translateY(0%);
}
body .h5 .pagesBox .page1,
html .h5 .pagesBox .page1 {
width: 100%;
height: 100%;
background: url(../images/h51.png) no-repeat;
background-size: 100% 100%;
position: relative;
overflow: hidden;
background: url(../images/h51.png) no-repeat center;
background-size: 10rem 100%;
}
body .h5 .pagesBox .page1 .pageTxte1,
html .h5 .pagesBox .page1 .pageTxte1 {
width: 6.42667rem;
height: 3.04rem;
position: relative;
top: 5.25333rem;
margin: 0 auto;
display: block;
height: 1.33333rem;
position: absolute;
left: 1.44rem;
top: 5.01333rem;
}
body .h5 .pagesBox .page1 .pageTxte2,
html .h5 .pagesBox .page1 .pageTxte2 {
width: 6.42667rem;
height: 1.33333rem;
position: absolute;
right: 1.44rem;
top: 6.77333rem;
}
body .h5 .pagesBox .page1 .downioad,
html .h5 .pagesBox .page1 .downioad {
width: 6.58667rem;
height: 1.38667rem;
width: 4.98667rem;
height: 1.22667rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 3.41333rem;
bottom: 2.96rem;
display: block;
}
body .h5 .pagesBox .page1 .down,
html .h5 .pagesBox .page1 .down {
width: 0.85333rem;
height: 0.64rem;
width: 0.50667rem;
height: 0.37333rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 0.96rem;
left: 48%;
bottom: 0.26667rem;
}
body .h5 .pagesBox .page2,
html .h5 .pagesBox .page2 {
@@ -295,56 +231,56 @@
}
body .h5 .pagesBox .page2 .pageText2,
html .h5 .pagesBox .page2 .pageText2 {
width: 5.94667rem;
height: 1.52rem;
width: 10rem;
height: 10.85333rem;
position: relative;
top: 2.8rem;
top: 3.44rem;
margin: 0 auto;
display: block;
display: none;
}
body .h5 .pagesBox .page2 .page2_in,
html .h5 .pagesBox .page2 .page2_in {
width: 10rem;
height: 10.72rem;
height: 11.65333rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 2.58667rem;
top: 2.50667rem;
}
body .h5 .pagesBox .page2 .pagetx1,
html .h5 .pagesBox .page2 .pagetx1 {
width: 4.02667rem;
width: 6.34667rem;
height: 4.10667rem;
position: absolute;
left: 5.97333rem;
bottom: 8.26667rem;
left: 3.12rem;
top: 4.56rem;
}
body .h5 .pagesBox .page2 .pagetx2,
html .h5 .pagesBox .page2 .pagetx2 {
width: 6.02667rem;
height: 3.52rem;
width: 6.34667rem;
height: 4.10667rem;
position: absolute;
left: 0.53333rem;
bottom: 4rem;
top: 9.17333rem;
}
body .h5 .pagesBox .page2 .downioad,
html .h5 .pagesBox .page2 .downioad {
width: 6.58667rem;
height: 1.38667rem;
width: 4.98667rem;
height: 1.12rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 1.92rem;
bottom: 1.66667rem;
display: block;
}
body .h5 .pagesBox .page2 .down,
html .h5 .pagesBox .page2 .down {
width: 0.85333rem;
height: 0.64rem;
width: 0.50667rem;
height: 0.37333rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 0.96rem;
left: 48%;
bottom: 0.26667rem;
}
body .h5 .pagesBox .page3,
html .h5 .pagesBox .page3 {
@@ -361,66 +297,66 @@
display: block;
margin: 0 auto;
top: 2.8rem;
display: none;
}
body .h5 .pagesBox .page3 .page3_in,
html .h5 .pagesBox .page3 .page3_in {
width: 10rem;
height: 10.72rem;
height: 11.65333rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 2.58667rem;
top: 2.50667rem;
}
body .h5 .pagesBox .page3 .page3Icon1,
html .h5 .pagesBox .page3 .page3Icon1 {
width: 4.32rem;
height: 3.06667rem;
width: 4.09333rem;
height: 2.93333rem;
position: absolute;
left: 5.68rem;
bottom: 8.64rem;
top: 5.65333rem;
}
body .h5 .pagesBox .page3 .page3Icon2,
html .h5 .pagesBox .page3 .page3Icon2 {
width: 2.05333rem;
height: 2.05333rem;
width: 4.32rem;
height: 3.09333rem;
position: absolute;
left: 1.52rem;
bottom: 9.84rem;
left: 0rem;
top: 4.85333rem;
}
body .h5 .pagesBox .page3 .page3Icon3,
html .h5 .pagesBox .page3 .page3Icon3 {
width: 2.90667rem;
height: 1.89333rem;
width: 4.32rem;
height: 3.09333rem;
position: absolute;
left: 5.86667rem;
bottom: 5.01333rem;
right: 0rem;
top: 10rem;
}
body .h5 .pagesBox .page3 .page3Icon4,
html .h5 .pagesBox .page3 .page3Icon4 {
width: 3.97333rem;
height: 2.34667rem;
width: 3.78667rem;
height: 2.72rem;
position: absolute;
left: 0.26667rem;
bottom: 3.78667rem;
left: 0rem;
top: 11.14667rem;
}
body .h5 .pagesBox .page3 .downioad,
html .h5 .pagesBox .page3 .downioad {
width: 6.58667rem;
height: 1.38667rem;
width: 4.98667rem;
height: 1.12rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 1.92rem;
bottom: 1.66667rem;
display: block;
}
body .h5 .pagesBox .page3 .down,
html .h5 .pagesBox .page3 .down {
width: 0.85333rem;
height: 0.64rem;
width: 0.50667rem;
height: 0.37333rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 0.96rem;
left: 48%;
bottom: 0.26667rem;
}
body .h5 .pagesBox .page4,
html .h5 .pagesBox .page4 {
@@ -437,50 +373,50 @@
top: 2.8rem;
display: block;
margin: 0 auto;
display: none;
}
body .h5 .pagesBox .page4 .page4_in,
html .h5 .pagesBox .page4 .page4_in {
width: 10rem;
height: 10.69333rem;
height: 11.65333rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 2.58667rem;
top: 2.50667rem;
}
body .h5 .pagesBox .page4 .page4Icon1,
html .h5 .pagesBox .page4 .page4Icon1 {
width: 6.61333rem;
height: 6.13333rem;
width: 5.57333rem;
height: 5.12rem;
position: absolute;
left: 0.08rem;
bottom: 5.94667rem;
left: 0rem;
top: 5.12rem;
}
body .h5 .pagesBox .page4 .page4Icon2,
html .h5 .pagesBox .page4 .page4Icon2 {
width: 6.61333rem;
height: 6.13333rem;
width: 5.57333rem;
height: 5.12rem;
position: absolute;
left: 3.28rem;
bottom: 2.98667rem;
right: 0rem;
top: 8.58667rem;
}
body .h5 .pagesBox .page4 .downioad,
html .h5 .pagesBox .page4 .downioad {
width: 6.58667rem;
height: 1.38667rem;
width: 4.98667rem;
height: 1.12rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 1.92rem;
bottom: 1.66667rem;
display: block;
}
body .h5 .pagesBox .page4 .down,
html .h5 .pagesBox .page4 .down {
width: 0.85333rem;
height: 0.64rem;
width: 0.50667rem;
height: 0.37333rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 0.96rem;
left: 48%;
bottom: 0.26667rem;
}
body .h5 .pagesBox .page5,
html .h5 .pagesBox .page5 {
@@ -494,9 +430,9 @@
body .h5 .pagesBox .page5 .pageTxte5,
html .h5 .pagesBox .page5 .pageTxte5 {
width: 6.61333rem;
height: 5.06667rem;
height: 4.42667rem;
position: relative;
top: 3.73333rem;
top: 3.41333rem;
display: block;
margin: 0 auto;
}
@@ -509,14 +445,13 @@
margin: 0 auto;
left: 50%;
transform: translateX(-50%);
bottom: 7.01333rem;
bottom: 5.14667rem;
}
body .h5 .pagesBox .page5 .bootom,
html .h5 .pagesBox .page5 .bootom {
width: 100%;
height: 1.5rem;
position: absolute;
bottom: 1.12rem;
bottom: 0.32rem;
left: 0;
text-align: center;
color: #B4B4BA;
@@ -528,22 +463,21 @@
}
body .h5 .pagesBox .page5 .downioad,
html .h5 .pagesBox .page5 .downioad {
width: 6.58667rem;
height: 1.38667rem;
width: 4.98667rem;
height: 1.22667rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 3.41333rem;
bottom: 2.96rem;
display: block;
}
body .h5 .pagesBox .page5 .down,
html .h5 .pagesBox .page5 .down {
width: 0.85333rem;
height: 0.64rem;
width: 0.50667rem;
height: 0.37333rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 0.96rem;
left: 48%;
bottom: 0.26667rem;
}
body .h5 .menu,
html .h5 .menu {
@@ -610,7 +544,7 @@
font-size: 0.32rem;
float: right;
margin-top: 0.05333rem;
margin-right: 1.06667rem;
margin-right: 0.42667rem;
text-align: center;
border-radius: 0.74667rem;
}