Files
peko-h5/view/peko/home/css/index.scss

758 lines
23 KiB
SCSS
Raw Normal View History

2023-11-21 11:28:55 +08:00
@function px2rem($px) {
@return $px / 75+rem;
2022-09-08 18:22:18 +08:00
}
2024-01-22 15:04:08 +08:00
// body,
// html {
// width: 100%;
// height: 100%;
// font-family: "Heiti SC", "Microsoft Sans Serif";
// }
2022-09-08 18:22:18 +08:00
2022-11-14 10:00:10 +08:00
// pc端
@media screen and (min-width:769px) {
2024-01-22 16:04:43 +08:00
.h5 {
display: none;
}
2024-01-22 15:04:08 +08:00
body,
html {
2023-11-21 11:28:55 +08:00
width: 100%;
2024-01-22 15:04:08 +08:00
height: 100%;
background: #0E0B24;
font-family: Avenir, Avenir;
2024-01-22 21:52:01 +08:00
cursor: pointer;
2022-11-14 10:00:10 +08:00
2024-01-22 15:04:08 +08:00
.pc {
2024-01-22 16:04:43 +08:00
width: px2rem(1920);
2024-01-22 15:04:08 +08:00
height: 100%;
background: url(../images/pcBg.png) no-repeat center;
background-size: px2rem(1920) px2rem(1080);
position: relative;
2024-01-22 16:04:43 +08:00
margin: 0 auto 0;
display: block;
2024-01-22 15:04:08 +08:00
.header {
width: 100%;
height: px2rem(108);
position: absolute;
left: 0;
top: 0;
.logo {
width: px2rem(54);
height: px2rem(54);
position: absolute;
top: px2rem(27);
left: px2rem(360);
2023-11-21 11:28:55 +08:00
}
2024-01-22 15:04:08 +08:00
.name {
height: 100%;
line-height: px2rem(108);
font-size: px2rem(40);
color: #FFFFFF;
font-weight: 800;
position: absolute;
top: 0;
left: px2rem(430);
2023-11-21 11:28:55 +08:00
}
2024-01-22 15:04:08 +08:00
.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);
}
2023-11-21 11:28:55 +08:00
}
2022-09-08 18:22:18 +08:00
2024-01-22 15:04:08 +08:00
.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;
2022-09-08 18:22:18 +08:00
2024-01-22 15:04:08 +08:00
img {
display: inline-block;
width: px2rem(30);
height: px2rem(30);
vertical-align: middle;
}
2023-11-21 11:28:55 +08:00
}
}
2024-01-22 16:04:43 +08:00
.pcMarket1 {
width: px2rem(699);
height: px2rem(683);
position: absolute;
left: px2rem(346);
top: px2rem(208);
}
.pcText {
width: px2rem(398);
height: px2rem(120);
position: absolute;
left: px2rem(1092);
top: px2rem(404);
}
.pcIos {
width: px2rem(254);
height: px2rem(58);
position: absolute;
left: px2rem(1091);
top: px2rem(610);
}
.pcAnd {
width: px2rem(254);
height: px2rem(58);
position: absolute;
left: px2rem(1091);
top: px2rem(698);
}
.code {
width: px2rem(160);
height: px2rem(166);
position: absolute;
left: px2rem(1373);
top: px2rem(600);
}
.bottom {
text-align: center;
color: #B7B6BE;
font-size: px2rem(16);
width: 100%;
padding: px2rem(29) 0;
position: fixed;
left: 0;
bottom: 0;
background: #0E0B24;
min-height: 1rem;
p {
margin-bottom: px2rem(16);
}
}
2023-11-21 11:28:55 +08:00
}
2022-09-08 18:22:18 +08:00
}
}
2024-01-22 15:04:08 +08:00
// 移动端
2024-01-22 16:04:43 +08:00
@media screen and (max-width:768px) {
.pc {
display: none;
}
body,
html {
width: 100%;
height: 100%;
background: #0E0B24;
.header {
position: fixed;
left: 0;
top: 0;
width: 100%;
height: px2rem(90);
box-sizing: border-box;
padding: 0 px2rem(40);
margin: px2rem(20) auto 0;
2024-01-22 21:52:01 +08:00
z-index: 3;
.line {
2024-01-22 16:04:43 +08:00
width: 90%;
height: px2rem(2);
background: #fff;
opacity: .3;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 0;
}
.logo {
display: block;
width: px2rem(64);
height: px2rem(64);
margin-right: px2rem(16);
float: left;
}
.name {
font-size: 0.53333rem;
color: #FFFFFF;
font-weight: 800;
float: left;
margin-top: px2rem(6);
}
.diamound {
width: px2rem(140);
height: px2rem(56);
line-height: px2rem(56);
box-sizing: border-box;
border: 1px solid #fff;
vertical-align: middle;
color: #fff;
font-size: px2rem(24);
float: right;
margin-top: px2rem(4);
margin-right: px2rem(80);
text-align: center;
border-radius: px2rem(56);
img {
vertical-align: middle;
width: px2rem(38);
height: px2rem(32);
display: inline-block;
}
}
.more {
float: right;
width: px2rem(40);
height: px2rem(40);
display: block;
margin-top: px2rem(12);
}
}
.h5 {
display: block;
width: 100%;
height: 100%;
overflow: hidden;
2024-01-22 21:52:01 +08:00
.pagesBox {
2024-01-22 16:04:43 +08:00
width: 100%;
height: 100%;
2024-01-22 21:52:01 +08:00
// overflow: hidden;
2024-01-23 15:59:37 +08:00
transition: all .4s;
2024-01-22 21:52:01 +08:00
transform: translateY(-0%);
.page1 {
width: 100%;
height: 100%;
2024-01-23 15:59:37 +08:00
background: url(../images/h51.png) no-repeat ;
2024-01-23 14:26:42 +08:00
background-size: 100% px2rem(1334);
2024-01-22 21:52:01 +08:00
position: relative;
2024-01-23 14:26:42 +08:00
overflow: hidden;
2024-01-22 21:52:01 +08:00
.pageTxte1 {
width: px2rem(482);
height: px2rem(228);
position: relative;
2024-01-23 14:26:42 +08:00
top: px2rem(394);
2024-01-22 21:52:01 +08:00
margin: 0 auto;
display: block;
}
2024-01-23 14:26:42 +08:00
.downioad {
2024-01-22 21:52:01 +08:00
width: px2rem(494);
height: px2rem(104);
position: relative;
2024-01-23 14:26:42 +08:00
margin: 9rem auto 0;
2024-01-22 21:52:01 +08:00
display: block;
}
.down {
width: px2rem(64);
height: px2rem(48);
position: absolute;
left: 50%;
transform: translateX(-50%);
2024-01-23 14:26:42 +08:00
top: px2rem(1214);
2024-01-22 21:52:01 +08:00
}
}
.page2 {
width: 100%;
height: 100%;
position: relative;
2024-01-23 14:26:42 +08:00
overflow: hidden;
2024-01-22 21:52:01 +08:00
// display: none;
.pageText2 {
2024-01-23 14:26:42 +08:00
width: px2rem(446);
height: px2rem(114);
2024-01-22 21:52:01 +08:00
position: relative;
2024-01-23 14:26:42 +08:00
top: px2rem(210);
2024-01-22 21:52:01 +08:00
margin: 0 auto;
display: block;
}
.page2_in {
width: px2rem(750);
2024-01-23 14:26:42 +08:00
height: px2rem(804);
2024-01-22 21:52:01 +08:00
position: absolute;
left: 50%;
transform: translateX(-50%);
2024-01-23 14:26:42 +08:00
top: px2rem(336);
2024-01-22 21:52:01 +08:00
}
.pagetx1 {
2024-01-23 14:26:42 +08:00
width: px2rem(302);
2024-01-22 21:52:01 +08:00
height: px2rem(308);
position: absolute;
2024-01-23 14:26:42 +08:00
left: px2rem(448);
top: px2rem(406);
2024-01-22 21:52:01 +08:00
}
.pagetx2 {
2024-01-23 14:26:42 +08:00
width: px2rem(452);
height: px2rem(264);
2024-01-22 21:52:01 +08:00
position: absolute;
left: px2rem(40);
2024-01-23 14:26:42 +08:00
top: px2rem(770);
2024-01-22 21:52:01 +08:00
}
.downioad {
width: px2rem(494);
height: px2rem(104);
position: relative;
display: block;
margin: 0 auto;
2024-01-23 14:26:42 +08:00
top: px2rem(970);
2024-01-22 21:52:01 +08:00
}
.down {
width: px2rem(64);
height: px2rem(48);
position: absolute;
left: 50%;
transform: translateX(-50%);
2024-01-23 14:26:42 +08:00
top: px2rem(1214);
2024-01-22 21:52:01 +08:00
}
}
.page3 {
width: 100%;
height: 100%;
position: relative;
2024-01-23 14:26:42 +08:00
overflow: hidden;
2024-01-22 21:52:01 +08:00
// display: none;
.pageText3 {
2024-01-23 14:26:42 +08:00
width: px2rem(512);
height: px2rem(114);
2024-01-22 21:52:01 +08:00
position: relative;
// left: 50%;
// transform: translateX(-50%);
display: block;
margin: 0 auto;
2024-01-23 14:26:42 +08:00
top: px2rem(210);
2024-01-22 21:52:01 +08:00
}
.page3_in {
width: px2rem(750);
2024-01-23 14:26:42 +08:00
height: px2rem(804);
2024-01-22 21:52:01 +08:00
position: absolute;
left: 50%;
transform: translateX(-50%);
2024-01-23 14:26:42 +08:00
top: px2rem(336);
2024-01-22 21:52:01 +08:00
}
.page3Icon1 {
width: px2rem(324);
2024-01-23 14:26:42 +08:00
height: px2rem(230);
2024-01-22 21:52:01 +08:00
position: absolute;
left: px2rem(426);
2024-01-23 14:26:42 +08:00
top: px2rem(456);
2024-01-22 21:52:01 +08:00
}
.page3Icon2 {
2024-01-23 14:26:42 +08:00
width: px2rem(154);
height: px2rem(154);
2024-01-22 21:52:01 +08:00
position: absolute;
2024-01-23 14:26:42 +08:00
left: px2rem(114);
top: px2rem(442);
2024-01-22 21:52:01 +08:00
}
.page3Icon3 {
2024-01-23 14:26:42 +08:00
width: px2rem(218);
height: px2rem(142);
2024-01-22 21:52:01 +08:00
position: absolute;
2024-01-23 14:26:42 +08:00
left: px2rem(440);
top: px2rem(816);
2024-01-22 21:52:01 +08:00
}
.page3Icon4 {
2024-01-23 14:26:42 +08:00
width: px2rem(298);
height: px2rem(176);
2024-01-22 21:52:01 +08:00
position: absolute;
2024-01-23 14:26:42 +08:00
left: px2rem(20);
top: px2rem(874);
2024-01-22 21:52:01 +08:00
}
.downioad {
width: px2rem(494);
height: px2rem(104);
position: relative;
// left: 50%;
// transform: translateX(-50%);
display: block;
margin: 0 auto;
2024-01-23 14:26:42 +08:00
top: px2rem(970);
2024-01-22 21:52:01 +08:00
}
.down {
width: px2rem(64);
height: px2rem(48);
position: absolute;
left: 50%;
transform: translateX(-50%);
2024-01-23 14:26:42 +08:00
top: px2rem(1214);
2024-01-22 21:52:01 +08:00
}
}
.page4 {
width: 100%;
height: 100%;
position: relative;
2024-01-23 14:26:42 +08:00
overflow: hidden;
2024-01-22 21:52:01 +08:00
// display: none;
.pageText4 {
2024-01-23 14:26:42 +08:00
width: px2rem(480);
height: px2rem(114);
2024-01-22 21:52:01 +08:00
position: relative;
2024-01-23 14:26:42 +08:00
top: px2rem(210);
2024-01-22 21:52:01 +08:00
display: block;
margin: 0 auto;
}
.page4_in {
width: px2rem(750);
2024-01-23 14:26:42 +08:00
height: px2rem(802);
2024-01-22 21:52:01 +08:00
position: absolute;
left: 50%;
transform: translateX(-50%);
2024-01-23 14:26:42 +08:00
top: px2rem(338);
2024-01-22 21:52:01 +08:00
}
.page4Icon1 {
2024-01-23 14:26:42 +08:00
width: px2rem(496);
height: px2rem(460);
2024-01-22 21:52:01 +08:00
position: absolute;
2024-01-23 14:26:42 +08:00
left: px2rem(6);
top: px2rem(428);
2024-01-22 21:52:01 +08:00
}
.page4Icon2 {
2024-01-23 14:26:42 +08:00
width: px2rem(496);
height: px2rem(460);
2024-01-22 21:52:01 +08:00
position: absolute;
2024-01-23 14:26:42 +08:00
left: px2rem(246);
top: px2rem(650);
2024-01-22 21:52:01 +08:00
}
.downioad {
width: px2rem(494);
height: px2rem(104);
position: relative;
2024-01-23 14:26:42 +08:00
top: px2rem(970);
2024-01-22 21:52:01 +08:00
display: block;
margin: 0 auto;
}
.down {
width: px2rem(64);
height: px2rem(48);
position: absolute;
left: 50%;
transform: translateX(-50%);
2024-01-23 14:26:42 +08:00
top: px2rem(1214);
2024-01-22 21:52:01 +08:00
}
}
.page5 {
width: 100%;
height: 100%;
background: url(../images/h55.png) no-repeat center;
2024-01-23 14:26:42 +08:00
background-size: 100% px2rem(1344);
2024-01-22 21:52:01 +08:00
position: relative;
2024-01-23 14:26:42 +08:00
overflow: hidden;
2024-01-22 21:52:01 +08:00
// display: none;
.pageTxte5 {
width: px2rem(496);
height: px2rem(380);
position: relative;
2024-01-23 14:26:42 +08:00
top: px2rem(280);
2024-01-22 21:52:01 +08:00
display: block;
margin: 0 auto;
}
.contactUs {
width: px2rem(272);
height: px2rem(92);
position: relative;
display: block;
margin: 0 auto;
2024-01-23 14:26:42 +08:00
top: 5rem;
2024-01-22 21:52:01 +08:00
}
.bootom {
width: 100%;
height: 1.5rem;
position: absolute;
2024-01-23 14:26:42 +08:00
bottom: px2rem(84);
2024-01-22 21:52:01 +08:00
left: 0;
text-align: center;
color: #B4B4BA;
font-size: px2rem(24);
p {
margin-bottom: px2rem(8);
}
}
.downioad {
width: px2rem(494);
height: px2rem(104);
position: relative;
2024-01-23 14:26:42 +08:00
top: 6rem;
2024-01-22 21:52:01 +08:00
display: block;
margin: 0 auto;
}
.down {
width: px2rem(64);
height: px2rem(48);
position: absolute;
left: 50%;
transform: translateX(-50%);
top: px2rem(1468);
}
}
}
// 菜单
.menu {
width: 100%;
height: 0%;
background: #0E0B24;
position: fixed;
2024-01-23 15:35:12 +08:00
// z-index: 4;
transition: all .2s;
2024-01-22 21:52:01 +08:00
// display: none;
left: 0;
top: 0;
overflow: hidden;
.top {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: px2rem(90);
box-sizing: border-box;
padding: 0 px2rem(40);
margin: px2rem(20) auto 0;
z-index: 3;
top: 0;
left: 50%;
transform: translateX(-50%);
.line {
width: 90%;
height: px2rem(2);
background: #fff;
opacity: .3;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 0;
}
.logo {
display: block;
width: px2rem(64);
height: px2rem(64);
margin-right: px2rem(16);
float: left;
}
.name {
font-size: 0.53333rem;
color: #FFFFFF;
font-weight: 800;
float: left;
margin-top: px2rem(6);
}
.diamound {
width: px2rem(140);
height: px2rem(56);
line-height: px2rem(56);
box-sizing: border-box;
border: 1px solid #fff;
vertical-align: middle;
color: #fff;
font-size: px2rem(24);
float: right;
margin-top: px2rem(4);
margin-right: px2rem(80);
text-align: center;
border-radius: px2rem(56);
img {
vertical-align: middle;
width: px2rem(38);
height: px2rem(32);
display: inline-block;
}
}
.close {
float: right;
width: px2rem(40);
height: px2rem(40);
display: block;
margin-top: px2rem(12);
}
}
ul {
width: 100%;
height: px2rem(90);
box-sizing: border-box;
padding: 0 px2rem(40);
margin: 1.6rem auto 0;
li {
width: 100%;
height: px2rem(116);
line-height: px2rem(116);
border-bottom: 1px solid rgba(255, 255, 255, .3);
display: flex;
justify-content: space-between;
span {
color: #FFFFFF;
font-size: px2rem(32);
}
img {
width: px2rem(32);
height: px2rem(32);
display: block;
margin-top: px2rem(44);
}
}
}
}
}
.contactUs_pub {
position: fixed;
z-index: 99;
left: 0;
top: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, .6);
display: none;
.contactUs_pub_in {
width: px2rem(534);
height: px2rem(480);
left: 50%;
top: 50%;
position: relative;
transform: translate(-50%, -50%);
background: #fff;
border-radius: px2rem(32);
overflow: hidden;
.sClose {
width: px2rem(32);
height: px2rem(32);
position: absolute;
right: px2rem(32);
top: px2rem(26);
}
.title {
text-align: center;
width: 100%;
margin-top: px2rem(36);
margin-bottom: px2rem(16);
color: #1F1B4F;
font-size: px2rem(32);
font-weight: 600;
}
ul {
width: 6rem;
margin: 0 auto 0;
li {
width: 100%;
height: px2rem(112);
line-height: px2rem(112);
border-bottom: px2rem(2) solid #EBECF0;
img {
display: block;
width: px2rem(48);
height: px2rem(48);
float: left;
margin-top: px2rem(32);
margin-right: px2rem(44);
}
span {
display: block;
float: left;
height: 100%;
color: #1F1B4F;
font-size: px2rem(28);
font-weight: 500;
b {
color: #1F1B4F;
font-weight: bold;
}
}
}
}
2024-01-22 16:04:43 +08:00
}
}
2024-01-22 21:52:01 +08:00
2024-01-22 16:04:43 +08:00
}
}