Compare commits

...

39 Commits

Author SHA1 Message Date
Dragon
956c3c26f9 新增peko新春榜单 2024-02-05 21:27:57 +08:00
Dragon
3632ed33a9 新春榜单暂存 2024-02-01 14:18:56 +08:00
Dragon
c6410f6d33 调整弹窗 2024-01-25 16:00:50 +08:00
Dragon
fc98b7f93c 调整联系我们弹窗 2024-01-25 15:53:51 +08:00
Dragon
1fbc64721e 替换pc图 2024-01-25 14:30:12 +08:00
Dragon
1694d222d6 优化体验 2024-01-25 12:34:27 +08:00
Dragon
d44a302a2f 优化体验 2024-01-25 12:25:49 +08:00
Dragon
d459bb3a93 压缩图片 2024-01-24 20:22:59 +08:00
Dragon
9def117874 修改移动端判断 2024-01-24 20:14:49 +08:00
Dragon
6a84f98e41 适配官网 2024-01-24 20:10:25 +08:00
Dragon
ebc54bd4a0 修复点击字段传参 2024-01-23 17:20:11 +08:00
Dragon
c08811e593 修改点击下载传参 2024-01-23 15:59:37 +08:00
Dragon
08656587a1 修改下拉菜单异常问题 2024-01-23 15:35:12 +08:00
Dragon
195c550ef1 修复一直加载中问题 2024-01-23 15:15:42 +08:00
Dragon
c18cd57b9e 修复bug 2024-01-23 14:26:42 +08:00
Dragon
e717dd00ba 优化官网 2024-01-22 21:52:55 +08:00
Dragon
490a2e698d 暂存 2024-01-22 21:52:55 +08:00
Dragon
8da092a707 暂存 2024-01-22 21:52:54 +08:00
Dragon
5e029a3c04 修复大陆提现报错异常 2024-01-22 16:06:39 +08:00
Dragon
74715febed 修复非大陆提现异常问题 2024-01-22 15:06:14 +08:00
Dragon
59ac905999 新增提现未成年限制 2024-01-19 20:31:00 +08:00
Dragon
b0f828f4a3 新增大陆提现是否成年校验 2024-01-19 18:41:29 +08:00
Dragon
2a76f79507 更新账单 2024-01-18 12:01:24 +08:00
Dragon
312d60d55e 新增成功判断 2024-01-12 19:02:19 +08:00
Dragon
6a6665af3c 修复认证异常 2024-01-12 18:26:29 +08:00
Dragon
440dc1b73d 修复报错问题 2024-01-12 17:41:52 +08:00
Dragon
1b436d60a5 完善实名后的皂搓 2024-01-12 17:30:59 +08:00
Dragon
9ff5b68fc8 修改认证判断 2024-01-12 16:29:01 +08:00
Dragon
c7982c7484 修复实名页面报错问题 2024-01-12 16:11:38 +08:00
Dragon
185de5dc77 完善实名认证后的成功失败操作 2024-01-12 16:08:01 +08:00
Dragon
6a2ec77c04 新增实名认证刷脸失败皂搓 2024-01-12 15:39:01 +08:00
Dragon
61ca0a167a 修复bug 2024-01-12 15:17:38 +08:00
Dragon
4508621f41 修改bug 2024-01-12 14:33:15 +08:00
Dragon
b4bd899ce4 提现暂存 2024-01-12 14:33:15 +08:00
Dragon
62a9f2c4a6 修复实名显示异常问题 2024-01-12 14:33:15 +08:00
Dragon
693b19c076 清除缓存 2024-01-12 14:33:15 +08:00
Dragon
7a75f36d6b 清除缓存 2024-01-12 14:33:15 +08:00
Dragon
33bc6ebd86 完成接入人脸认证 2024-01-12 14:33:14 +08:00
Dragon
bb3cd87401 实名认证暂存 2024-01-12 14:33:14 +08:00
147 changed files with 6728 additions and 1581 deletions

View File

@@ -0,0 +1,564 @@
html,
body {
width: 100%;
background: linear-gradient(0deg, #FB88A9 0%, #FFBECE 61%);
}
.back {
position: fixed;
top: 0.93333rem;
left: 0.45333rem;
z-index: 99;
width: 0.82667rem;
height: 0.82667rem;
}
.back img {
width: 100%;
height: 100%;
}
.back p {
color: #fff;
font-size: 0.42667rem;
position: absolute;
width: 9rem;
left: 0;
top: 0;
height: 100%;
text-align: center;
line-height: 0.82667rem;
}
.header {
width: 10rem;
height: 8.4rem;
position: relative;
margin: 0 auto 0;
background: url(../images/header.png) no-repeat;
background-size: 100% 100%;
}
.header .rule_icon {
width: 0.62667rem;
height: 1.73333rem;
position: absolute;
top: 2.57333rem;
right: 0rem;
}
.tab {
width: 8rem;
height: 1.17333rem;
line-height: 1.17333rem;
margin: 0.10667rem auto 0.58667rem;
background: #fff;
border-radius: 1.17333rem;
display: flex;
justify-content: space-between;
}
.tab div {
color: #BB4A56;
font-size: 0.4rem;
text-align: center;
width: 4rem;
height: 1.17333rem;
font-weight: 500;
}
.tab .tab1 {
background: url(../images/tab1.png) no-repeat;
background-size: 100% 100%;
color: transparent;
}
.tab .tab2 {
background: url(../images/tab2.png) no-repeat;
background-size: 100% 100%;
color: transparent;
}
.page1 .pageImg1 {
display: block;
width: 9.2rem;
height: 20.58667rem;
margin: 0 auto 0.34667rem;
}
.page1 .pageImg2 {
display: block;
width: 9.2rem;
height: 16.33333rem;
margin: 0 auto 0.46667rem;
}
.page2 {
display: none;
}
.page2 .box {
width: 9.2rem;
height: 17.14667rem;
background: url(../images/page2Bg.png) no-repeat;
background-size: 100% 100%;
margin: 0 auto 0.48rem;
overflow: hidden;
position: relative;
}
.page2 .box .listTab {
width: 7.38667rem;
height: 1.17333rem;
line-height: 1.17333rem;
border-radius: 1.17333rem;
display: flex;
justify-content: space-between;
margin: 0.58667rem auto 2.06667rem;
background: #fff;
}
.page2 .box .listTab div {
width: 3.72rem;
color: #BB4A56;
font-size: 0.4rem;
font-weight: 500;
text-align: center;
}
.page2 .box .listTab .listTab1 {
background: url(../images/listTab1.png) no-repeat;
background-size: 100% 100%;
color: transparent;
}
.page2 .box .listTab .listTab2 {
background: url(../images/listTab2.png) no-repeat;
background-size: 100% 100%;
color: transparent;
}
.page2 .box .topBox {
position: relative;
width: 8.26667rem;
height: 5.33333rem;
margin: 0 auto -0.8rem;
}
.page2 .box .topBox .top1 {
width: 2.54667rem;
height: 2.78667rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: -1.25333rem;
}
.page2 .box .topBox .top1 .ts {
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
z-index: 2;
}
.page2 .box .topBox .top1 .tx {
width: 2.25333rem;
height: 2.18667rem;
position: absolute;
top: 0.05333rem;
left: 50%;
transform: translateX(-50%);
border-radius: 50%;
}
.page2 .box .topBox .top1 .name {
width: 100%;
height: 1.12rem;
line-height: 1.12rem;
text-align: center;
color: #FFFFFF;
font-size: 0.32rem;
font-weight: 400;
background: url(../images/name1.png) no-repeat;
background-size: 100% 100%;
position: absolute;
top: 2.66667rem;
left: 50%;
transform: translateX(-50%);
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.page2 .box .topBox .top1 .score {
width: 100%;
text-align: center;
color: #AD4868;
font-size: 0.29333rem;
font-weight: 400;
position: absolute;
left: 0;
top: 3.9rem;
}
.page2 .box .topBox .top2 {
width: 2.09333rem;
height: 2.28rem;
position: absolute;
left: 0.33333rem;
top: -0.37333rem;
}
.page2 .box .topBox .top2 .ts {
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
z-index: 2;
}
.page2 .box .topBox .top2 .tx {
width: 1.8rem;
height: 1.76rem;
position: absolute;
top: 0.05333rem;
left: 50%;
transform: translateX(-50%);
border-radius: 50%;
}
.page2 .box .topBox .top2 .name {
width: 100%;
height: 1.12rem;
line-height: 1.12rem;
text-align: center;
color: #FFFFFF;
font-size: 0.32rem;
font-weight: 400;
background: url(../images/name2.png) no-repeat;
background-size: 100% 100%;
position: absolute;
top: 2.26667rem;
left: 50%;
transform: translateX(-50%);
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.page2 .box .topBox .top2 .score {
width: 100%;
text-align: center;
color: #AD4868;
font-size: 0.29333rem;
font-weight: 400;
position: absolute;
left: 0;
top: 3.5rem;
}
.page2 .box .topBox .top3 {
width: 2.09333rem;
height: 2.28rem;
position: absolute;
right: 0.33333rem;
top: -0.37333rem;
}
.page2 .box .topBox .top3 .ts {
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
z-index: 2;
}
.page2 .box .topBox .top3 .tx {
width: 1.8rem;
height: 1.76rem;
position: absolute;
top: 0.05333rem;
left: 50%;
transform: translateX(-50%);
border-radius: 50%;
}
.page2 .box .topBox .top3 .name {
width: 100%;
height: 1.12rem;
line-height: 1.12rem;
text-align: center;
color: #FFFFFF;
font-size: 0.32rem;
font-weight: 400;
background: url(../images/name3.png) no-repeat;
background-size: 100% 100%;
position: absolute;
top: 2.26667rem;
left: 50%;
transform: translateX(-50%);
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.page2 .box .topBox .top3 .score {
width: 100%;
text-align: center;
color: #AD4868;
font-size: 0.29333rem;
font-weight: 400;
position: absolute;
left: 0;
top: 3.5rem;
}
.page2 .box ul {
width: 8.56rem;
margin: 0 auto 1.84rem;
overflow-y: scroll;
height: 6.6rem;
}
.page2 .box ul::-webkit-scrollbar {
display: none;
}
.page2 .box ul li {
width: 100%;
height: 1.6rem;
line-height: 1.6rem;
margin-bottom: 0.2rem;
background: #FFF7F9;
border-radius: 0.16rem;
}
.page2 .box ul li .num {
width: 0.8rem;
height: 100%;
text-align: center;
color: #AD4868;
font-size: 0.48rem;
font-weight: bold;
float: left;
margin-right: 0.29333rem;
}
.page2 .box ul li .tx {
width: 1.09333rem;
height: 1.09333rem;
box-sizing: border-box;
border: 0.01333rem solid #FE71B8;
float: left;
margin-top: 0.25333rem;
margin-right: 0.22667rem;
border-radius: 50%;
}
.page2 .box ul li .name {
width: 2.06667rem;
height: 100%;
color: #AD4868;
font-size: 0.34667rem;
font-weight: 500;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
float: left;
}
.page2 .box ul li .score {
float: right;
color: #AD4868;
font-size: 0.29333rem;
font-weight: 400;
margin-right: 0.37333rem;
}
.page2 .box .my {
position: absolute;
width: 100%;
height: 1.84rem;
line-height: 1.84rem;
bottom: 0;
left: 0;
background: url(../images/my.png) no-repeat;
background-size: 100% 100%;
overflow: hidden;
}
.page2 .box .my .num {
width: 0.8rem;
height: 100%;
text-align: center;
color: #AD4868;
font-size: 0.26667rem;
font-weight: 400;
float: left;
margin-right: 0.29333rem;
margin-left: 0.32rem;
}
.page2 .box .my .tx {
width: 1.09333rem;
height: 1.09333rem;
box-sizing: border-box;
border: 0.01333rem solid #FE71B8;
float: left;
margin-top: 0.38667rem;
margin-right: 0.22667rem;
border-radius: 50%;
}
.page2 .box .my .name {
width: 2.06667rem;
height: 100%;
color: #AD4868;
font-size: 0.34667rem;
font-weight: 500;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
float: left;
}
.page2 .box .my .score {
float: right;
color: #AD4868;
font-size: 0.29333rem;
font-weight: 400;
margin-right: 0.37333rem;
}
.bootom {
margin-bottom: 0.26667rem;
}
.bootom p {
width: 100%;
text-align: center;
color: #7E0033;
font-size: 0.32rem;
font-weight: 400;
margin-bottom: 0.2rem;
}
.rule {
display: none;
position: fixed;
left: 0;
top: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.8);
z-index: 99;
}
.rule .rule_in {
width: 8.18667rem;
height: 13.53333rem;
background: url(../images/rule_bg.png) no-repeat;
background-size: 100% 100%;
position: relative;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
overflow: hidden;
}
.rule .rule_in .tabRule {
width: 6.50667rem;
height: 1.01333rem;
line-height: 1.01333rem;
display: flex;
justify-content: space-between;
border-radius: 0.64rem;
background: #fff;
margin: 0.6rem auto 0.25333rem;
}
.rule .rule_in .tabRule div {
text-align: center;
color: #CA5987;
font-size: 0.37333rem;
font-weight: 500;
width: 3.25333rem;
}
.rule .rule_in .tabRule .act {
background: url(../images/rule_act.png) no-repeat;
background-size: 100% 100%;
color: #fff;
}
.rule .rule_in .box1 {
width: 7.34667rem;
height: 11.4rem;
overflow-y: scroll;
margin: 0 auto;
}
.rule .rule_in .box1::-webkit-scrollbar {
display: none;
}
.rule .rule_in .box1 img {
display: block;
width: 7.25333rem;
}
.rule .rule_in .box2 {
display: none;
}
.rule .rule_in .box2 .box2Tab {
width: 4.74667rem;
height: 0.8rem;
margin: 0 auto 0.26667rem;
display: flex;
justify-content: space-between;
}
.rule .rule_in .box2 .box2Tab div {
width: 2.34667rem;
}
.rule .rule_in .box2 .box2Tab .tab1 {
background: url(../images/box2tab1.png) no-repeat;
background-size: 100% 100%;
}
.rule .rule_in .box2 .box2Tab .tab2 {
background: url(../images/box2tab2.png) no-repeat;
background-size: 100% 100%;
}
.rule .rule_in .box2 .box2Tab .act1 {
background: url(../images/box2tabAct1.png) no-repeat;
background-size: 100% 100%;
}
.rule .rule_in .box2 .box2Tab .act2 {
background: url(../images/box2tabAct2.png) no-repeat;
background-size: 100% 100%;
}
.rule .rule_in .box2 .imgBox {
width: 7.52rem;
height: 10rem;
margin: 0 auto;
overflow-y: scroll;
}
.rule .rule_in .box2 .imgBox::-webkit-scrollbar {
display: none;
}
.rule .rule_in .box2 .imgBox img {
width: 100%;
display: block;
}

View File

@@ -0,0 +1,581 @@
@function px2rem($px) {
@return $px / 75+rem;
}
html,
body {
width: 100%;
background: linear-gradient(0deg, #FB88A9 0%, #FFBECE 61%);
}
// 返回按钮
.back {
position: fixed;
top: px2rem(70);
left: px2rem(34);
z-index: 99;
width: px2rem(62);
height: px2rem(62);
img {
width: 100%;
height: 100%;
}
p {
color: #fff;
font-size: px2rem(32);
position: absolute;
width: 9rem;
left: 0;
top: 0;
height: 100%;
text-align: center;
line-height: px2rem(62);
}
}
.header {
width: px2rem(750);
height: px2rem(630);
position: relative;
margin: 0 auto 0;
background: url(../images/header.png) no-repeat;
background-size: 100% 100%;
.rule_icon {
width: px2rem(47);
height: px2rem(130);
position: absolute;
top: px2rem(193);
right: px2rem(0);
}
}
.tab {
width: px2rem(600);
height: px2rem(88);
line-height: px2rem(88);
margin: px2rem(8) auto px2rem(44);
background: #fff;
border-radius: px2rem(88);
display: flex;
justify-content: space-between;
div {
color: #BB4A56;
font-size: px2rem(30);
text-align: center;
width: px2rem(300);
height: px2rem(88);
font-weight: 500;
}
.tab1 {
background: url(../images/tab1.png) no-repeat;
background-size: 100% 100%;
color: rgba(0, 0, 0, .0);
}
.tab2 {
background: url(../images/tab2.png) no-repeat;
background-size: 100% 100%;
color: rgba(0, 0, 0, .0);
}
}
.page1 {
// display: none;
.pageImg1 {
display: block;
width: px2rem(690);
height: px2rem(1544);
margin: 0 auto px2rem(26);
}
.pageImg2 {
display: block;
width: px2rem(690);
height: px2rem(1225);
margin: 0 auto px2rem(35);
}
}
.page2 {
display: none;
.box {
width: px2rem(690);
height: px2rem(1286);
background: url(../images/page2Bg.png) no-repeat;
background-size: 100% 100%;
margin: 0 auto px2rem(36);
overflow: hidden;
position: relative;
.listTab {
width: px2rem(554);
height: px2rem(88);
line-height: px2rem(88);
border-radius: px2rem(88);
display: flex;
justify-content: space-between;
margin: px2rem(44) auto px2rem(155);
background: #fff;
div {
width: px2rem(279);
color: #BB4A56;
font-size: px2rem(30);
font-weight: 500;
text-align: center;
}
.listTab1 {
background: url(../images/listTab1.png) no-repeat;
background-size: 100% 100%;
color: rgba(0, 0, 0, .0);
}
.listTab2 {
background: url(../images/listTab2.png) no-repeat;
background-size: 100% 100%;
;
color: rgba(0, 0, 0, .0);
}
}
.topBox {
position: relative;
width: px2rem(620);
height: px2rem(400);
margin: 0 auto px2rem(-60);
.top1 {
width: px2rem(191);
height: px2rem(209);
position: absolute;
left: 50%;
transform: translateX(-50%);
top: px2rem(-94);
.ts {
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
z-index: 2;
}
.tx {
width: px2rem(169);
height: px2rem(164);
position: absolute;
top: px2rem(4);
left: 50%;
transform: translateX(-50%);
border-radius: 50%;
}
.name {
width: 100%;
height: px2rem(84);
line-height: px2rem(84);
text-align: center;
color: #FFFFFF;
font-size: px2rem(24);
font-weight: 400;
background: url(../images/name1.png) no-repeat;
background-size: 100% 100%;
position: absolute;
top: px2rem(200);
left: 50%;
transform: translateX(-50%);
//超出省略号
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.score {
width: 100%;
text-align: center;
color: #AD4868;
font-size: px2rem(22);
font-weight: 400;
position: absolute;
left: 0;
top: 3.9rem;
}
}
.top2 {
width: px2rem(157);
height: px2rem(171);
position: absolute;
left: px2rem(25);
top: px2rem(-28);
.ts {
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
z-index: 2;
}
.tx {
width: px2rem(135);
height: px2rem(132);
position: absolute;
top: px2rem(4);
left: 50%;
transform: translateX(-50%);
border-radius: 50%;
}
.name {
width: 100%;
height: px2rem(84);
line-height: px2rem(84);
text-align: center;
color: #FFFFFF;
font-size: px2rem(24);
font-weight: 400;
background: url(../images/name2.png) no-repeat;
background-size: 100% 100%;
position: absolute;
top: px2rem(170);
left: 50%;
transform: translateX(-50%);
//超出省略号
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.score {
width: 100%;
text-align: center;
color: #AD4868;
font-size: px2rem(22);
font-weight: 400;
position: absolute;
left: 0;
top: 3.5rem;
}
}
.top3 {
width: px2rem(157);
height: px2rem(171);
position: absolute;
right: px2rem(25);
top: px2rem(-28);
.ts {
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
z-index: 2;
}
.tx {
width: px2rem(135);
height: px2rem(132);
position: absolute;
top: px2rem(4);
left: 50%;
transform: translateX(-50%);
border-radius: 50%;
}
.name {
width: 100%;
height: px2rem(84);
line-height: px2rem(84);
text-align: center;
color: #FFFFFF;
font-size: px2rem(24);
font-weight: 400;
background: url(../images/name3.png) no-repeat;
background-size: 100% 100%;
position: absolute;
top: px2rem(170);
left: 50%;
transform: translateX(-50%);
//超出省略号
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.score {
width: 100%;
text-align: center;
color: #AD4868;
font-size: px2rem(22);
font-weight: 400;
position: absolute;
left: 0;
top: 3.5rem;
}
}
}
ul {
width: px2rem(642);
margin: 0 auto px2rem(138);
overflow-y: scroll;
height: 6.6rem;
&::-webkit-scrollbar {
display: none;
}
li {
width: 100%;
height: px2rem(120);
line-height: px2rem(120);
margin-bottom: px2rem(15);
background: #FFF7F9;
border-radius: px2rem(12);
.num {
width: px2rem(60);
height: 100%;
text-align: center;
color: #AD4868;
font-size: px2rem(36);
font-weight: bold;
float: left;
margin-right: px2rem(22);
}
.tx {
width: px2rem(82);
height: px2rem(82);
box-sizing: border-box;
border: px2rem(1) solid #FE71B8;
float: left;
margin-top: px2rem(19);
margin-right: px2rem(17);
border-radius: 50%;
}
.name {
width: px2rem(155);
height: 100%;
color: #AD4868;
font-size: px2rem(26);
font-weight: 500;
//超出省略号
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
float: left;
}
.score {
float: right;
color: #AD4868;
font-size: px2rem(22);
font-weight: 400;
margin-right: px2rem(28);
}
}
}
.my {
position: absolute;
width: 100%;
height: px2rem(138);
line-height: px2rem(138);
bottom: 0;
left: 0;
background: url(../images/my.png) no-repeat;
background-size: 100% 100%;
overflow: hidden;
.num {
width: px2rem(60);
height: 100%;
text-align: center;
color: #AD4868;
font-size: px2rem(20);
font-weight: 400;
float: left;
margin-right: px2rem(22);
margin-left: px2rem(24);
}
.tx {
width: px2rem(82);
height: px2rem(82);
box-sizing: border-box;
border: px2rem(1) solid #FE71B8;
float: left;
margin-top: px2rem(29);
margin-right: px2rem(17);
border-radius: 50%;
}
.name {
width: px2rem(155);
height: 100%;
color: #AD4868;
font-size: px2rem(26);
font-weight: 500;
//超出省略号
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
float: left;
}
.score {
float: right;
color: #AD4868;
font-size: px2rem(22);
font-weight: 400;
margin-right: px2rem(28);
}
}
}
}
.bootom {
margin-bottom: px2rem(20);
p {
width: 100%;
text-align: center;
color: #7E0033;
font-size: px2rem(24);
font-weight: 400;
margin-bottom: px2rem(15);
}
}
.rule {
display: none;
position: fixed;
left: 0;
top: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, .8);
z-index: 99;
.rule_in {
width: px2rem(614);
height: px2rem(1015);
background: url(../images/rule_bg.png) no-repeat;
background-size: 100% 100%;
position: relative;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
overflow: hidden;
.tabRule {
width: px2rem(488);
height: px2rem(76);
line-height: px2rem(76);
display: flex;
justify-content: space-between;
border-radius: px2rem(48);
background: #fff;
margin: px2rem(45) auto px2rem(19);
div {
text-align: center;
color: #CA5987;
font-size: px2rem(28);
font-weight: 500;
width: px2rem(244);
}
.act {
background: url(../images/rule_act.png) no-repeat;
background-size: 100% 100%;
color: #fff;
}
}
.box1 {
width: px2rem(551);
height: 11.4rem;
overflow-y: scroll;
margin: 0 auto;
// display: none;
&::-webkit-scrollbar {
display: none;
}
img {
display: block;
width: px2rem(544);
}
}
.box2 {
display: none;
.box2Tab {
width: px2rem(356);
height: px2rem(60);
margin: 0 auto px2rem(20);
display: flex;
justify-content: space-between;
div {
width: px2rem(176);
}
.tab1 {
background: url(../images/box2tab1.png) no-repeat;
background-size: 100% 100%;
}
.tab2 {
background: url(../images/box2tab2.png) no-repeat;
background-size: 100% 100%;
}
.act1 {
background: url(../images/box2tabAct1.png) no-repeat;
background-size: 100% 100%;
}
.act2 {
background: url(../images/box2tabAct2.png) no-repeat;
background-size: 100% 100%;
}
}
.imgBox {
width: px2rem(564);
height: 10rem;
margin: 0 auto;
overflow-y: scroll;
&::-webkit-scrollbar {
display: none;
}
img {
width: 100%;
display: block;
}
}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 447 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 129 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 693 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 347 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 380 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@@ -0,0 +1,112 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>新春福利</title>
<link rel="stylesheet" href="../../common/css/reset.css">
<link rel="stylesheet" href="./css/index.css">
</head>
<body>
<!-- 頂部返回 -->
<div class="back">
<img src="./images/travel/back.png" alt="">
</div>
<!-- 頭部 -->
<div class="header">
<img src="./images/rule_icon.png" alt="" class="rule_icon">
</div>
<!-- tab -->
<div class="tab">
<div class="tab1">新春福利</div>
<div class="">新春榜單</div>
</div>
<!-- 頁面1 -->
<div class="page1">
<img src="./images/pageImg1.png" alt="" class="pageImg1">
<img src="./images/pageImg2.png" alt="" class="pageImg2">
</div>
<!-- 頁面2 -->
<div class="page2">
<div class="box">
<!-- 切換 -->
<div class="listTab">
<div class="listTab1">財氣榜</div>
<div class="">福氣榜</div>
</div>
<!-- 前三 -->
<div class="topBox">
<div class="top1">
<img src="./images/ts1.png" alt="" class="ts">
<img src="./images/logo.png" alt="" class="tx">
<div class="name">用戶昵稱</div>
<div class="score">財氣值: <b>0</b></div>
</div>
<div class="top2">
<img src="./images/ts2.png" alt="" class="ts">
<img src="./images/logo.png" alt="" class="tx">
<div class="name">用戶昵稱</div>
<div class="score">財氣值: <b>0</b></div>
</div>
<div class="top3">
<img src="./images/ts3.png" alt="" class="ts">
<img src="./images/logo.png" alt="" class="tx">
<div class="name">用戶昵稱</div>
<div class="score">財氣值: <b>0</b></div>
</div>
</div>
<!-- 非前三 -->
<ul>
<li>
<div class="num">4</div>
<img src="./images/logo.png" alt="" class="tx">
<div class="name">用戶昵稱</div>
<div class="score">財氣值999999999</div>
</li>
</ul>
<div class="my">
<div class="num">未上榜</div>
<img src="./images/logo.png" alt="" class="tx">
<div class="name">用戶昵稱</div>
<div class="score">財氣值999999999</div>
</div>
</div>
</div>
<!-- 免責宣告 -->
<div class="bootom">
<p>本活動最終解釋權歸官方所有</p>
<p>本活動以及獎勵與蘋果/Google公司無關</p>
</div>
<!-- 彈窗規則 -->
<div class="rule">
<div class="rule_in">
<div class="tabRule">
<div class="act">活動規則</div>
<div>活動獎勵</div>
</div>
<div class="box1">
<img src="./images/rule1.png" alt="">
</div>
<div class="box2">
<div class="box2Tab">
<div class="tab1 act1"></div>
<div class="tab2"></div>
</div>
<div class="imgBox">
<img src="./images/img1.png" alt="" srcset="">
</div>
</div>
</div>
</div>
</body>
</html>
<script src="../../common/js/flexible.js"></script>
<script src="../../common/js/jquery-3.2.1.min.js"></script>
<script src="../../common/js/common2.js"></script>
<script src="../../common/js/layer.js"></script>
<script src="../../common/js/vconsole.min.js"></script>
<script src="../../common/js/route-constant.js"></script>
<script src="./js/index.js"></script>

View File

@@ -0,0 +1,158 @@
let urlPrefix = getUrlPrefix()
let browser = checkVersion()
let env = EnvCheck();
if (env == 'test') {
new VConsole();
}
// 封裝layer消息提醒框
let layerIndex
const showLoading = (content = '加載中...') => {
layer.open({
type: 2,
shadeClose: false,
content,
success (e) {
layerIndex = $(e).attr('index')
}
})
}
const hideLoading = (index) => {
layer.close(index)
}
const toastMsg = (content = '操作完成', time = 2) => {
layer.open({
content,
time,
skin: 'msg'
})
}
var rankType = 2;
// 初始化函數
$(function () {
getInfoFromClient()
setTimeout(function () {
// 頁面全屏
if (browser.app) {
if (browser.android) {
window.androidJsObj.initShowNav(false)
} else {
window.webkit.messageHandlers.initShowNav.postMessage(0)
}
};
// 頂部返回事件
$('.back').click(() => {
if (browser.android) {
window.androidJsObj.closeWebView()
} else {
window.webkit.messageHandlers.closeWebView.postMessage(null)
}
})
}, 100)
})
// 接口
function getRank () {
showLoading()
networkRequest({
type: 'get',
url: urlPrefix + '/act/special/gift/getRank',
data: { rankType: rankType, page: 1, pageSize: 30 },
success (res) {
if (res.code === 200) {
// 處理前三
var top3 = res.data.rankList.slice(0, 3);
var notTop3 = res.data.rankList.slice(3);
if (top3.length < 3) {
let arr = new Array(3 - top3.length).fill({
avatar: './images/logo.png',
nick: '虛位以待',
score: "0"
})
top3.push(...arr)
}
top3.forEach((res, index) => {
$(`.page2 .box .topBox .top${index + 1} .tx`).attr('src', res.avatar);
$(`.page2 .box .topBox .top${index + 1} .name`).text(res.nick);
$(`.page2 .box .topBox .top${index + 1} .score`).text(`${rankType == 2 ? "財氣值:" : "福氣值:"}${unitProcessing(res.score, 10000, 1, 'w')}`);
})
// 處理非前三
var str = '';
$('.page2 .box ul li').remove();
notTop3.forEach((res, i) => {
str += `
<li>
<div class="num">${res.ranking}</div>
<img src="${res.avatar}" alt="" class="tx">
<div class="name">${res.nick}</div>
<div class="score">${rankType == 2 ? "財氣值:" : "福氣值:"}${unitProcessing(res.score, 10000, 1, 'w')}</div>
</li>
`
})
$('.page2 .box ul').append(str);
// 處理自己
$('.page2 .box .my .tx').attr('src', res.data.meRank.avatar);
$('.page2 .box .my .num').text(res.data.meRank.ranking == 0 ? '未上榜' : res.data.meRank.ranking);
$('.page2 .box .my .name').text(res.data.meRank.nick);
$('.page2 .box .my .score').text(`${rankType == 2 ? "財氣值:" : "福氣值:"}${unitProcessing(res.data.meRank.score, 10000, 1, 'w')}`);
} else {
toastMsg(res.message)
}
hideLoading(layerIndex)
},
error (err) {
hideLoading(layerIndex)
toastMsg('網路錯誤,請退出重進')
}
})
}
// tab切換
$('.tab div').click(function () {
var i = $(this).index() + 1;
$('.page1,.page2').hide();
$(`.page${i}`).show();
$('.tab div').removeClass('tab1').removeClass('tab2');
$(this).addClass(`tab${i}`);
if (i == 2) {
getRank();
}
})
// 榜單切換
$('.page2 .box .listTab div').click(function () {
var i = $(this).index() + 1;
$('.page2 .box .listTab div').removeClass('listTab1').removeClass('listTab2');
$(this).addClass(`listTab${i}`);
if (i == 1) {
rankType = 2;
} else {
rankType = 4;
}
getRank()
})
// 規則切換
$('.rule .rule_in .tabRule div').click(function () {
var i = $(this).index() + 1;
$(this).addClass('act').siblings().removeClass('act');
$('.rule .rule_in .box1,.rule .rule_in .box2').hide();
$(`.rule .rule_in .box${i}`).show();
return false;
})
$('.rule .rule_in .box2 .box2Tab div').click(function () {
var i = $(this).index() + 1;
$('.rule .rule_in .box2 .box2Tab div').removeClass('act1').removeClass('act2')
$(this).addClass(`act${i}`);
$('.rule .rule_in .box2 .imgBox img').attr('src', `./images/img${i}.png`)
return false;
})
// 打開規則
$('.header .rule_icon').click(function () {
$('.rule').show();
bodyScroolFun(true);
})
// 關閉規則
$('.rule').click(function () {
$('.rule').hide();
bodyScroolFun(false);
return false;
})

View File

@@ -563,6 +563,9 @@ function getInfoFromClient () {
fontConvert(true);//调用字体转换函数
// }, 1000)
function fontConvert (fontConvertBool) {
if (window.location.pathname.match(/identity/)) {
return false;
}
function SconvertT () {//简体转换繁体
document.head.innerHTML = s2t(document.head.innerHTML);
document.body.innerHTML = s2t(document.body.innerHTML);
@@ -778,7 +781,7 @@ function networkRequest (reqObj = {}, type) {
if (browser.app) {
pubHeader.pub_ticket = pubInfo.ticket
} else {
pubHeader.h5_token =sessionStorage.getItem("ticket") ? sessionStorage.getItem("ticket") : '';
pubHeader.h5_token = sessionStorage.getItem("ticket") ? sessionStorage.getItem("ticket") : '';
}
const url = reqObj.url;
const commParams = objToParam(pubHeader);

7
view/peko/home/css/animate.css vendored Normal file

File diff suppressed because one or more lines are too long

View File

@@ -1,252 +1,676 @@
body,
html {
width: 100%;
height: 100%;
font-family: "Heiti SC", "Microsoft Sans Serif";
}
.container {
position: relative;
}
@media screen and (min-width: 769px) {
.m-bg {
.h5 {
display: none;
}
.m-bg img {
display: block;
body,
html {
width: 100%;
height: 100%;
background: linear-gradient(180deg, #302286 0%, #0E0B24 100%);
font-family: Avenir, Avenir;
cursor: pointer;
}
.homePc {
body .container,
html .container {
position: relative;
}
body .pc-bg,
html .pc-bg {
display: none;
}
body .homePc,
html .homePc {
width: 100%;
height: 10rem;
background: url(../images/homePc2.png) no-repeat;
background: url(../images/pcBgBig.png) no-repeat;
background-size: 100% 100%;
position: relative;
}
.homePc .charge {
width: 1.11rem;
body .homePc .diamound,
html .homePc .diamound {
width: 1.2rem;
height: 0.5rem;
line-height: 0.46667rem;
color: #FFFFFF;
font-size: 0.25rem;
text-align: center;
background: rgba(255, 255, 255, 0.2);
border-radius: .13rem;
font-size: 0.24rem;
color: #fff;
text-align: center;
line-height: 0.5rem;
border-radius: 0.53333rem;
box-sizing: border-box;
border: 1px solid #fff;
position: absolute;
top: 0.16rem;
right: 2.77rem;
right: 3.46667rem;
top: 0.3rem;
vertical-align: middle;
}
.homePc .googlePlay {
width: 2.2rem;
height: 0.7rem;
body .homePc .diamound img,
html .homePc .diamound img {
display: inline-block;
width: 0.33rem;
height: 0.33rem;
vertical-align: middle;
margin-top: -0.01rem;
}
body .homePc .pcIos,
html .homePc .pcIos {
width: 2.9rem;
height: 0.64rem;
position: absolute;
left: 2.4rem;
bottom: 3.4rem;
right: 5rem;
top: 5.855rem;
}
.homePc .appleStore {
width: 2.2rem;
height: 0.7rem;
body .homePc .pcAnd,
html .homePc .pcAnd {
width: 2.9rem;
height: 0.64rem;
position: absolute;
left: 2.4rem;
bottom: 2.5rem;
right: 5rem;
top: 6.79rem;
}
.homePc .apk {
width: 2.2rem;
height: 0.7rem;
position: absolute;
left: 2.4rem;
bottom: 1.6rem;
}
.eori {
body .bootom,
html .bootom {
width: 100%;
background: #30312C;
color: white;
padding: 0.2rem 0;
vertical-align: top;
}
.eori .gongsi {
display: flex;
justify-content: center;
position: fixed;
left: 0;
bottom: 0;
background: #0F0B27;
text-align: center;
color: #fff;
padding-bottom: 0.2rem;
padding-top: 0.1rem;
}
.eori .gongsi p {
font-size: 0.2rem;
}
.eori .gongsi p:nth-child(2) {
margin: 0 0.2rem;
body .bootom p,
html .bootom p {
margin-bottom: 0.1rem;
font-size: 0.15rem;
color: #B8B7BF;
}
}
@media screen and (max-width: 768px) {
body {
background-color: #0C0122;
}
.pc-bg {
.pc,
.homePc {
display: none;
}
.m-bg {
body,
html {
width: 100%;
height: 100%;
background: #0E0B24;
}
body .header,
html .header {
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 1.2rem;
box-sizing: border-box;
padding: 0 0.53333rem;
margin: 0.26667rem auto 0;
z-index: 3;
}
body .header .line,
html .header .line {
width: 90%;
height: 0.02667rem;
background: #fff;
opacity: .3;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 0;
}
body .header .logo,
html .header .logo {
display: block;
width: 0.85333rem;
height: 0.85333rem;
margin-right: 0.21333rem;
float: left;
}
.homeM {
width: 100%;
height: 14.89rem;
background: url(../images/homeM.png) no-repeat;
background-size: 100% 100%;
position: relative;
body .header .name,
html .header .name {
font-size: 0.46667rem;
color: #FFFFFF;
font-weight: 800;
float: left;
margin-top: 0.2rem;
}
.homeM .charge {
width: 1.11rem;
height: 0.5rem;
background: rgba(255, 255, 255, 0.2);
border-radius: .13rem;
font-size: 0.24rem;
body .header .diamound,
html .header .diamound {
width: 1.86667rem;
height: 0.74667rem;
line-height: 0.74667rem;
box-sizing: border-box;
border: 1px solid #fff;
vertical-align: middle;
color: #fff;
font-size: 0.32rem;
float: right;
margin-top: 0.05333rem;
margin-right: 0.42667rem;
text-align: center;
line-height: 0.5rem;
position: absolute;
top: 0.2rem;
right: 0.4rem;
border-radius: 0.74667rem;
}
.homeM .swiper {
body .header .diamound img,
html .header .diamound img {
vertical-align: middle;
width: 0.50667rem;
height: 0.42667rem;
display: inline-block;
margin-top: -0.1rem;
}
body .header .more,
html .header .more {
float: right;
width: 0.53333rem;
height: 0.53333rem;
display: block;
margin-top: 0.16rem;
}
body .h5,
html .h5 {
display: block;
width: 100%;
height: 8.6rem;
position: absolute;
top: 4.8rem;
height: 100%;
overflow: hidden;
}
.homeM .swiper .swiper-wrapper {
width: 60%;
height: 100%;
}
.homeM .swiper .swiper-wrapper .swiper-slide img {
body .h5 .pagesBox,
html .h5 .pagesBox {
width: 100%;
height: 100%;
transition: all .5s;
transform: translateY(0%);
}
.homeM .swiper .swiper-wrapper .swiper-slide-prev {
body .h5 .pagesBox .page1,
html .h5 .pagesBox .page1 {
width: 100%;
height: 90%;
margin-top: 0.6rem;
height: 100%;
position: relative;
overflow: hidden;
background: url(../images/h51.png) no-repeat center;
background-size: 10rem 100%;
}
.homeM .swiper .swiper-wrapper .swiper-slide-next {
width: 100%;
height: 90%;
margin-top: 0.6rem;
}
.homeM .logo {
body .h5 .pagesBox .page1 .pageTxte1,
html .h5 .pagesBox .page1 .pageTxte1 {
width: 6.42667rem;
height: 1.33333rem;
position: absolute;
bottom: 0.6rem;
left: 0;
width: 100%;
display: flex;
justify-content: space-evenly;
left: 1.44rem;
top: 5.01333rem;
}
.homeM .logo img {
width: 2.2rem;
height: 0.7rem;
}
.button-wrapper {
display: block;
body .h5 .pagesBox .page1 .pageTxte2,
html .h5 .pagesBox .page1 .pageTxte2 {
width: 6.42667rem;
height: 1.33333rem;
position: absolute;
left: 1.28rem;
top: 17.52rem;
width: 7.46667rem;
right: 1.44rem;
top: 6.77333rem;
}
body .h5 .pagesBox .page1 .downioad,
html .h5 .pagesBox .page1 .downioad {
width: 4.98667rem;
height: 1.22667rem;
}
.button-wrapper a {
display: inline-block;
width: 100%;
height: 100%;
}
.button2-wrapper {
display: block;
position: absolute;
left: 3.09333rem;
bottom: 1.70667rem;
width: 4rem;
height: 0.8rem;
background: rgba(255, 255, 255, 0);
left: 50%;
transform: translateX(-50%);
bottom: 2.96rem;
display: block;
}
.button2-wrapper a {
display: inline-block;
body .h5 .pagesBox .page1 .down,
html .h5 .pagesBox .page1 .down {
width: 0.50667rem;
height: 0.37333rem;
position: absolute;
left: 48%;
bottom: 0.26667rem;
}
body .h5 .pagesBox .page2,
html .h5 .pagesBox .page2 {
width: 100%;
height: 100%;
position: relative;
overflow: hidden;
}
.m-button {
body .h5 .pagesBox .page2 .pageText2,
html .h5 .pagesBox .page2 .pageText2 {
width: 10rem;
height: 10.85333rem;
position: relative;
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: 11.65333rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 2.50667rem;
}
body .h5 .pagesBox .page2 .pagetx1,
html .h5 .pagesBox .page2 .pagetx1 {
width: 6.34667rem;
height: 4.10667rem;
position: absolute;
left: 3.12rem;
top: 4.56rem;
}
body .h5 .pagesBox .page2 .pagetx2,
html .h5 .pagesBox .page2 .pagetx2 {
width: 6.34667rem;
height: 4.10667rem;
position: absolute;
left: 0.53333rem;
top: 9.17333rem;
}
body .h5 .pagesBox .page2 .downioad,
html .h5 .pagesBox .page2 .downioad {
width: 4.98667rem;
height: 1.12rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 1.66667rem;
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.05333rem;
body .h5 .pagesBox .page2 .down,
html .h5 .pagesBox .page2 .down {
width: 0.50667rem;
height: 0.37333rem;
width: 0.42667rem;
background: url(../images/icon_police.png) no-repeat;
position: absolute;
left: 48%;
bottom: 0.26667rem;
}
.eori .gongsi {
body .h5 .pagesBox .page3,
html .h5 .pagesBox .page3 {
width: 100%;
height: 100%;
position: relative;
overflow: hidden;
}
body .h5 .pagesBox .page3 .pageText3,
html .h5 .pagesBox .page3 .pageText3 {
width: 6.82667rem;
height: 1.52rem;
position: relative;
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: 11.65333rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 2.50667rem;
}
body .h5 .pagesBox .page3 .page3Icon1,
html .h5 .pagesBox .page3 .page3Icon1 {
width: 4.09333rem;
height: 2.93333rem;
position: absolute;
left: 5.68rem;
top: 5.65333rem;
}
body .h5 .pagesBox .page3 .page3Icon2,
html .h5 .pagesBox .page3 .page3Icon2 {
width: 4.32rem;
height: 3.09333rem;
position: absolute;
left: 0rem;
top: 4.85333rem;
}
body .h5 .pagesBox .page3 .page3Icon3,
html .h5 .pagesBox .page3 .page3Icon3 {
width: 4.32rem;
height: 3.09333rem;
position: absolute;
right: 0rem;
top: 10rem;
}
body .h5 .pagesBox .page3 .page3Icon4,
html .h5 .pagesBox .page3 .page3Icon4 {
width: 3.78667rem;
height: 2.72rem;
position: absolute;
left: 0rem;
top: 11.14667rem;
}
body .h5 .pagesBox .page3 .downioad,
html .h5 .pagesBox .page3 .downioad {
width: 4.98667rem;
height: 1.12rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 1.66667rem;
display: block;
}
body .h5 .pagesBox .page3 .down,
html .h5 .pagesBox .page3 .down {
width: 0.50667rem;
height: 0.37333rem;
position: absolute;
left: 48%;
bottom: 0.26667rem;
}
body .h5 .pagesBox .page4,
html .h5 .pagesBox .page4 {
width: 100%;
height: 100%;
position: relative;
overflow: hidden;
}
body .h5 .pagesBox .page4 .pageText4,
html .h5 .pagesBox .page4 .pageText4 {
width: 6.4rem;
height: 1.52rem;
position: relative;
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: 11.65333rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 2.50667rem;
}
body .h5 .pagesBox .page4 .page4Icon1,
html .h5 .pagesBox .page4 .page4Icon1 {
width: 5.57333rem;
height: 5.12rem;
position: absolute;
left: 0rem;
top: 5.12rem;
}
body .h5 .pagesBox .page4 .page4Icon2,
html .h5 .pagesBox .page4 .page4Icon2 {
width: 5.57333rem;
height: 5.12rem;
position: absolute;
right: 0rem;
top: 8.58667rem;
}
body .h5 .pagesBox .page4 .downioad,
html .h5 .pagesBox .page4 .downioad {
width: 4.98667rem;
height: 1.12rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 1.66667rem;
display: block;
}
body .h5 .pagesBox .page4 .down,
html .h5 .pagesBox .page4 .down {
width: 0.50667rem;
height: 0.37333rem;
position: absolute;
left: 48%;
bottom: 0.26667rem;
}
body .h5 .pagesBox .page5,
html .h5 .pagesBox .page5 {
width: 100%;
height: 100%;
background: url(../images/h55.png) no-repeat center;
background-size: 100% 17.92rem;
position: relative;
overflow: hidden;
}
body .h5 .pagesBox .page5 .pageTxte5,
html .h5 .pagesBox .page5 .pageTxte5 {
width: 6.61333rem;
height: 4.42667rem;
position: relative;
top: 3.41333rem;
display: block;
margin: 0 auto;
}
body .h5 .pagesBox .page5 .contactUs,
html .h5 .pagesBox .page5 .contactUs {
width: 3.62667rem;
height: 1.22667rem;
position: absolute;
display: block;
margin: 0 auto;
left: 50%;
transform: translateX(-50%);
bottom: 5.14667rem;
}
body .h5 .pagesBox .page5 .bootom,
html .h5 .pagesBox .page5 .bootom {
width: 100%;
position: absolute;
bottom: 0.32rem;
left: 0;
text-align: center;
color: #B4B4BA;
font-size: 0.32rem;
}
.eori .gongsi p {
line-height: 1.3;
font-size: 0.2rem;
body .h5 .pagesBox .page5 .bootom p,
html .h5 .pagesBox .page5 .bootom p {
margin-bottom: 0.10667rem;
}
.eori .gongsi p:nth-child(2) {
margin: 0;
body .h5 .pagesBox .page5 .downioad,
html .h5 .pagesBox .page5 .downioad {
width: 4.98667rem;
height: 1.22667rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 2.96rem;
display: block;
}
.eori .tit {
height: 1.6rem;
line-height: 1.6rem;
body .h5 .pagesBox .page5 .down,
html .h5 .pagesBox .page5 .down {
width: 0.50667rem;
height: 0.37333rem;
position: absolute;
left: 48%;
bottom: 0.26667rem;
}
body .h5 .menu,
html .h5 .menu {
width: 100%;
height: 0%;
background: #0E0B24;
position: fixed;
transition: all .2s;
left: 0;
top: 0;
overflow: hidden;
}
body .h5 .menu .top,
html .h5 .menu .top {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 1.2rem;
box-sizing: border-box;
padding: 0 0.53333rem;
margin: 0.26667rem auto 0;
z-index: 3;
top: 0;
left: 50%;
transform: translateX(-50%);
}
body .h5 .menu .top .line,
html .h5 .menu .top .line {
width: 90%;
height: 0.02667rem;
background: #fff;
opacity: .3;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 0;
}
body .h5 .menu .top .logo,
html .h5 .menu .top .logo {
display: block;
width: 0.85333rem;
height: 0.85333rem;
margin-right: 0.21333rem;
float: left;
}
body .h5 .menu .top .name,
html .h5 .menu .top .name {
font-size: 0.46667rem;
color: #FFFFFF;
font-weight: 800;
float: left;
margin-top: 0.2rem;
}
body .h5 .menu .top .diamound,
html .h5 .menu .top .diamound {
width: 1.86667rem;
height: 0.74667rem;
line-height: 0.74667rem;
box-sizing: border-box;
border: 1px solid #fff;
vertical-align: middle;
color: #fff;
font-size: 0.32rem;
float: right;
margin-top: 0.05333rem;
margin-right: 0.42667rem;
text-align: center;
font-size: 20px;
border-radius: 0.74667rem;
}
body .h5 .menu .top .diamound img,
html .h5 .menu .top .diamound img {
vertical-align: middle;
width: 0.50667rem;
height: 0.42667rem;
display: inline-block;
margin-top: -0.1rem;
}
body .h5 .menu .top .close,
html .h5 .menu .top .close {
float: right;
width: 0.53333rem;
height: 0.53333rem;
display: block;
margin-top: 0.16rem;
}
body .h5 .menu ul,
html .h5 .menu ul {
width: 100%;
height: 1.2rem;
box-sizing: border-box;
padding: 0 0.53333rem;
margin: 1.6rem auto 0;
}
body .h5 .menu ul li,
html .h5 .menu ul li {
width: 100%;
height: 1.54667rem;
line-height: 1.54667rem;
border-bottom: 1px solid rgba(255, 255, 255, 0.3);
display: flex;
justify-content: space-between;
}
body .h5 .menu ul li span,
html .h5 .menu ul li span {
color: #FFFFFF;
font-size: 0.42667rem;
}
body .h5 .menu ul li img,
html .h5 .menu ul li img {
width: 0.42667rem;
height: 0.42667rem;
display: block;
margin-top: 0.58667rem;
}
body .contactUs_pub,
html .contactUs_pub {
position: fixed;
z-index: 99;
left: 0;
top: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.6);
display: none;
}
body .contactUs_pub .contactUs_pub_in,
html .contactUs_pub .contactUs_pub_in {
width: 7.8rem;
height: 6.4rem;
left: 50%;
top: 50%;
position: relative;
transform: translate(-50%, -50%);
background: #fff;
border-radius: 0.42667rem;
overflow: hidden;
}
body .contactUs_pub .contactUs_pub_in .sClose,
html .contactUs_pub .contactUs_pub_in .sClose {
width: 0.42667rem;
height: 0.42667rem;
position: absolute;
right: 0.42667rem;
top: 0.34667rem;
}
body .contactUs_pub .contactUs_pub_in .title,
html .contactUs_pub .contactUs_pub_in .title {
text-align: center;
width: 100%;
margin-top: 0.48rem;
margin-bottom: 0.21333rem;
color: #1F1B4F;
font-size: 0.42667rem;
font-weight: 600;
}
body .contactUs_pub .contactUs_pub_in ul,
html .contactUs_pub .contactUs_pub_in ul {
width: 7.2rem;
margin: 0 auto 0;
}
body .contactUs_pub .contactUs_pub_in ul li,
html .contactUs_pub .contactUs_pub_in ul li {
width: 100%;
height: 1.49333rem;
line-height: 1.49333rem;
border-bottom: 0.02667rem solid #EBECF0;
}
body .contactUs_pub .contactUs_pub_in ul li img,
html .contactUs_pub .contactUs_pub_in ul li img {
display: block;
width: 0.64rem;
height: 0.64rem;
float: left;
margin-top: 0.42667rem;
margin-right: 0.58667rem;
}
body .contactUs_pub .contactUs_pub_in ul li span,
html .contactUs_pub .contactUs_pub_in ul li span {
display: block;
float: left;
height: 100%;
color: #1F1B4F;
font-size: 0.37333rem;
font-weight: 500;
}
body .contactUs_pub .contactUs_pub_in ul li span b,
html .contactUs_pub .contactUs_pub_in ul li span b {
color: #1F1B4F;
font-weight: bold;
}
}
.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;
}

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 954 B

After

Width:  |  Height:  |  Size: 403 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 501 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 489 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 304 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 356 KiB

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 922 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 599 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 443 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@@ -2,105 +2,168 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<meta name="renderer" content="webkit">
<meta name="format-detection" content="telphone=no, email=no" />
<meta name="HandheldFriendly" content="true">
<meta name="MobileOptimized" content="375">
<meta name="screen-orientation" content="portrait">
<meta name="x5-orientation" content="portrait">
<meta name="full-screen" content="yes">
<meta name="x5-fullscreen" content="true">
<meta name="browsermode" content="application">
<meta name="x5-page-mode" content="app">
<meta name="msapplication-tap-highlight" content="no">
<meta name="apple-mobile-web-app-capable" content="no" />
<meta name="format-detection" content="telephone=no">
<title>piko</title>
<!-- <link rel="stylesheet" href="./home/css/reset.css"> -->
<link rel="shortcut icon" href="./images/pikolive.png" type="image/x-icon">
<link rel="stylesheet" href="./css/reset.css">
<link rel="stylesheet" href="./css/index.css">
<!-- <link rel="stylesheet" href="./home/css/index.css"> -->
<link rel="stylesheet" href="./css/swiper.min.css">
<!-- <script src="./js/flexible.js"></script> -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>piko</title>
<link rel="shortcut icon" href="./images/logo.png" type="image/x-icon">
<link rel="stylesheet" href="../common/css/reset.css">
<link rel="stylesheet" href="./css/animate.css">
<link rel="stylesheet" href="./css/index.css?v=1.1">
</head>
<body>
<div class="container">
<div class="pc-bg">
<!-- <img src="./images/homePc.png" alt=""> -->
<div class="homePc">
<div class="charge">儲值</div>
<div class="googlePlay"></div>
<div class="appleStore"></div>
<div class="apk"></div>
</div>
</div>
<div class="m-bg">
<!-- <img src="./images/homeM.png" alt=""> -->
<div class="homeM">
<div class="charge">儲值</div>
<!-- 轮播 -->
<div class="swiper-container swiper">
<div class="swiper-wrapper">
<div class="swiper-slide">
<img src="./images/pic1.png" alt="">
<!-- pc端 -->
<div class="container pc">
<div class="pc-bg">
<!-- <img src="./images/homePc.png" alt=""> -->
<div class="homePc">
<div class="diamound">
<img src="./images/diamond.png" alt=""> 儲值
</div>
<div class="pcIos"></div>
<div class="pcAnd"></div>
</div>
<div class="swiper-slide">
<img src="./images/pic2.png" alt="">
<div class="bootom">
<p>Hongkong Han Fei Technology Co.,Limited</p>
<p>CR No:3040005&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Address: BLDG. 19-21 HING YIP STREET KWUN TONG.KLN
</p>
</div>
<div class="swiper-slide">
<img src="./images/pic3.png" alt="">
</div>
</div>
<!-- <div class="swiper-pagination swp"></div> -->
</div>
<div class="logo">
<img class="googlePlay" src="./images/googlePlay2.png" alt="">
<img class="appleStore" src="./images/appleStore.png" alt="">
<img class="apk" src="./images/apk.png" alt="">
</div>
<!-- h5端 -->
<div class="h5">
<!-- 頭部 -->
<div class="header">
<!-- logo -->
<img src="./images/logo.png" alt="" class="logo">
<!-- app -->
<div class="name">PIKO</div>
<!-- 更多 -->
<img src="./images/more.png" alt="" class="more">
<!-- 儲值 -->
<div class="diamound">
<img src="./images/diamond.png" alt=""> 儲值
</div>
<!---->
<div class="line"></div>
</div>
<div class="pagesBox">
<!-- 頁面1 -->
<div class="pages page1 animate__animated">
<img src="./images/pageTxte1.png" alt="" class="pageTxte1 animate__animated animate__slow__3s">
<img src="./images/pageTxte2.png" alt="" class="pageTxte2 animate__animated animate__slow__3s">
<!-- <img src="./images/h5And.png" alt="" class="h5And animate__animated animate__slow__1.8s"> -->
<img style="display: none;" src="" alt="" class="downioad animate__animated animate__slow__1.8s">
<img src="./images/down.png" alt="" class="down animate__animated animate__slideInDown animate__slow">
</div>
<!-- 頁面2 -->
<div class="pages page2">
<img src="./images/pageText2.png" alt="" class="pageText2 animate__animated ">
<img src="./images/page2.png" alt="" class="page2_in">
<img src="./images/pagetx1.png" alt="" class="pagetx1 animate__animated ">
<img src="./images/pagetx2.png" alt="" class="pagetx2 animate__animated ">
<img src="./images/downioad.png" alt="" class="downioad animate__animated ">
<img src="./images/down.png" alt="" class="down animate__animated animate__slideInDown animate__slow ">
</div>
<!-- 頁面3 -->
<div class="pages page3">
<img src="./images/pageText3.png" alt="" class="pageText3 animate__animated">
<img src="./images/page3.png" alt="" class="page3_in">
<img src="./images/page3Icon1.png" alt="" class="page3Icon1 animate__animated animate__delay-2s">
<img src="./images/page3Icon2.png" alt="" class="page3Icon2 animate__animated animate__delay-1s">
<img src="./images/page3Icon3.png" alt="" class="page3Icon3 animate__animated animate__delay-4s">
<img src="./images/page3Icon4.png" alt="" class="page3Icon4 animate__animated animate__delay-3s">
<img src="./images/downioad.png" alt="" class="downioad animate__animated">
<img src="./images/down.png" alt="" class="down animate__animated animate__slideInDown animate__slow ">
</div>
<!-- 頁面4 -->
<div class="pages page4">
<img src="./images/pageText4.png" alt="" class="pageText4 animate__animated">
<img src="./images/page4.png" alt="" class="page4_in">
<img src="./images/page4Icon2.png" alt="" class="page4Icon2 animate__animated">
<img src="./images/page4Icon1.png" alt="" class="page4Icon1 animate__animated">
<img src="./images/downioad.png" alt="" class="downioad animate__animated">
<img src="./images/down.png" alt="" class="down animate__animated animate__slideInDown animate__slow ">
</div>
<!-- 頁面5 -->
<div class="pages page5">
<img src="./images/pageTxte5.png" alt="" class="pageTxte5 animate__animated">
<img src="./images/contactUs.png" alt="" class="contactUs animate__animated">
<img src="./images/downioad.png" alt="" class="downioad animate__animated">
<!-- <img src="./images/down.png" alt="" class="down"> -->
<div class="bootom">
<p>Hongkong Han Fei Technology Co.,Limited</p>
<p>CR No:3040005</p>
<p style="margin-bottom:0">Address: BLDG. 19-21 HING YIP STREET KWUN TONG.KLN</p>
</div>
</div>
</div>
<!-- 菜單 -->
<div class="menu">
<!-- 頭部 -->
<div class="top">
<!-- logo -->
<img src="./images/logo.png" alt="" class="logo">
<!-- app -->
<div class="name">PIKO</div>
<!-- 更多 -->
<img src="./images/close.png" alt="" class="close">
<!-- 儲值 -->
<div class="diamound">
<img src="./images/diamond.png" alt=""> 儲值
</div>
</div>
<ul>
<li>
<span>首頁</span>
<img src="./images/rightIcon.png" alt="">
</li>
<li>
<span>錢包</span>
<img src="./images/rightIcon.png" alt="">
</li>
<li>
<span>聯繫我們</span>
<img src="./images/rightIcon.png" alt="">
</li>
</ul>
</div>
<!-- 聯繫我們彈窗 -->
<div class="contactUs_pub">
<div class="contactUs_pub_in">
<img src="./images/sClose.png" alt="" class="sClose">
<div class="title">聯繫我們</div>
<ul>
<li class="li1">
<img src="./images/wx.png" alt="">
<span><b>Wehchat:</b> sd245376</span>
</li>
<li class="li2">
<img src="./images/line.png" alt="">
<span><b>Line:</b> pekoyuyin</span>
</li>
<li class="li3">
<img src="./images/email.png" alt="">
<span><b>Email:</b> pikoservice@outlook.com</span>
</li>
</ul>
</div>
</div>
</div>
</div>
<!-- <div class="button-wrapper download">
</div>
<div class="button2-wrapper download">
</div> -->
<div class="eori">
<!-- <div class="recordfoot">
<i class="record"></i>
<a href="https://beian.miit.gov.cn/#/Integrated/index">粤ICP备2020098441号</a>
</div> -->
<div class="gongsi">
<p>Hongkong Han Fei Technology Co., Limited</p>
<!-- <p>香港翰飞科技有限公司</p> -->
<p>CR No:3040005 </p>
<p>AddressBLDG. 19-21 HING YIP STREET KWUN TONG, KLN</p>
</div>
</div>
</div>
<div class="toast">敬请期待</div>
<div class="tips">
<img src="./images/tips.png" alt="">
</div>
<script src="./js/jquery.min.js"></script>
<script src="./js/common.js"></script>
<script src="./js/jquery.qrcode.js"></script>
<script src="http://static.lkme.cc/linkedme.min.js"></script>
<script src="./js/utf.js"></script>
<script src="./js/swiper.min.js"></script>
<script src="./js/index.js?v=2.2"></script>
<script src="../common/js/flexible.js"></script>
<script src="./js/jquery.min.js"></script>
<script src="./js/common.js"></script>
<script src="../common/js/layer.js"></script>
<script src="../common/js/vconsole.min.js"></script>
<script src="./js/index.js?v=1.0"></script>
</body>
</html>

File diff suppressed because it is too large Load Diff

View File

@@ -1,84 +1,44 @@
/* eslint-disable semi */
/* eslint-disable no-undef */
let version = checkVersion()
let urlData = getQueryString()
const urlPrefix = getUrlPrefix()
//获取url参数
let channelData = urlData.channel
//定义官方渠道包
const channelDict = {
'poke0': 'https://image.lecheng163.com/poke_poke0.apk',
'poke1': 'https://image.lecheng163.com/poke_poke1.apk',
'poke2': 'https://image.lecheng163.com/poke_poke2.apk',
'poke3': 'https://image.lecheng163.com/poke_poke3.apk',
'poke4': 'https://image.lecheng163.com/poke_poke4.apk',
'poke5': 'https://image.lecheng163.com/poke_poke5.apk',
'poke6': 'https://image.lecheng163.com/poke_poke6.apk',
'poke7': 'https://image.lecheng163.com/poke_poke7.apk',
'poke8': 'https://image.lecheng163.com/poke_poke8.apk',
'poke9': 'https://image.lecheng163.com/poke_poke9.apk',
'poke10': 'https://image.lecheng163.com/poke_poke10.apk',
'gongzhonghao': 'https://image.lecheng163.com/poke_gongzhonghao.apk',
'zhaohui': 'https://image.lecheng163.com/zhaohui.apk'
// 'baomihua01': 'https://image.lecheng163.com/accompany_release_v_213_1_baomihua01_sign.apk'
let urlPrefix = getUrlPrefix()
let browser = checkVersion()
let env = EnvCheck();
if (env == 'test') {
new VConsole();
}
$(function () {
//判断url参数是否是与渠道包名一致
let androidUrl = null;
channelDict.hasOwnProperty(channelData) ? androidUrl = channelDict[channelData] : androidUrl = 'https://play.google.com/store/apps/details?id=com.vele.pekolive';
let iosUrl = 'http://doudouyue.com/8axv' //ios企业包
// let iosUrl = 'https://apps.apple.com/cn/app/id1571083482' //ios商店包
if (version.ios) {
$('.button-wrapper').on('click', function () {
if (version.weixin) {
$('.tips').show()
return
}
window.location.href = iosUrl;
})
} else if (version.android) {
$('.button-wrapper').on('click', function () {
if (version.weixin) {
$('.tips').show()
return
}
window.location.href = androidUrl;
})
} else {
$('.button-wrapper').on('click', function () {
window.location.href = androidUrl;
})
$('.button2-wrapper').on('click', function () {
window.location.href = iosUrl;
})
}
})
function swiperFun () {
var swiper = new Swiper('.swiper', {
direction: 'horizontal',
loop: true,
autoplay: 5000,
slidesPerView: "auto",
centeredSlides: true,
spaceBetween: 0,
initialSlide: 1,//默认第二个居中
});
// 封裝layer消息提醒框
let layerIndex
const showLoading = (content = '加載中...') => {
layer.open({
type: 2,
shadeClose: false,
content,
success (e) {
layerIndex = $(e).attr('index')
}
})
}
const hideLoading = (index) => {
layer.close(index)
}
const toastMsg = (content = '操作完成', time = 2) => {
layer.open({
content,
time,
skin: 'msg'
})
}
var ios;
var and;
var url;
var androidSkipType;
var iosSkipType;
// 初始化函數
$(function () {
$(document).ready(function () {
var deviceWidth = document.documentElement.clientWidth;
if (deviceWidth > 768) {
document.documentElement.style.fontSize = deviceWidth / 19.20 + 'px';
} else {
document.documentElement.style.fontSize = deviceWidth / 7.50 + 'px';
// document.documentElement.style.fontSize = deviceWidth / 7.50 + 'px';
}
});
window.onresize = function () {
@@ -87,35 +47,232 @@ $(function () {
if (deviceWidth > 768) {
document.documentElement.style.fontSize = deviceWidth / 19.20 + 'px';
} else {
document.documentElement.style.fontSize = deviceWidth / 7.50 + 'px';
// document.documentElement.style.fontSize = deviceWidth / 7.50 + 'px';
}
}
swiperFun();
//跳转pc端充值
$('.homePc .charge').click(function () {
window.location.href = urlPrefix + '/peko/modules/payPc/index.html?channelType=4';
})
// 跳转移动端h5充值
$('.homeM .charge').click(function () {
window.location.href = urlPrefix + '/peko/modules/pay/index.html?channelType=4';
})
// logo跳转
$('.googlePlay').click(function () {
return
window.location.href = 'https://play.google.com/store/apps/details?id=com.vele.pekolive'
})
$('.appleStore').click(function () {
// console.log(version, 'version');
if (version.webKit && version.ios) {
window.location.href = 'https://apps.apple.com/cn/app/id6446155565'
}
else {
window.location.href = 'http://doudouyue.com/3gh2'
getInfoFromClient();
getConfig();
})
// 獲取配置接口
function getConfig () {
showLoading();
networkRequest({
type: 'GET',
url: urlPrefix + '/official/config',
success (res) {
// 處理聯繫方式
$(`.contactUs_pub .contactUs_pub_in ul .li1 span`).html(`<b>Wehchat:</b> ${res.data.contact0}`);
$(`.contactUs_pub .contactUs_pub_in ul .li2 span`).html(`<b>Line:</b> ${res.data.contact1}`);
$(`.contactUs_pub .contactUs_pub_in ul .li3 span`).html(`<b>Email:</b> ${res.data.contact2}`);
// 賦值下載
and = res.data.androidUrl;
ios = res.data.iosUrl;
androidSkipType = res.data.androidSkipType;
iosSkipType = res.data.iosSkipType;
// console.log(browser);
$('body .h5 .pagesBox .pages .downioad').show();
if (browser.ios) {
url = ios;
$('body .h5 .pagesBox .pages .downioad').attr('src', './images/h5Ios.png');
} else if (browser.android) {
url = and;
$('body .h5 .pagesBox .pages .downioad').attr('src', './images/h5And.png');
}
$('body .h5 .pagesBox .page2 .downioad,body .h5 .pagesBox .page3 .downioad,body .h5 .pagesBox .page4 .downioad').attr('src', './images/downioad.png');
$('.pc-bg').show();
hideLoading(layerIndex)
animatedImplementFun(0);
},
error (err) {
hideLoading(layerIndex)
}
})
$('.apk').click(function () {
window.location.href = 'https://img.pekolive.com/piko_official.apk'
}
// 点击记录接口
function officialClick (downloadType, downloadUrl) {
// showLoading();
networkRequest({
type: 'GET',
url: urlPrefix + '/official/click',
data: { downloadType, downloadUrl },
success (res) {
},
error (err) {
hideLoading(layerIndex)
}
})
})
}
// 監聽滑動事件
let startY
var length = $('.h5 .pages').length - 1;//
var index = 0;
var touchLength = 100;
$('body .h5').on('touchstart', function (e) {
startY = e.touches[0].pageY
})
$('body .h5').on('touchend', function (e) {
let endY = e.originalEvent.changedTouches[0].pageY
// 上滑
if (startY - endY >= 50) {
if (index > length - 1) {
return;
} else {
index = index + 1;
$('.pagesBox').css("transform", `translateY(-${index * touchLength}%)`);
animatedImplementFun(index);
}
}
//下滑
else if (endY - startY >= 50) {
if (index > 0) {
index = index - 1;
$('.pagesBox').css("transform", `translateY(-${index * touchLength}%)`);
animatedImplementFun(index);
}
}
})
// 動畫調用
function animatedImplementFun (index) {
if (index == 0) {
animatedFun($(`body .h5 .pagesBox .page1 .pageTxte1`), ['animate__fadeInLeft',]);
animatedFun($(`body .h5 .pagesBox .page1 .pageTxte2`), ['animate__fadeInRight',]);
// animatedFun($(`body .h5 .pagesBox .page1 .downioad`), ['animate__wobble',]);
// animatedFun($(`body .h5 .pagesBox .page1 .down`), ['animate__slideInDown',]);
} else if (index == 1) {
// animatedFun($(`body .h5 .pagesBox .page2 .pageText2`), ['animate__bounce',]);
animatedFun($(`body .h5 .pagesBox .page2 .pagetx1`), ['animate__bounceInRight',]);
animatedFun($(`body .h5 .pagesBox .page2 .pagetx2`), ['animate__bounceInLeft',]);
// animatedFun($(`body .h5 .pagesBox .page2 .down`), ['animate__slideInDown',]);
// animatedFun($(`body .h5 .pagesBox .page2 .downioad`), ['animate__wobble',]);
} else if (index == 2) {
// animatedFun($(`body .h5 .pagesBox .page3 .pageText3`), ['animate__rubberBand',]);
animatedFun($(`body .h5 .pagesBox .page3 .page3Icon1`), ['animate__lightSpeedInRight',]);
animatedFun($(`body .h5 .pagesBox .page3 .page3Icon2`), ['animate__lightSpeedInLeft',]);
animatedFun($(`body .h5 .pagesBox .page3 .page3Icon3`), ['animate__lightSpeedInRight',]);
animatedFun($(`body .h5 .pagesBox .page3 .page3Icon4`), ['animate__lightSpeedInLeft',]);
// animatedFun($(`body .h5 .pagesBox .page3 .down`), ['animate__slideInDown',]);
// animatedFun($(`body .h5 .pagesBox .page3 .downioad`), ['animate__slideInUp',]);
} else if (index == 3) {
// animatedFun($(`body .h5 .pagesBox .page4 .pageText4 `), ['animate__rubberBand',]);
animatedFun($(`body .h5 .pagesBox .page4 .page4Icon1 `), ['animate__lightSpeedInLeft',]);
animatedFun($(`body .h5 .pagesBox .page4 .page4Icon2 `), ['animate__lightSpeedInRight',]);
// animatedFun($(`body .h5 .pagesBox .page4 .down`), ['animate__slideInDown',]);
// animatedFun($(`body .h5 .pagesBox .page4 .downioad `), ['animate__slideInUp',]);
} else if (index == 4) {
// animatedFun($(`body .h5 .pagesBox .page5 .pageTxte5 `), ['animate__jackInTheBox',]);
// animatedFun($(`body .h5 .pagesBox .page5 .contactUs `), ['animate__flipInY',]);
// animatedFun($(`body .h5 .pagesBox .page5 .downioad `), ['animate__slideInUp',]);
}
}
// 處理動畫
function animatedFun (dom, arrClass) {
// 獲取元素
const element = dom;
// 添加動畫
element.addClass(...arrClass);
// 監聽動畫結束
element[0].addEventListener('animationend', () => {
element.removeClass(...arrClass);
});
}
// pc跳轉充值
$('body .pc .header .diamound, html .pc .header .diamound,body .homePc .diamound, html .homePc .diamound').click(function () {
window.location = 'https://api.pekolive.com/peko/modules/payPc/index.html?channelType=4'
})
// PC蘋果下載按鈕
$('html .pc .pcIos').click(function () {
if (ios) {
officialClick(0, ios);
window.location = ios;
} else {
toastMsg('暫未開放下載,詳情請聯繫客服')
}
})
// PC安卓下載按鈕
$('html .pc .pcAnd').click(function () {
if (and) {
officialClick(1, and);
window.location = and;
} else {
toastMsg('暫未開放下載,詳情請聯繫客服')
}
})
// h5跳轉充值
$('body .header .diamound, html .header .diamound').click(function () {
window.location = 'https://api.pekolive.com/peko/modules/pay/index.html?channelType=4'
})
// h5展開菜單
$('body .header .more, html .header .more').click(function () {
$('.menu').css("z-index", "4");
$('.menu').css("height", "100%");
})
// h5收起菜單
$('body .h5 .menu .top .close, html .h5 .menu .top .close').click(function () {
$('.menu').css("z-index", "1");
$('.menu').css("height", "0%");
})
// 菜單選項按鈕
$('body .h5 .menu ul li, html .h5 .menu ul li').click(function () {
var i = $(this).index() + 1;
if (i == 1) {
$('.menu').css("z-index", "1");
$('.menu').css("height", "0%");
$('.pagesBox').css("transform", `translateY(-${0}%)`);
index = 0;
} else if (i == 2) {
window.location = 'https://api.pekolive.com/peko/modules/h5Income/login.html'
} else {
$('.menu').css("height", "0%");
$('.contactUs_pub').show();
}
})
// 關閉聯繫我們彈窗
$('body .contactUs_pub .contactUs_pub_in .sClose').click(function () {
$('.contactUs_pub').hide();
})
// 打開聯繫我們彈窗
$('.page5 .contactUs').click(function () {
$('.contactUs_pub').show();
})
// h5首頁安卓下載
$('body .h5 .pagesBox .page1 .h5And').click(function () {
if (and) {
officialClick(1, and);
window.location = and;
} else {
toastMsg('暫未開放下載,詳情請聯繫客服')
}
})
// h5首頁蘋果下載
$('body .h5 .pagesBox .page1 .h5Ios').click(function () {
if (ios) {
officialClick(0, ios);
window.location = ios;
} else {
toastMsg('暫未開放下載,詳情請聯繫客服')
}
})
// h5自動識別普通下載
$('body .h5 .pagesBox .pages .downioad').click(function () {
if (url) {
if (browser.ios) {
officialClick(0, url);
window.location = url;
} else if (browser.android) {
officialClick(1, url);
window.location = url;
} else {
$('.menu').css("z-index", "1");
$('.pagesBox').css("transform", `translateY(-${0}%)`);
index = 0;
}
} else {
toastMsg('暫未開放下載,詳情請聯繫客服')
}
})
// 禁止瀏覽器下拉刷新
document.addEventListener('touchmove', event => {
event.preventDefault()
}, { passive: false })

View File

@@ -0,0 +1,2 @@
//本插件由www.swiper.com.cn提供
function swiperAnimateCache(){for(allBoxes=window.document.documentElement.querySelectorAll(".ani"),i=0;i<allBoxes.length;i++)allBoxes[i].attributes["style"]?allBoxes[i].setAttribute("swiper-animate-style-cache",allBoxes[i].attributes["style"].value):allBoxes[i].setAttribute("swiper-animate-style-cache"," "),allBoxes[i].style.visibility="hidden"}function swiperAnimate(a){clearSwiperAnimate();var b=a.slides[a.activeIndex].querySelectorAll(".ani");for(i=0;i<b.length;i++)b[i].style.visibility="visible",effect=b[i].attributes["swiper-animate-effect"]?b[i].attributes["swiper-animate-effect"].value:"",b[i].className=b[i].className+" "+effect+" "+"animated",style=b[i].attributes["style"].value,duration=b[i].attributes["swiper-animate-duration"]?b[i].attributes["swiper-animate-duration"].value:"",duration&&(style=style+"animation-duration:"+duration+";-webkit-animation-duration:"+duration+";"),delay=b[i].attributes["swiper-animate-delay"]?b[i].attributes["swiper-animate-delay"].value:"",delay&&(style=style+"animation-delay:"+delay+";-webkit-animation-delay:"+delay+";"),b[i].setAttribute("style",style)}function clearSwiperAnimate(){for(allBoxes=window.document.documentElement.querySelectorAll(".ani"),i=0;i<allBoxes.length;i++)allBoxes[i].attributes["swiper-animate-style-cache"]&&allBoxes[i].setAttribute("style",allBoxes[i].attributes["swiper-animate-style-cache"].value),allBoxes[i].style.visibility="hidden",allBoxes[i].className=allBoxes[i].className.replace("animated"," "),allBoxes[i].attributes["swiper-animate-effect"]&&(effect=allBoxes[i].attributes["swiper-animate-effect"].value,allBoxes[i].className=allBoxes[i].className.replace(effect," "))}

View File

@@ -0,0 +1,252 @@
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 {
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.46667rem;
height: 1.22667rem;
}
.button-wrapper a {
display: inline-block;
width: 100%;
height: 100%;
}
.button2-wrapper {
display: block;
position: absolute;
left: 3.09333rem;
bottom: 1.70667rem;
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.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;
}
}
.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

@@ -0,0 +1,336 @@
@function px2rem($px) {
@return $px / 75+rem;
}
body,
html {
width: 100%;
height: 100%;
font-family: "Heiti SC", "Microsoft Sans Serif";
//overflow: hidden;
}
.container {
position: relative;
}
// pc端
@media screen and (min-width:769px) {
.m-bg {
display: none;
img {
display: block;
}
}
.homePc {
width: 100%;
height: 10rem;
background: url(../images/homePc2.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.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 {
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;
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;
}

View File

@@ -0,0 +1,144 @@
/**
* Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
* http://cssreset.com
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header,
menu, nav, output, ruby, section, summary,
time, mark, audio, video, input {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font-weight: normal;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
/* custom */
a {
color: #7e8c8d;
text-decoration: none;
-webkit-backface-visibility: hidden;
}
li {
list-style: none;
}
::-webkit-scrollbar {
width: 5px;
height: 5px;
}
::-webkit-scrollbar-track-piece {
background-color: rgba(0, 0, 0, 0.2);
-webkit-border-radius: 6px;
}
::-webkit-scrollbar-thumb:vertical {
height: 5px;
background-color: rgba(125, 125, 125, 0.7);
-webkit-border-radius: 6px;
}
::-webkit-scrollbar-thumb:horizontal {
width: 5px;
background-color: rgba(125, 125, 125, 0.7);
-webkit-border-radius: 6px;
}
html, body {
width: 100%;
}
body {
-webkit-text-size-adjust: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
img{
width: 100%;
vertical-align: top;
}
.mask,.share-mask {
position: fixed;
width: 100%;
left: 0;
bottom: 0;
display: flex;
height: 60px;
align-items: center;
background: rgba(0, 0, 0, 0.5);
justify-content: space-between;
padding: 0 8px;
box-sizing: border-box;
color:#fff;
display: none; }
.mask .logo {
width: 40px;
}
.mask .slogan {
color: #fff;
margin: 0 8px;
}
#download {
border: 1px solid #fff;
color: #fff;
width: 80px;
text-align: center;
border-radius: 15px;
line-height: 30px; }
#download a{
color: #fff; }
.share-mask{
padding: 0 16px;
}
.share-mask .shareBtn{
border-radius: 6px;
background: linear-gradient(to right,#fe95c0,#ff83b5);
height: 30px;
line-height: 30px;
width: 80px;
text-align: center;
}
.singleTemplate{
display: none;
}

15
view/peko/home1/css/swiper.min.css vendored Normal file

File diff suppressed because one or more lines are too long

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

Before

Width:  |  Height:  |  Size: 6.4 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

View File

Before

Width:  |  Height:  |  Size: 6.4 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

View File

Before

Width:  |  Height:  |  Size: 1012 B

After

Width:  |  Height:  |  Size: 1012 B

View File

Before

Width:  |  Height:  |  Size: 1021 B

After

Width:  |  Height:  |  Size: 1021 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 954 B

View File

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

View File

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

Before

Width:  |  Height:  |  Size: 554 KiB

After

Width:  |  Height:  |  Size: 554 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 356 KiB

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Some files were not shown because too many files have changed in this diff Show More