新增充值pc页面, 官网

This commit is contained in:
qf
2022-11-14 10:00:10 +08:00
parent 5211698d8a
commit 09cb3a81bb
36 changed files with 1909 additions and 472 deletions

View File

@@ -1,4 +1,4 @@
@function px2rem($px, $rem:75) {
@function px2rem($px, $rem: 75) {
@return $px / $rem+rem;
}
@@ -10,269 +10,225 @@ html {
//overflow: hidden;
}
.m-bg {
display: none;
img {
display: block;
}
}
.m-button {
display: none;
position: absolute;
width: 70%;
left: 50%;
margin-left: -35%;
&.m-button1 {
top: 17.5%;
}
&.m-button2 {
bottom: 7.5%;
}
}
.container {
position: relative;
}
.text-wrapper {
position: absolute;
bottom: 2%;
width: 40%;
left: 50%;
margin-left: -20%;
padding-left: 140px;
box-sizing: border-box;
// .eori {
// // height: 8.7%;
// width: 100%;
// background: #000;
// // color: #D1D1D1;
// position: absolute;
// left: 0;
// padding: px2rem(10, ) 0;
// // p {
// // height: 40px;
// // width: 50%;
// // float: left;
// // text-align: center;
// // line-height: 40px;
// // font-size: 10px;
// // text-align: right;
// // padding-right: 20px;
// // box-sizing: border-box;
.qrcode {
position: absolute;
width: 120px;
height: 120px;
background: #000;
left: 0;
top: 0;
}
// // a {
// // color: #666;
// // }
// // }
.text {
.txt1 {
line-height: 18px;
margin-bottom: 20px;
font-size: 14px;
// .weixin-name {
// padding-top: px2rem(20);
// }
// .recordfoot {
// width: 100%;
// color: #000;
// text-align: left;
// display: flex;
// justify-content: center;
// align-items: center;
// font-size: 13px;
// margin-bottom: px2rem(6, );
// .record {
// display: inline-block;
// padding-right: px2rem(4);
// width: px2rem(14, );
// height: px2rem(16, );
// background: url(../images/icon_police.png) no-repeat;
// // background: #948aff;
// }
// a {
// color: #fff;
// }
// }
// .gongsi {
// display: flex;
// justify-content: center;
// font-size: 13px;
// color: #fff;
// p {
// &:nth-child(2) {
// margin: 0 14px;
// }
// }
// }
// // div {
// // // height: 30px;
// // width: 100%;
// // text-align: center;
// // // line-height: 30px;
// // font-size: 16px;
// // }
// .tit {
// height: 60px;
// line-height: 60px;
// text-align: center;
// font-size: 20px;
// }
// }
// .footer {
// line-height: 70px;
// text-align: center;
// font-size: 14px;
// color: #fff;
// background: rgba(0, 0, 0, 0.6);
// span {
// margin: 0 6px;
// }
// a {
// color: #fff;
// }
// }
// .button-wrapper {
// cursor: pointer;
// position: absolute;
// left: 68.55%;
// // top: 62.27%;
// top: 68%;
// width: 19.4%;
// height: 6.6%;
// background: rgba(253, 247, 247, 0);
// a {
// display: inline-block;
// width: 100%;
// height: 100%;
// }
// }
// .button2-wrapper {
// cursor: pointer;
// position: absolute;
// left: 45.55%;
// // top: 61.09%;
// top: 67%;
// width: 19.4%;
// height: 7.6%;
// // background: rgba(253, 247, 247, 0);
// a {
// display: inline-block;
// width: 100%;
// height: 100%;
// }
// }
// .button-wrapper,
// .button2-wrapper {
// display: none;
// }
// pc端
@media screen and (min-width:769px) {
.m-bg {
display: none;
img {
display: block;
}
.txt2 {
line-height: 16px;
span {
color: #948aff;
}
}
}
}
.eori {
// height: 8.7%;
width: 100%;
background: #000;
// color: #D1D1D1;
position: absolute;
left: 0;
padding: px2rem(10, ) 0;
// p {
// height: 40px;
// width: 50%;
// float: left;
// text-align: center;
// line-height: 40px;
// font-size: 10px;
// text-align: right;
// padding-right: 20px;
// box-sizing: border-box;
// a {
// color: #666;
// }
// }
.weixin-name {
padding-top: px2rem(20);
}
.recordfoot {
.homePc {
width: 100%;
color: #000;
text-align: left;
display: flex;
justify-content: center;
align-items: center;
font-size: 13px;
margin-bottom: px2rem(6, );
.record {
display: inline-block;
padding-right: px2rem(4);
width: px2rem(14, );
height: px2rem(16, );
background: url(../images/icon_police.png) no-repeat;
// background: #948aff;
}
a{
height: 10rem;
background: url(../images/homePC.png) no-repeat;
background-size: 100% 100%;
position: relative;
.charge {
width: 1.11rem;
height: 0.5rem;
background: rgb(255, 255, 255, 0.2);
border-radius: .13rem;
font-size: 0.24rem;
color: #fff;
text-align: center;
line-height: 0.5rem;
position: absolute;
top: 1.2rem;
right: 2.77rem;
}
}
.gongsi{
display: flex;
justify-content: center;
font-size: 13px;
color: #fff;
p{
&:nth-child(2){
margin: 0 14px;
.eori {
// height: 1.2rem;
width: 100%;
background: #30312C;
color: rgb(255, 255, 255);
padding: 0.2rem 0;
vertical-align: top;
// .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: flex;
justify-content: center;
text-align: center;
p {
font-size: 0.2rem;
&:nth-child(2) {
margin: 0 0.2rem;
}
}
}
}
// div {
// // height: 30px;
// width: 100%;
// text-align: center;
// // line-height: 30px;
// font-size: 16px;
// }
.tit {
height: 60px;
line-height: 60px;
text-align: center;
font-size: 20px;
}
}
.footer {
line-height: 70px;
text-align: center;
font-size: 14px;
color: #fff;
background: rgba(0, 0, 0, 0.6);
span {
margin: 0 6px;
}
a {
color: #fff;
}
}
.culture-icon {
a {
width: 100%;
height: 100%;
}
img {
width: 50px;
height: 50px;
vertical-align: middle;
}
}
.button-wrapper {
cursor: pointer;
position: absolute;
left: 68.55%;
// top: 62.27%;
top: 68%;
width: 19.4%;
height: 6.6%;
background: rgba(253, 247, 247, 0);
a {
display: inline-block;
width: 100%;
height: 100%;
}
}
.button2-wrapper {
cursor: pointer;
position: absolute;
left: 45.55%;
// top: 61.09%;
top: 67%;
width: 19.4%;
height: 7.6%;
// background: rgba(253, 247, 247, 0);
a {
display: inline-block;
width: 100%;
height: 100%;
}
}
.button-wrapper, .button2-wrapper{
display: none;
}
@media screen and (max-width:1300px) {
.text-wrapper {
bottom: 1%;
.text {
.txt1 {
font-size: 12px;
}
font-size:12px;
}
}
// .button-wrapper {
// cursor: pointer;
// left: 68.55%;
// // top: 62.27%;
// top: 68%;
// }
// .button2-wrapper {
// left: 57.55%;
// // top: 61.09%;
// top: 67%;
// }
// .button2-wrapper {
// cursor: pointer;
// left: 45.55%;
// width: 19.4%;
// // background: #000;
// // background: rgba(253, 247, 247, 0);
// a {
// display: inline-block;
// width: 100%;
// height: 100%;
// }
// }
}
@media screen and (max-width:375px) {
.text-wrapper {
bottom: 0px;
}
.button-wrapper, .button-wrapper{
display: block;
}
}
@media screen and (max-width:729px) {
body{
// 移动端
@media screen and (max-width:768px) {
body {
background-color: #0C0122;
}
.pc-bg {
display: none;
}
@@ -281,6 +237,78 @@ html {
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: rgb(255, 255, 255, 0.2);
border-radius: .13rem;
font-size: 0.24rem;
color: #fff;
text-align: center;
line-height: 0.5rem;
position: absolute;
top: 1.2rem;
left: 50%;
transform: translateX(-50%);
}
.swiper {
width: 100%;
height: 8.6rem;
position: absolute;
top: 4.8rem;
overflow: hidden;
.swiper-wrapper {
width: 60%;
height: 100%;
.swiper-slide {
img {
width: 100%;
height: 100%;
}
}
.swiper-slide-prev {
width: 100%;
height: 90%;
margin-top: 0.6rem;
}
.swiper-slide-next {
width: 100%;
height: 90%;
margin-top: 0.6rem;
}
}
}
.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;
@@ -288,6 +316,7 @@ html {
top: px2rem(1314);
width: px2rem(560);
height: px2rem(92);
a {
display: inline-block;
width: 100%;
@@ -321,6 +350,7 @@ html {
width: 90%;
margin-left: -45%;
padding-top: 108px;
.text {
.txt1 {
margin-bottom: 10px;
@@ -335,11 +365,12 @@ html {
}
.eori {
height: px2rem(136);
// height: 1.2rem;
width: 100%;
background: #30312C;
color: rgb(255, 255, 255);
padding: px2rem(20, ) 0;
padding: 0.2rem 0;
.recordfoot {
color: #fff;
display: flex;
@@ -355,12 +386,15 @@ html {
}
}
.gongsi{
.gongsi {
display: block;
text-align: center;
p{
p {
line-height: 1.3;
&:nth-child(2){
font-size: 0.2rem;
&:nth-child(2) {
margin: 0;
}
}
@@ -381,12 +415,20 @@ html {
font-size: 20px;
}
}
}
// @media screen and (max-width:375px) {
// .text-wrapper {
// bottom: 0px;
// }
// .button-wrapper,
// .button-wrapper {
// display: block;
// }
// }
.toast {
@@ -403,6 +445,7 @@ html {
line-height: 40px;
text-align: center;
display: none;
z-index: 9;
}
.tips {
@@ -411,4 +454,5 @@ html {
top: 0;
right: px2rem(20);
width: px2rem(460);
z-index: 9;
}