Compare commits
39 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
c6410f6d33 | ||
![]() |
fc98b7f93c | ||
![]() |
1fbc64721e | ||
![]() |
1694d222d6 | ||
![]() |
d44a302a2f | ||
![]() |
d459bb3a93 | ||
![]() |
9def117874 | ||
![]() |
6a84f98e41 | ||
![]() |
ebc54bd4a0 | ||
![]() |
c08811e593 | ||
![]() |
08656587a1 | ||
![]() |
195c550ef1 | ||
![]() |
c18cd57b9e | ||
![]() |
e717dd00ba | ||
![]() |
490a2e698d | ||
![]() |
8da092a707 | ||
![]() |
5e029a3c04 | ||
![]() |
74715febed | ||
![]() |
59ac905999 | ||
![]() |
b0f828f4a3 | ||
![]() |
2a76f79507 | ||
![]() |
312d60d55e | ||
![]() |
6a6665af3c | ||
![]() |
440dc1b73d | ||
![]() |
1b436d60a5 | ||
![]() |
9ff5b68fc8 | ||
![]() |
c7982c7484 | ||
![]() |
185de5dc77 | ||
![]() |
6a2ec77c04 | ||
![]() |
61ca0a167a | ||
![]() |
4508621f41 | ||
![]() |
b4bd899ce4 | ||
![]() |
62a9f2c4a6 | ||
![]() |
693b19c076 | ||
![]() |
7a75f36d6b | ||
![]() |
33bc6ebd86 | ||
![]() |
bb3cd87401 | ||
![]() |
c366781143 | ||
![]() |
0d1261e87c |
@@ -502,6 +502,10 @@ body {
|
||||
font-size: 0.34667rem;
|
||||
}
|
||||
|
||||
.speed_rogress .speed_rogress_top .spanAct {
|
||||
color: #00ffea;
|
||||
}
|
||||
|
||||
.speed_rogress .speed_rogress_top .speed {
|
||||
width: 4.66667rem;
|
||||
height: 0.44rem;
|
||||
@@ -521,6 +525,7 @@ body {
|
||||
.speed_rogress .speed_rogress_top .speed div img {
|
||||
width: 0;
|
||||
height: 0.33333rem;
|
||||
border-radius: 0.33333rem;
|
||||
display: block;
|
||||
}
|
||||
|
||||
@@ -719,6 +724,10 @@ body {
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.bottom .swiper .swiper-slide div strong .iAct {
|
||||
color: #00ffea;
|
||||
}
|
||||
|
||||
.bottom .swiper .swiper-slide div strong b {
|
||||
color: #7962A7;
|
||||
font-size: 0.26667rem;
|
||||
@@ -730,6 +739,11 @@ body {
|
||||
}
|
||||
|
||||
.bottom .swiper .swiper-slide .div_active {
|
||||
background-size: 100% 100%;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.bottom .swiper .swiper-slide .div_active1 {
|
||||
background: url(../images/div_active.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
border: none;
|
||||
@@ -770,10 +784,16 @@ body {
|
||||
|
||||
.refining .refining_in p {
|
||||
margin-top: 0.98667rem;
|
||||
width: 100%;
|
||||
width: 90%;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
font-size: 0.32rem;
|
||||
margin: 0.98667rem auto 0;
|
||||
line-height: 0.45rem;
|
||||
}
|
||||
|
||||
.refining .refining_in p b {
|
||||
color: #00E5F9;
|
||||
}
|
||||
|
||||
.refining .refining_in div {
|
||||
@@ -781,7 +801,7 @@ body {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
box-sizing: border-box;
|
||||
margin-top: 0.74667rem;
|
||||
margin-top: 0.53333rem;
|
||||
padding: 0 0.73333rem;
|
||||
}
|
||||
|
||||
@@ -967,6 +987,61 @@ body {
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.investment2 {
|
||||
display: none;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
z-index: 88;
|
||||
}
|
||||
|
||||
.investment2 .investment_in {
|
||||
width: 6.88rem;
|
||||
height: 5.57333rem;
|
||||
background: url(../images/add_put.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
position: relative;
|
||||
left: 50%;
|
||||
top: 40%;
|
||||
transform: translate(-50%, -50%);
|
||||
box-sizing: border-box;
|
||||
padding-top: 0.38667rem;
|
||||
}
|
||||
|
||||
.investment2 .investment_in p {
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
font-size: 0.32rem;
|
||||
width: 85%;
|
||||
position: absolute;
|
||||
top: 1.5rem;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
line-height: 0.45rem;
|
||||
}
|
||||
|
||||
.investment2 .investment_in p b {
|
||||
color: #00ffea;
|
||||
}
|
||||
|
||||
.investment2 .investment_in img {
|
||||
position: absolute;
|
||||
width: 2.50667rem;
|
||||
height: 1rem;
|
||||
top: 3.5rem;
|
||||
}
|
||||
|
||||
.investment2 .investment_in .close {
|
||||
left: 0.6rem;
|
||||
}
|
||||
|
||||
.investment2 .investment_in .ok {
|
||||
right: 0.6rem;
|
||||
}
|
||||
|
||||
.record {
|
||||
display: none;
|
||||
position: fixed;
|
||||
|
@@ -17,6 +17,7 @@
|
||||
url('../../../common/fonts/PingFang-Regular.ttf') format('truetype'),
|
||||
url('../../../common/fonts/PingFang-Regular.ttf') format('svg');
|
||||
}
|
||||
|
||||
.back {
|
||||
position: fixed;
|
||||
top: px2rem(50);
|
||||
@@ -52,7 +53,8 @@ body {
|
||||
|
||||
.step1 {
|
||||
display: none;
|
||||
.step_tips{
|
||||
|
||||
.step_tips {
|
||||
width: px2rem(684);
|
||||
height: px2rem(328);
|
||||
// margin: px2rem(553) px2rem(30) 0;
|
||||
@@ -61,6 +63,7 @@ body {
|
||||
left: px2rem(30);
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
.step_but {
|
||||
width: px2rem(108);
|
||||
height: px2rem(121);
|
||||
@@ -71,9 +74,11 @@ body {
|
||||
z-index: 999;
|
||||
}
|
||||
}
|
||||
|
||||
.step2 {
|
||||
display: none;
|
||||
.step_tips{
|
||||
|
||||
.step_tips {
|
||||
width: px2rem(684);
|
||||
height: px2rem(328);
|
||||
// margin: px2rem(1043) px2rem(30) 0;
|
||||
@@ -82,6 +87,7 @@ body {
|
||||
left: px2rem(30);
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
.xuxian_qp {
|
||||
width: px2rem(126);
|
||||
height: px2rem(75);
|
||||
@@ -90,6 +96,7 @@ body {
|
||||
left: px2rem(374);
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
.xuxian_bar {
|
||||
width: 1.8rem;
|
||||
height: 1.3rem;
|
||||
@@ -98,6 +105,7 @@ body {
|
||||
right: 0.85rem;
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
.step_but {
|
||||
width: px2rem(108);
|
||||
height: px2rem(121);
|
||||
@@ -108,9 +116,11 @@ body {
|
||||
z-index: 999;
|
||||
}
|
||||
}
|
||||
|
||||
.step3 {
|
||||
display: none;
|
||||
.step_tips{
|
||||
|
||||
.step_tips {
|
||||
width: px2rem(684);
|
||||
height: px2rem(328);
|
||||
position: absolute;
|
||||
@@ -118,6 +128,7 @@ body {
|
||||
left: px2rem(30);
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
.xuxian_c {
|
||||
width: px2rem(708);
|
||||
height: px2rem(295);
|
||||
@@ -126,6 +137,7 @@ body {
|
||||
left: px2rem(21);
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
.step_but {
|
||||
width: px2rem(108);
|
||||
height: px2rem(121);
|
||||
@@ -135,9 +147,11 @@ body {
|
||||
z-index: 999;
|
||||
}
|
||||
}
|
||||
|
||||
.step4 {
|
||||
display: none;
|
||||
.step_tips{
|
||||
|
||||
.step_tips {
|
||||
width: px2rem(684);
|
||||
height: px2rem(328);
|
||||
position: absolute;
|
||||
@@ -145,7 +159,8 @@ body {
|
||||
left: px2rem(30);
|
||||
z-index: 999;
|
||||
}
|
||||
.xuxian_c{
|
||||
|
||||
.xuxian_c {
|
||||
width: px2rem(690);
|
||||
height: px2rem(690);
|
||||
position: absolute;
|
||||
@@ -153,6 +168,7 @@ body {
|
||||
left: px2rem(30);
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
.success_wrap {
|
||||
display: none;
|
||||
z-index: 999;
|
||||
@@ -176,15 +192,18 @@ body {
|
||||
background: url(../images/qipao3.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
span {
|
||||
margin-top: px2rem(22);
|
||||
font-family: 'pingfang-regular';
|
||||
font-size: px2rem(24);
|
||||
color: #fff;
|
||||
|
||||
b {
|
||||
color: #FDD411;
|
||||
}
|
||||
}
|
||||
|
||||
p {
|
||||
margin-top: px2rem(14);
|
||||
font-family: 'pingfang-regular';
|
||||
@@ -192,6 +211,7 @@ body {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
.bad_wrap {
|
||||
display: none;
|
||||
z-index: 999;
|
||||
@@ -214,15 +234,18 @@ body {
|
||||
background: url(../images/qipao_bad.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
span {
|
||||
margin-top: px2rem(22);
|
||||
font-family: 'pingfang-regular';
|
||||
font-size: px2rem(24);
|
||||
color: #fff;
|
||||
|
||||
b {
|
||||
color: #FDD411;
|
||||
}
|
||||
}
|
||||
|
||||
p {
|
||||
margin-top: px2rem(14);
|
||||
font-family: 'pingfang-regular';
|
||||
@@ -230,12 +253,13 @@ body {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
.head_wrap {
|
||||
height: px2rem(1139);
|
||||
}
|
||||
|
||||
.header {
|
||||
width: 100%;
|
||||
height: px2rem(1018);
|
||||
@@ -253,7 +277,7 @@ body {
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
|
||||
.record_icon {
|
||||
width: px2rem(48);
|
||||
height: px2rem(123);
|
||||
@@ -377,9 +401,11 @@ body {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-evenly;
|
||||
|
||||
.tab_item {
|
||||
width: px2rem(188);
|
||||
height: px2rem(60);
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
@@ -460,6 +486,7 @@ body {
|
||||
background: url(../images/but_active.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.xs_but_active {
|
||||
background: url(../images/xs_but_active.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
@@ -482,6 +509,7 @@ body {
|
||||
color: #fff;
|
||||
font-size: px2rem(22);
|
||||
text-align: center;
|
||||
|
||||
span {
|
||||
color: #FBE5B5;
|
||||
}
|
||||
@@ -511,6 +539,10 @@ body {
|
||||
font-size: px2rem(26);
|
||||
}
|
||||
|
||||
.spanAct {
|
||||
color: #00ffea;
|
||||
}
|
||||
|
||||
.speed {
|
||||
width: px2rem(350);
|
||||
height: px2rem(33);
|
||||
@@ -530,6 +562,7 @@ body {
|
||||
width: 0;
|
||||
// width: px2rem(342);
|
||||
height: px2rem(25);
|
||||
border-radius: px2rem(25);
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
@@ -679,24 +712,6 @@ body {
|
||||
margin-right: 0.6rem;
|
||||
transform: translateX(42%);
|
||||
|
||||
// .div_active {
|
||||
// background: url(../images/div_active.png) no-repeat;
|
||||
// background-size: 100% 100%;
|
||||
// border: none;
|
||||
// width: px2rem(120);
|
||||
// height: px2rem(120);
|
||||
// border-radius: px2rem(12);
|
||||
// float: left;
|
||||
// position: relative;
|
||||
// margin-bottom: px2rem(67);
|
||||
// box-sizing: border-box;
|
||||
// margin-right: 0.6rem;
|
||||
// transform: translateX(42%);
|
||||
// position: absolute;
|
||||
// left: -0.1rem;
|
||||
// top: 0;
|
||||
// }
|
||||
|
||||
img {
|
||||
position: absolute;
|
||||
width: px2rem(101);
|
||||
@@ -749,6 +764,10 @@ body {
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.iAct {
|
||||
color: #00ffea;
|
||||
}
|
||||
|
||||
b {
|
||||
color: #7962A7;
|
||||
font-size: px2rem(20);
|
||||
@@ -762,6 +781,12 @@ body {
|
||||
}
|
||||
|
||||
.div_active {
|
||||
// background: url(../images/div_active.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.div_active1 {
|
||||
background: url(../images/div_active.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
border: none;
|
||||
@@ -803,10 +828,16 @@ body {
|
||||
|
||||
p {
|
||||
margin-top: px2rem(74);
|
||||
width: 100%;
|
||||
width: 90%;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
font-size: px2rem(24);
|
||||
margin: px2rem(74) auto 0;
|
||||
line-height: 0.45rem;
|
||||
|
||||
b {
|
||||
color: #00E5F9;
|
||||
}
|
||||
}
|
||||
|
||||
div {
|
||||
@@ -814,7 +845,7 @@ body {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
box-sizing: border-box;
|
||||
margin-top: px2rem(56);
|
||||
margin-top: px2rem(40);
|
||||
padding: 0 px2rem(55);
|
||||
|
||||
img {
|
||||
@@ -1003,6 +1034,59 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
.investment2 {
|
||||
display: none;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
z-index: 88;
|
||||
|
||||
.investment_in {
|
||||
width: px2rem(516);
|
||||
height: px2rem(418);
|
||||
background: url(../images/add_put.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
position: relative;
|
||||
left: 50%;
|
||||
top: 40%;
|
||||
transform: translate(-50%, -50%);
|
||||
// overflow: hidden;
|
||||
box-sizing: border-box;
|
||||
padding-top: px2rem(29);
|
||||
|
||||
p {
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
font-size: 0.32rem;
|
||||
width: 85%;
|
||||
position: absolute;
|
||||
top: 1.5rem;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
line-height: 0.45rem;
|
||||
b{
|
||||
color: #00ffea;
|
||||
}
|
||||
}
|
||||
|
||||
img {
|
||||
position: absolute;
|
||||
width: 2.50667rem;
|
||||
height: 1rem;
|
||||
top: 3.5rem;
|
||||
}
|
||||
.close{
|
||||
left: 0.6rem;
|
||||
}
|
||||
.ok{
|
||||
right: 0.6rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.record {
|
||||
display: none;
|
||||
position: fixed;
|
||||
@@ -1050,6 +1134,7 @@ body {
|
||||
border-radius: 50%;
|
||||
border: 1px solid #C6ADFF;
|
||||
}
|
||||
|
||||
.no_tx {
|
||||
display: block;
|
||||
width: px2rem(73);
|
||||
@@ -1239,15 +1324,18 @@ body {
|
||||
background: url(../images/qipao3.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
span {
|
||||
margin-top: px2rem(22);
|
||||
font-family: 'pingfang-regular';
|
||||
font-size: px2rem(24);
|
||||
color: #fff;
|
||||
|
||||
b {
|
||||
color: #FDD411;
|
||||
}
|
||||
}
|
||||
|
||||
p {
|
||||
margin-top: px2rem(14);
|
||||
font-family: 'pingfang-regular';
|
||||
@@ -1296,15 +1384,18 @@ body {
|
||||
background: url(../images/qipao3.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
span {
|
||||
margin-top: px2rem(22);
|
||||
font-family: 'pingfang-regular';
|
||||
font-size: px2rem(24);
|
||||
color: #fff;
|
||||
|
||||
b {
|
||||
color: #FDD411;
|
||||
}
|
||||
}
|
||||
|
||||
p {
|
||||
margin-top: px2rem(14);
|
||||
font-family: 'pingfang-regular';
|
||||
@@ -1353,15 +1444,18 @@ body {
|
||||
background: url(../images/qipao_bad.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
span {
|
||||
margin-top: px2rem(22);
|
||||
font-family: 'pingfang-regular';
|
||||
font-size: px2rem(24);
|
||||
color: #fff;
|
||||
|
||||
b {
|
||||
color: #FDD411;
|
||||
}
|
||||
}
|
||||
|
||||
p {
|
||||
margin-top: px2rem(14);
|
||||
font-family: 'pingfang-regular';
|
||||
@@ -1378,4 +1472,4 @@ body {
|
||||
transform: translateX(-50%);
|
||||
top: 56%;
|
||||
}
|
||||
}
|
||||
}
|
@@ -8,7 +8,7 @@
|
||||
<title>魔法小屋</title>
|
||||
<link rel="stylesheet" href="../../common/css/reset.css">
|
||||
<link rel="stylesheet" href="./css/swiper-bundle.min.css">
|
||||
<link rel="stylesheet" href="./css/index.css?v=1.2">
|
||||
<link rel="stylesheet" href="./css/index.css?v=1.20">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@@ -150,7 +150,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<!-- 添加減少彈框 -->
|
||||
<div class="investment">
|
||||
<div class="investment" style="z-index: 99;">
|
||||
<div class="investment_in">
|
||||
<!-- <img src="./images/del.png" alt="" class="closeBut"> -->
|
||||
<p class="title">選擇投入:</p>
|
||||
@@ -166,6 +166,14 @@
|
||||
<div class="but"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 超出弹窗提醒 -->
|
||||
<div class="investment2" style="z-index: 100;">
|
||||
<div class="investment_in">
|
||||
<p>投入禮物的價值將<b>高於</b>合成所需價值,確認繼續投入嗎?</p>
|
||||
<img class="close" src="./images/refining_close.png" alt="">
|
||||
<img class="ok" src="./images/refining_ok.png" alt="">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 規則寶典 -->
|
||||
<div class="rule">
|
||||
@@ -245,4 +253,4 @@
|
||||
<script src="../../common/js/vconsole.min.js"></script>
|
||||
<script src="../../common/js/route-constant.js"></script>
|
||||
<script src="./js/swiper-bundle.min.js"></script>
|
||||
<script src="./js/index.js?v=1.2"></script>
|
||||
<script src="./js/index.js?v=1.20"></script>
|
@@ -7,7 +7,7 @@ const showLoading = (content = '加載中...') => {
|
||||
type: 2,
|
||||
shadeClose: false,
|
||||
content,
|
||||
success(e) {
|
||||
success (e) {
|
||||
layerIndex = $(e).attr('index')
|
||||
}
|
||||
})
|
||||
@@ -25,7 +25,7 @@ const toastMsg = (content = '操作完成', time = 2) => {
|
||||
|
||||
|
||||
var mySwiper
|
||||
function swiperFun(mySwiper) {
|
||||
function swiperFun (mySwiper) {
|
||||
mySwiper = new Swiper('.swiper', {
|
||||
loop: false, // 循環模式選項
|
||||
// 如果需要分頁器
|
||||
@@ -80,31 +80,31 @@ $(function () {
|
||||
window.webkit.messageHandlers.initShowNav.postMessage(0)
|
||||
}
|
||||
}
|
||||
document.addEventListener('touchstart', function (event) {
|
||||
// document.addEventListener('touchstart', function (event) {
|
||||
|
||||
if (event.touches.length > 1) {
|
||||
// if (event.touches.length > 1) {
|
||||
|
||||
event.preventDefault();
|
||||
// event.preventDefault();
|
||||
|
||||
}
|
||||
// }
|
||||
|
||||
})
|
||||
// })
|
||||
|
||||
var lastTouchEnd = 0;
|
||||
// var lastTouchEnd = 0;
|
||||
|
||||
document.addEventListener('touchend', function (event) {
|
||||
// document.addEventListener('touchend', function (event) {
|
||||
|
||||
var now = (new Date()).getTime();
|
||||
// var now = (new Date()).getTime();
|
||||
|
||||
if (now - lastTouchEnd <= 300) {
|
||||
// if (now - lastTouchEnd <= 300) {
|
||||
|
||||
event.preventDefault();
|
||||
// event.preventDefault();
|
||||
|
||||
}
|
||||
// }
|
||||
|
||||
lastTouchEnd = now;
|
||||
// lastTouchEnd = now;
|
||||
|
||||
}, false)
|
||||
// }, false)
|
||||
changeTab(tabIndex)
|
||||
noticeFun();
|
||||
getXsDataFun();
|
||||
@@ -113,7 +113,7 @@ $(function () {
|
||||
}, 100);
|
||||
})
|
||||
// 播放svg
|
||||
function svgaFun() {
|
||||
function svgaFun () {
|
||||
player1 = new SVGA.Player('.luzis');
|
||||
parser1 = new SVGA.Parser('.luzis');
|
||||
parser1.load('./images/luzi.svga', function (videoItem) {
|
||||
@@ -132,7 +132,7 @@ function svgaFun() {
|
||||
})
|
||||
})
|
||||
}
|
||||
function xsSvgaFun() {
|
||||
function xsSvgaFun () {
|
||||
player1 = new SVGA.Player('.luzis');
|
||||
parser1 = new SVGA.Parser('.luzis');
|
||||
parser1.load('./images/xs_luzi.svga', function (videoItem) {
|
||||
@@ -150,9 +150,18 @@ function xsSvgaFun() {
|
||||
// 練造按鈕
|
||||
$('.header .but').click(function () {
|
||||
var ifs = $(this).attr('ifckick') == undefined ? 0 : 1;
|
||||
if (ifs == 1) {
|
||||
var valArr = $('.speed_rogress .speed_rogress_top p').text().match(/\d+(\.\d+)?/g);
|
||||
if (ifs == 1 && valArr[0] >= valArr[1]) {
|
||||
if (headerBut) {
|
||||
headerBut = false;
|
||||
// console.log(valArr[0])
|
||||
// console.log(valArr[1] * 0.5)
|
||||
// console.log((valArr[0] - valArr[1])>= valArr[1]* 0.5 ? '超过百分之五十了':'合理范围内');
|
||||
if ((valArr[0] - valArr[1]) > 1000) {
|
||||
$('.refining .refining_in p').html('當前投入禮物值<b>已超過</b>煉制進度值,確認繼續煉制嗎?')
|
||||
} else {
|
||||
$('.refining .refining_in p').html('確認選擇這些背包禮物進行煉制嗎?')
|
||||
}
|
||||
$('.refining').show();
|
||||
}
|
||||
} else {
|
||||
@@ -160,7 +169,7 @@ $('.header .but').click(function () {
|
||||
}
|
||||
})
|
||||
//公告欄
|
||||
function guangGao() {
|
||||
function guangGao () {
|
||||
clearInterval(timeInterval);
|
||||
timeInterval = setInterval(function () {
|
||||
$('.header .notice ul').animate({
|
||||
@@ -173,12 +182,12 @@ function guangGao() {
|
||||
}, 2000);
|
||||
}
|
||||
// 輪播
|
||||
function noticeFun() {
|
||||
function noticeFun () {
|
||||
showLoading();
|
||||
networkRequest({
|
||||
type: 'GET',
|
||||
url: urlPrefix + '/gift/compound/record/top',
|
||||
success(res) {
|
||||
success (res) {
|
||||
if (res.code === 200) {
|
||||
var str = ``;
|
||||
res.data.forEach(res => {
|
||||
@@ -193,18 +202,18 @@ function noticeFun() {
|
||||
}
|
||||
hideLoading(layerIndex);
|
||||
},
|
||||
error(err) {
|
||||
error (err) {
|
||||
toastMsg('網絡錯誤,請退出重進');
|
||||
}
|
||||
})
|
||||
}
|
||||
// 合成禮物列錶
|
||||
function getDataFun() {
|
||||
function getDataFun () {
|
||||
showLoading();
|
||||
networkRequest({
|
||||
type: 'GET',
|
||||
url: urlPrefix + '/gift/compound/giftList',
|
||||
success(res) {
|
||||
success (res) {
|
||||
if (res.code === 200) {
|
||||
getDataArr = res.data;
|
||||
getDataArr.forEach((res, index) => {
|
||||
@@ -217,18 +226,18 @@ function getDataFun() {
|
||||
}
|
||||
hideLoading(layerIndex);
|
||||
},
|
||||
error(err) {
|
||||
error (err) {
|
||||
toastMsg('網絡錯誤,請退出重進');
|
||||
}
|
||||
})
|
||||
}
|
||||
// 限時合成禮物列錶
|
||||
function getXsDataFun() {
|
||||
function getXsDataFun () {
|
||||
showLoading();
|
||||
networkRequest({
|
||||
type: 'GET',
|
||||
url: urlPrefix + '/gift/compound/limit/giftList',
|
||||
success(res) {
|
||||
success (res) {
|
||||
if (res.code === 200) {
|
||||
if (tabIndex == 1) {
|
||||
console.log('渲染限時合成禮物');
|
||||
@@ -241,32 +250,31 @@ function getXsDataFun() {
|
||||
}
|
||||
xsOpen = true;
|
||||
$(".header .tab_wrap").show();
|
||||
} else if(res.code === 26001){
|
||||
} else if (res.code === 26001) {
|
||||
xsOpen = false;
|
||||
$(".header .tab_wrap").hide();
|
||||
}else if(res.code === 26002){
|
||||
} else if (res.code === 26002) {
|
||||
$(".header .tab_wrap").show();
|
||||
xsOpen = false;
|
||||
}else {
|
||||
} else {
|
||||
toastMsg(res.message);
|
||||
// console.log(res);
|
||||
}
|
||||
hideLoading(layerIndex);
|
||||
},
|
||||
error(err) {
|
||||
error (err) {
|
||||
toastMsg('網絡錯誤,請退出重進');
|
||||
}
|
||||
})
|
||||
}
|
||||
// 初始化渲染合成禮物
|
||||
function dataRendering(getDataArrIndex) {
|
||||
function dataRendering (getDataArrIndex) {
|
||||
// console.log('getDataArrIndex',getDataArr);
|
||||
$('.header .qipao img').attr('src', getDataArr[getDataArrIndex].giftUrl);
|
||||
$('.header .qipao img').attr('RewardId', getDataArr[getDataArrIndex].compoundRewardId);
|
||||
$('.header .qipao img').attr('giftId', getDataArr[getDataArrIndex].giftId);
|
||||
$('.header .qipao p').html(`<span>${getDataArr[getDataArrIndex].giftName}</span>(${getDataArr[getDataArrIndex].goldPrice}鉆)`);
|
||||
$('.speed_rogress .speed_rogress_top p').html(`<span>${getDataArr[0].fraction}</span>/${getDataArr[getDataArrIndex].expendValue}`);
|
||||
// console.log(Number($('.speed_rogress .speed_rogress_top p span').text()) / getDataArr[getDataArrIndex].goldPrice * 100)
|
||||
$('.speed_rogress .speed_rogress_top p').html(`<span class='span'>${getDataArr[0].fraction}</span>/${getDataArr[getDataArrIndex].expendValue}`);
|
||||
let percent = Number($('.speed_rogress .speed_rogress_top p span').text()) / getDataArr[getDataArrIndex].expendValue * 100
|
||||
if (percent > 100) {
|
||||
$('.speed_rogress .speed_rogress_top .bar_wrap .line').css({ 'width': '100%' })
|
||||
@@ -334,29 +342,16 @@ $('.header .right_but').click(function () {
|
||||
}
|
||||
})
|
||||
// 獲取背包禮物
|
||||
function listUserBackpackFun() {
|
||||
function listUserBackpackFun () {
|
||||
showLoading();
|
||||
networkRequest({
|
||||
type: 'GET',
|
||||
url: urlPrefix + '/backpack/listUserBackpack',
|
||||
data: { uid: pubInfo.uid },
|
||||
success(res) {
|
||||
success (res) {
|
||||
if (res.code === 200) {
|
||||
if (res.data.length == 0) {
|
||||
// $('.bottom .b_Top').after(`
|
||||
// <div class="swiper">
|
||||
// <div class="swiper-wrapper">
|
||||
// <div class="not">
|
||||
// <div>
|
||||
// <p>當前暫無多余背包禮物,</p>
|
||||
// <p>無法煉制合成禮物哦~</p>
|
||||
// </div>
|
||||
// </div>
|
||||
// </div>
|
||||
// </div>
|
||||
// `);
|
||||
$('.bottom .swiper .not').show();
|
||||
// $('.bottom .swiper .swiper-slide').hide();
|
||||
} else {
|
||||
// 為了解決tab切換時swiper插件重復初始化導致分頁原點錯亂問題,每次都重新創建swiper的盒子
|
||||
$('.bottom .swiper').remove();
|
||||
@@ -408,7 +403,7 @@ function listUserBackpackFun() {
|
||||
// 點擊背包禮物列錶
|
||||
$('.bottom .swiper .swiper-slide div').click(function () {
|
||||
// 防止合成時點擊繼續添加
|
||||
if(headerBut){
|
||||
if (headerBut) {
|
||||
// console.log('防止合成時點擊繼續添加');
|
||||
$(this).parent().siblings().children().removeClass('div_active');
|
||||
$(this).addClass('div_active').siblings().removeClass('div_active');
|
||||
@@ -418,7 +413,6 @@ function listUserBackpackFun() {
|
||||
$('.investment .investment_in .num input').val(objs[Number($('.bottom .swiper .swiper-slide .div_active').attr('giftid'))].num);
|
||||
var srcs = $('.bottom .swiper .swiper-slide .div_active img').attr('src');
|
||||
$('.investment .investment_in .qipao img').attr("src", srcs);
|
||||
// $('.bottom .swiper .swiper-slide div strong i')
|
||||
$(this).children('strong').children('i').text(objs[Number($(this).attr('giftid'))].num);
|
||||
$('.investment').show();
|
||||
size1 = Number($('.investment .investment_in .num input').val());
|
||||
@@ -432,19 +426,19 @@ function listUserBackpackFun() {
|
||||
}
|
||||
hideLoading(layerIndex);
|
||||
},
|
||||
error(err) {
|
||||
error (err) {
|
||||
toastMsg('網絡錯誤,請退出重進');
|
||||
}
|
||||
})
|
||||
}
|
||||
//合成記錄
|
||||
function recordFun(pageNum) {
|
||||
function recordFun (pageNum) {
|
||||
showLoading();
|
||||
networkRequest({
|
||||
type: 'GET',
|
||||
url: urlPrefix + '/gift/compound/record',
|
||||
data: { pageNum, pageSize: 10 },
|
||||
success(res) {
|
||||
success (res) {
|
||||
if (res.code === 200) {
|
||||
if (res.data.length == 0 && pageNum == 1) {
|
||||
$('.record').hide();
|
||||
@@ -487,7 +481,7 @@ function recordFun(pageNum) {
|
||||
}
|
||||
hideLoading(layerIndex);
|
||||
},
|
||||
error(err) {
|
||||
error (err) {
|
||||
isLock = true;
|
||||
toastMsg('網絡錯誤,請退出重進');
|
||||
}
|
||||
@@ -496,7 +490,7 @@ function recordFun(pageNum) {
|
||||
var isJL = false;
|
||||
// 確認投入按鈕
|
||||
$('.investment .investment_in .but').click(function () {
|
||||
// $('.bottom .swiper .swiper-slide .div_active strong').show();
|
||||
var valArr = $('.speed_rogress .speed_rogress_top p').text().match(/\d+(\.\d+)?/g);
|
||||
var giftIds = $('.bottom .swiper .swiper-slide .div_active').attr('giftId');
|
||||
var val = $('.investment .investment_in .num input').val();
|
||||
objs[Number($('.bottom .swiper .swiper-slide .div_active').attr('giftid'))].num = val;
|
||||
@@ -504,19 +498,11 @@ $('.investment .investment_in .but').click(function () {
|
||||
var goldprice = Number($('.bottom .swiper .swiper-slide .div_active').attr(`goldprice`))
|
||||
compoundParam.compoundList.push({ giftId: Number(giftIds), num: giftNum })
|
||||
size2 = Number($('.investment .investment_in .num input').val());
|
||||
console.log('isJL', isJL);
|
||||
console.log('size1', size1);
|
||||
console.log('size2', size2);
|
||||
|
||||
|
||||
if (isJL) {
|
||||
if (size1 < size2) {
|
||||
console.log('增加了');
|
||||
//++
|
||||
// if ($('.speed_rogress .speed_rogress_top p span').text() == 0) {
|
||||
// Number($('.speed_rogress .speed_rogress_top p span').text())
|
||||
// getDataArr[0].fraction = Number($('.bottom .swiper .swiper-slide .div_active').attr(`ad`)) + goldprice * val;
|
||||
// }
|
||||
var goldprice = Number($('.bottom .swiper .swiper-slide .div_active').attr(`goldprice`));
|
||||
var num = $('.bottom .swiper .swiper-slide .div_active').attr(`num`);
|
||||
getDataArr[0].fraction = Number($('.bottom .swiper .swiper-slide .div_active').attr(`ad`)) + goldprice * (val - num);
|
||||
@@ -526,27 +512,47 @@ $('.investment .investment_in .but').click(function () {
|
||||
} else {
|
||||
console.log('減少了');
|
||||
//--
|
||||
// getDataArr[0].fraction = Number($('.speed_rogress .speed_rogress_top p span').text()) - ($('.bottom .swiper .swiper-slide .div_active strong i').text() - val) * goldprice;
|
||||
var goldprice = Number($('.bottom .swiper .swiper-slide .div_active').attr(`goldprice`));
|
||||
var num = $('.bottom .swiper .swiper-slide .div_active').attr(`num`);
|
||||
getDataArr[0].fraction = Number($('.bottom .swiper .swiper-slide .div_active').attr(`ad`)) + goldprice * (val - num);
|
||||
}
|
||||
$('.bottom .swiper .swiper-slide .div_active strong i').text(val)
|
||||
}
|
||||
// else {
|
||||
// if (isAdd) {
|
||||
// // getDataArr[0].fraction = Number($('.speed_rogress .speed_rogress_top p span').text()) + goldprice;
|
||||
// getDataArr[0].fraction = Number($('.speed_rogress .speed_rogress_top p span').text()) + goldprice * val;
|
||||
// } else {
|
||||
// // getDataArr[0].fraction = Number($('.speed_rogress .speed_rogress_top p span').text()) - goldprice;
|
||||
// getDataArr[0].fraction = Number($('.speed_rogress .speed_rogress_top p span').text()) - ($('.bottom .swiper .swiper-slide .div_active strong i').text() - val) * goldprice;
|
||||
// }
|
||||
// }
|
||||
$('.bottom .swiper .swiper-slide div').removeClass('div_active');
|
||||
$('.investment').hide();
|
||||
dataRendering(getDataArrIndex);
|
||||
lastNum = $('.speed_rogress .speed_rogress_top p span').text();
|
||||
isJL = false;
|
||||
|
||||
console.log($('.bottom .swiper .swiper-slide .div_active').index());
|
||||
if (giftNum > 0) {
|
||||
$('.bottom .swiper .swiper-slide .div_active strong i').addClass('iAct');
|
||||
$('.bottom .swiper .swiper-slide .div_active').addClass('div_active1');
|
||||
|
||||
} else {
|
||||
$('.bottom .swiper .swiper-slide .div_active strong i').removeClass('iAct');
|
||||
$('.bottom .swiper .swiper-slide .div_active').removeClass('div_active1');
|
||||
}
|
||||
if (Number(lastNum) > Number(valArr[1])) {
|
||||
$('.speed_rogress .speed_rogress_top p .span').addClass('spanAct');
|
||||
} else {
|
||||
$('.speed_rogress .speed_rogress_top p .span').removeClass('spanAct');
|
||||
}
|
||||
if (Number(lastNum) - Number(valArr[1]) > 1000) {
|
||||
$('.investment2').show();
|
||||
} else {
|
||||
$('.investment').hide();
|
||||
$('.bottom .swiper .swiper-slide div').removeClass('div_active');
|
||||
}
|
||||
})
|
||||
// 取消提醒超出弹窗
|
||||
$('.investment2 .investment_in .close').click(function () {
|
||||
// $('.investment2').show();
|
||||
$('.investment2').hide();
|
||||
})
|
||||
// 确认提醒超出弹窗
|
||||
$('.investment2 .investment_in .ok').click(function () {
|
||||
$('.bottom .swiper .swiper-slide div').removeClass('div_active');
|
||||
$('.investment2').hide();
|
||||
$('.investment').hide();
|
||||
})
|
||||
// 關閉投入
|
||||
$('.investment .investment_in .closeBut').click(function () {
|
||||
@@ -562,7 +568,6 @@ $('.investment .investment_in .closeBut').click(function () {
|
||||
$('.investment .investment_in .num input').val(val);
|
||||
$('.bottom .swiper .swiper-slide .div_active strong i').text(val);
|
||||
dataRendering(getDataArrIndex);
|
||||
// $('.bottom .swiper .swiper-slide div strong').hide();
|
||||
$('.investment').hide();
|
||||
})
|
||||
|
||||
@@ -577,40 +582,17 @@ $(".investment .investment_in .num input").on("input", function () {
|
||||
var val = $(this).val();
|
||||
var goldprice = Number($('.bottom .swiper .swiper-slide .div_active').attr(`goldprice`));
|
||||
var num = $('.speed_rogress .speed_rogress_top p span').text();
|
||||
|
||||
// $('.bottom .swiper .swiper-slide .div_active strong i').text(val);
|
||||
if (val > Number($('.bottom .swiper .swiper-slide .div_active strong b').text())) {
|
||||
val = 0;
|
||||
$(this).val(0);
|
||||
toastMsg('超出已擁有數量');
|
||||
toastMsg('背包庫存數量不足');
|
||||
getDataArr[0].fraction = lastNum;
|
||||
// $('.bottom .swiper .swiper-slide .div_active strong i').text("0");
|
||||
} else if (val == '') {
|
||||
val = 0;
|
||||
$(this).val(0);
|
||||
getDataArr[0].fraction = lastNum;
|
||||
// $('.bottom .swiper .swiper-slide .div_active strong i').text(0);
|
||||
}
|
||||
|
||||
// if (Number($('.speed_rogress .speed_rogress_top p span').text()) == 0 || Number($('.investment .investment_in .num input').val()) == 0) {
|
||||
// if (Number($('.speed_rogress .speed_rogress_top p span').text()) == 0) {
|
||||
// getDataArr[0].fraction = 123123123;
|
||||
// } else {
|
||||
// getDataArr[0].fraction = num;
|
||||
// }
|
||||
// } else {
|
||||
// getDataArr[0].fraction = $(this).val() * goldprice + Number($('.speed_rogress .speed_rogress_top p span').text());
|
||||
// }
|
||||
// if ($('.speed_rogress .speed_rogress_top p span').text() == 0) {
|
||||
// getDataArr[0].fraction = $(this).val() * goldprice + Number($('.speed_rogress .speed_rogress_top p span').text());
|
||||
// } else if ($('.speed_rogress .speed_rogress_top p span').text() != 0) {
|
||||
// getDataArr[0].fraction = Number($('.speed_rogress .speed_rogress_top p span').text()) + Number($(this).val())
|
||||
// }
|
||||
// if ($('.bottom .swiper .swiper-slide div strong i').text() == 00) {
|
||||
// $('.bottom .swiper .swiper-slide div strong i').text(0)
|
||||
// }
|
||||
$(this).val(val);
|
||||
// dataRendering(getDataArrIndex);
|
||||
})
|
||||
// 增加煉制按鈕
|
||||
var number = 0;
|
||||
@@ -630,23 +612,11 @@ $('.investment .investment_in .num .add').click(function (event) {
|
||||
console.log(indes);
|
||||
arrs[indes].goldprice = goldprice;
|
||||
if (val > num) {
|
||||
toastMsg('已超出現有數量');
|
||||
toastMsg('背包庫存數量不足');
|
||||
val = val - 1;
|
||||
$('.bottom .swiper .swiper-slide .div_active').attr(`nums`, val);
|
||||
arrs[indes].num = Number($('.bottom .swiper .swiper-slide .div_active').attr('nums'));
|
||||
} else {//Number($('.speed_rogress .speed_rogress_top p span').text())
|
||||
// getDataArr[0].fraction = Number($('.bottom .swiper .swiper-slide .div_active').attr(`ad`)) + goldprice * val;
|
||||
// $('.bottom .swiper .swiper-slide .div_active').attr(`ad`, getDataArr[0].fraction);
|
||||
// $('.bottom .swiper .swiper-slide .div_active').attr(`nums`, val);
|
||||
// arrs[indes].num = Number($('.bottom .swiper .swiper-slide .div_active').attr('nums'));
|
||||
// // if (isAdd) {
|
||||
// arrs.forEach((res, index) => {
|
||||
// number += res.num * res.goldprice;
|
||||
// })
|
||||
// getDataArr[0].fraction = number;
|
||||
// console.log(arrs);
|
||||
// console.log(number);
|
||||
// }
|
||||
} else {
|
||||
var goldprice = Number($('.bottom .swiper .swiper-slide .div_active').attr(`goldprice`));
|
||||
var num = $('.bottom .swiper .swiper-slide .div_active').attr(`num`);
|
||||
getDataArr[0].fraction = Number($('.bottom .swiper .swiper-slide .div_active').attr(`ad`)) + goldprice * (val - num);
|
||||
@@ -669,7 +639,6 @@ $('.investment .investment_in .num .reduce').click(function (event) {
|
||||
} else {
|
||||
var giftNum = objs[Number($('.bottom .swiper .swiper-slide .div_active').attr('giftid'))].num;
|
||||
var goldprice = Number($('.bottom .swiper .swiper-slide .div_active').attr(`goldprice`));
|
||||
//Number($('.speed_rogress .speed_rogress_top p span').text())
|
||||
var num = $('.bottom .swiper .swiper-slide .div_active').attr(`num`);
|
||||
//
|
||||
console.log(Number($('.bottom .swiper .swiper-slide .div_active').attr(`ad`)));
|
||||
@@ -678,7 +647,6 @@ $('.investment .investment_in .num .reduce').click(function (event) {
|
||||
console.log(goldprice * (val - num));
|
||||
|
||||
getDataArr[0].fraction = Number($('.bottom .swiper .swiper-slide .div_active').attr(`ad`)) + goldprice * (val - num);
|
||||
// $('.bottom .swiper .swiper-slide .div_active').attr(`ad`, getDataArr[0].fraction);
|
||||
}
|
||||
$('.bottom .swiper .swiper-slide .div_active').attr(`nums`, val);
|
||||
// dataRendering(getDataArrIndex)
|
||||
@@ -701,9 +669,9 @@ $('.refining .refining_in div .ok').click(function () {
|
||||
}
|
||||
})
|
||||
// console.log('arr22222',arr2);
|
||||
arr2.map((item,index)=>{
|
||||
if(item.num !=''){
|
||||
if(parseInt(item.num) != 0){
|
||||
arr2.map((item, index) => {
|
||||
if (item.num != '') {
|
||||
if (parseInt(item.num) != 0) {
|
||||
// console.log(item,index);
|
||||
arr3.push(item)
|
||||
}
|
||||
@@ -715,7 +683,7 @@ $('.refining .refining_in div .ok').click(function () {
|
||||
setTimeout(() => {
|
||||
$('.header .luzi').css({ "background": "none" });
|
||||
}, 120);
|
||||
console.log('compoundParam',compoundParam);
|
||||
console.log('compoundParam', compoundParam);
|
||||
$('.refining').hide();
|
||||
if (tabIndex == 0) {
|
||||
svgaFun();
|
||||
@@ -730,13 +698,13 @@ $('.refining .refining_in div .ok').click(function () {
|
||||
contentType: 'application/json;charset=UTF-8',
|
||||
url: urlPrefix + '/gift/compound',
|
||||
data: JSON.stringify(compoundParam),
|
||||
success(res) {
|
||||
success (res) {
|
||||
if (res.code === 200) {
|
||||
$('.speed_rogress .speed_rogress_top p span').text(0)
|
||||
$('.investment .investment_in .num input').val(0)
|
||||
|
||||
if (tabIndex == 0) {
|
||||
$('.gxn .gxn_in .qb img').attr('src',res.data.picUrl);
|
||||
$('.gxn .gxn_in .qb img').attr('src', res.data.picUrl);
|
||||
$('.gxn .gxn_in p b').text(res.data.giftName);
|
||||
changeTab(0)
|
||||
noticeFun();
|
||||
@@ -773,7 +741,7 @@ $('.refining .refining_in div .ok').click(function () {
|
||||
}
|
||||
hideLoading(layerIndex);
|
||||
},
|
||||
error(err) {
|
||||
error (err) {
|
||||
toastMsg('網絡錯誤,請退出重進');
|
||||
}
|
||||
})
|
||||
@@ -851,14 +819,18 @@ $('.bottom .b_Top img').click(function () {
|
||||
$('.bottom .swiper .swiper-slide').remove();
|
||||
$('.investment .investment_in .num input').val(0)
|
||||
$('.investment').hide();
|
||||
$('.speed_rogress .speed_rogress_top .spanAct').removeClass('spanAct')
|
||||
listUserBackpackFun();
|
||||
changeTab(tabIndex)
|
||||
noticeFun();
|
||||
getXsDataFun();
|
||||
getDataFun();
|
||||
listUserBackpackFun();
|
||||
|
||||
|
||||
})
|
||||
|
||||
// tab切換
|
||||
var tabIndex = 0;
|
||||
function changeTab(tabIndex) {
|
||||
function changeTab (tabIndex) {
|
||||
if (tabIndex == 0) {
|
||||
$("body").css('background', '#462978');
|
||||
$('.tab_wrap .tab_item').eq(0).find('img').attr('src', "./images/pt_tab_active.png");
|
||||
@@ -965,7 +937,7 @@ $('.tab_wrap .tab_item').click(function () {
|
||||
})
|
||||
|
||||
// 用戶首次進入限時爐引導
|
||||
function firstEnterFun() {
|
||||
function firstEnterFun () {
|
||||
$('.step_wrap .step1').show();
|
||||
$('.guide_mask').show();
|
||||
}
|
||||
|
@@ -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
@@ -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;
|
||||
}
|
||||
|
Before Width: | Height: | Size: 954 B After Width: | Height: | Size: 403 B |
BIN
view/peko/home/images/contactUs.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
view/peko/home/images/diamond.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
view/peko/home/images/down.png
Normal file
After Width: | Height: | Size: 501 B |
BIN
view/peko/home/images/downioad.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
view/peko/home/images/downioadH5.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
view/peko/home/images/email.png
Normal file
After Width: | Height: | Size: 489 B |
BIN
view/peko/home/images/h51.png
Normal file
After Width: | Height: | Size: 108 KiB |
BIN
view/peko/home/images/h55.png
Normal file
After Width: | Height: | Size: 304 KiB |
BIN
view/peko/home/images/h5And.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
view/peko/home/images/h5Ios.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 356 KiB After Width: | Height: | Size: 1.5 MiB |
BIN
view/peko/home/images/line.png
Normal file
After Width: | Height: | Size: 922 B |
Before Width: | Height: | Size: 9.6 KiB After Width: | Height: | Size: 2.4 KiB |
BIN
view/peko/home/images/more.png
Normal file
After Width: | Height: | Size: 205 B |
BIN
view/peko/home/images/page2.png
Normal file
After Width: | Height: | Size: 98 KiB |
BIN
view/peko/home/images/page3.png
Normal file
After Width: | Height: | Size: 96 KiB |
BIN
view/peko/home/images/page3Icon1.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
view/peko/home/images/page3Icon2.png
Normal file
After Width: | Height: | Size: 6.2 KiB |
BIN
view/peko/home/images/page3Icon3.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
view/peko/home/images/page3Icon4.png
Normal file
After Width: | Height: | Size: 9.6 KiB |
BIN
view/peko/home/images/page4.png
Normal file
After Width: | Height: | Size: 59 KiB |
BIN
view/peko/home/images/page4Icon1.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
view/peko/home/images/page4Icon2.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
view/peko/home/images/pageText2.png
Normal file
After Width: | Height: | Size: 6.8 KiB |
BIN
view/peko/home/images/pageText3.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
view/peko/home/images/pageText4.png
Normal file
After Width: | Height: | Size: 6.0 KiB |
BIN
view/peko/home/images/pageTxte1.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
view/peko/home/images/pageTxte2.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
view/peko/home/images/pageTxte5.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
view/peko/home/images/pagetx1.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
view/peko/home/images/pagetx2.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
view/peko/home/images/pcAnd.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
view/peko/home/images/pcBg.png
Normal file
After Width: | Height: | Size: 8.7 KiB |
BIN
view/peko/home/images/pcBgBig.png
Normal file
After Width: | Height: | Size: 599 KiB |
BIN
view/peko/home/images/pcCode.png
Normal file
After Width: | Height: | Size: 8.1 KiB |
BIN
view/peko/home/images/pcIos.png
Normal file
After Width: | Height: | Size: 4.3 KiB |
BIN
view/peko/home/images/pcMarket1.png
Normal file
After Width: | Height: | Size: 443 KiB |
BIN
view/peko/home/images/pcText.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
view/peko/home/images/rightIcon.png
Normal file
After Width: | Height: | Size: 163 B |
BIN
view/peko/home/images/sClose.png
Normal file
After Width: | Height: | Size: 174 B |
BIN
view/peko/home/images/wx.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
@@ -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 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>Address:BLDG. 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>
|
@@ -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 })
|
2
view/peko/home/js/swiper.animate.min.js
vendored
Normal 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," "))}
|
252
view/peko/home1/css/index.css
Normal 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;
|
||||
}
|
336
view/peko/home1/css/index.scss
Normal 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;
|
||||
}
|
144
view/peko/home1/css/reset.css
Normal 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
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 1012 B After Width: | Height: | Size: 1012 B |
Before Width: | Height: | Size: 1021 B After Width: | Height: | Size: 1021 B |
BIN
view/peko/home1/images/close.png
Normal file
After Width: | Height: | Size: 954 B |
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 6.5 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 554 KiB After Width: | Height: | Size: 554 KiB |
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 1.3 MiB |
BIN
view/peko/home1/images/homePc2.png
Normal file
After Width: | Height: | Size: 356 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 83 KiB After Width: | Height: | Size: 83 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
BIN
view/peko/home1/images/logo.png
Normal file
After Width: | Height: | Size: 9.6 KiB |
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1.1 MiB |
Before Width: | Height: | Size: 2.1 MiB After Width: | Height: | Size: 2.1 MiB |
Before Width: | Height: | Size: 133 KiB After Width: | Height: | Size: 133 KiB |
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 84 KiB |
Before Width: | Height: | Size: 215 KiB After Width: | Height: | Size: 215 KiB |
Before Width: | Height: | Size: 247 KiB After Width: | Height: | Size: 247 KiB |
Before Width: | Height: | Size: 200 KiB After Width: | Height: | Size: 200 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
106
view/peko/home1/index.html
Normal file
@@ -0,0 +1,106 @@
|
||||
<!DOCTYPE html>
|
||||
<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> -->
|
||||
</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="">
|
||||
</div>
|
||||
<div class="swiper-slide">
|
||||
<img src="./images/pic2.png" alt="">
|
||||
</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>
|
||||
</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>Address:BLDG. 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>
|
||||
</body>
|
||||
|
||||
</html>
|
321
view/peko/home1/js/common.js
Normal file
@@ -0,0 +1,321 @@
|
||||
const productUrl = 'https://api.pekolive.com'; // 正式环境
|
||||
const testUrl = 'http://beta.api.pekolive.com'; // 测试环境
|
||||
|
||||
function render (templateId, templateData, target) {
|
||||
var html = template(templateId, templateData);
|
||||
target.innerHTML += html;
|
||||
}
|
||||
|
||||
// 根据域名判断 正式环境(含www)/测试环境(含beta), 并返回所需url前缀
|
||||
// written by zxfxiong
|
||||
function getUrlPrefix () {
|
||||
if (!EnvCheck()) return undefined;
|
||||
return EnvCheck() === 'live' ? productUrl : testUrl;
|
||||
}
|
||||
|
||||
function dateFormat (date, fmt) {
|
||||
date = new Date(date);
|
||||
var o = {
|
||||
'M+': date.getMonth() + 1,
|
||||
'd+': date.getDate(),
|
||||
'h+': date.getHours(),
|
||||
'm+': date.getMinutes(),
|
||||
's+': date.getSeconds()
|
||||
};
|
||||
|
||||
// 补全0
|
||||
function padLeftZero(str) {
|
||||
return('00' + str).substr(str.length);
|
||||
}
|
||||
|
||||
// 年份
|
||||
if(/(y+)/.test(fmt)) {
|
||||
fmt = fmt.replace(RegExp.$1, (date.getFullYear() + '').substr(4 - RegExp.$1.length));
|
||||
}
|
||||
|
||||
// 月日时分秒
|
||||
for(var k in o) {
|
||||
if(new RegExp('(' + k + ')').test(fmt)) {
|
||||
var str = o[k] + '';
|
||||
fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? str : padLeftZero(str));
|
||||
}
|
||||
}
|
||||
|
||||
date = o = padLeftZero = null;
|
||||
return fmt;
|
||||
}
|
||||
|
||||
function convert (_url) {
|
||||
var patt=/\d+/;
|
||||
var num=_url.match(patt);
|
||||
var rs={};
|
||||
rs.uid=num[0];
|
||||
return rs;
|
||||
}
|
||||
|
||||
// 传递分享信息给客户端,showUrl为分享的页面链接,为空时表示不分享
|
||||
// function shareInfo () {
|
||||
// var _url = 'http://www.erbanyy.com/modules/bonus/fight.html';
|
||||
// var res = EnvCheck();
|
||||
// if (res == 'test'){
|
||||
// _url = 'http://beta.erbanyy.com/modules/bonus/fight.html';
|
||||
// }
|
||||
// var info = {
|
||||
// title: '耳伴与你一起红',
|
||||
// imgUrl: 'http://www.erbanyy.com/home/images/logo.png',
|
||||
// desc: '登录即送20红包,每天还有分享红包,邀请红包,分成红包,四重红包大礼等你来拿',
|
||||
// showUrl: _url
|
||||
// };
|
||||
// return JSON.stringify(info);
|
||||
// }
|
||||
|
||||
// 根据域名适配环境
|
||||
function EnvCheck () {
|
||||
if (window.location.href) {
|
||||
var _url = window.location.href;
|
||||
var res = _url.match(/uat/);
|
||||
var res1 = _url.match(/120.79.211.243/);
|
||||
var res2 = _url.match(/192.168./)
|
||||
var res3 = _url.match(/127.0/)
|
||||
var res4 = _url.match(/beta/)
|
||||
if (res || res1 || res2 || res3 || res4) {
|
||||
return 'test';
|
||||
} else {
|
||||
return 'live';
|
||||
}
|
||||
}
|
||||
}
|
||||
// 根据域名判断是本地打开还是服务器打开
|
||||
function locateJudge() {
|
||||
if(window.location.href){
|
||||
var _url = window.location.href;
|
||||
var res = _url.match(/test/);
|
||||
if(res){
|
||||
return '/api';
|
||||
}else{
|
||||
return '';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 获取地址栏参数
|
||||
function getQueryString(){
|
||||
var _url = location.search;
|
||||
var theRequest = new Object();
|
||||
if(_url.indexOf('?') != -1){
|
||||
var str = _url.substr(1);
|
||||
strs = str.split('&');
|
||||
for(var i in strs){
|
||||
theRequest[strs[i].split('=')[0]] = decodeURI(strs[i].split('=')[1]);
|
||||
}
|
||||
}
|
||||
return theRequest;
|
||||
}
|
||||
|
||||
// 判断浏览器内核,手机类型
|
||||
function checkVersion(){
|
||||
var u = navigator.userAgent, app = navigator.appVersion;
|
||||
return {
|
||||
trident: u.indexOf('Trident') > -1, //IE内核
|
||||
presto: u.indexOf('Presto') > -1, //opera内核
|
||||
webKit: u.indexOf('AppleWebKit') > -1, //苹果、谷歌内核
|
||||
gecko: u.indexOf('Gecko') > -1 && u.indexOf('KHTML') == -1,//火狐内核
|
||||
mobile: !!u.match(/AppleWebKit.*Mobile.*/), //是否为移动终端
|
||||
ios: !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/), //ios终端
|
||||
android: u.indexOf('Android') > -1 || u.indexOf('Adr') > -1, //android终端
|
||||
iPhone: u.indexOf('iPhone') > -1 , //是否为iPhone或者QQHD浏览器
|
||||
iPad: u.indexOf('iPad') > -1, //是否iPad
|
||||
webApp: u.indexOf('Safari') == -1, //是否web应该程序,没有头部与底部
|
||||
weixin: u.indexOf('MicroMessenger') > -1, //是否微信
|
||||
qq: u.match(/\sQQ/i) == " qq", //是否QQ
|
||||
app: u.match('mengshengApp') == 'mengshengApp' //是否在app内
|
||||
};
|
||||
}
|
||||
|
||||
// 图片预加载
|
||||
function preloadImage(obj){
|
||||
var loadLength = 0,newImages = [];
|
||||
for(var i = 0;i < obj.imageArr.length;i++){
|
||||
newImages[i] = new Image();
|
||||
newImages[i].src = obj.imageArr[i];
|
||||
newImages[i].onload = newImages[i].onerror = function(){
|
||||
loadLength++;
|
||||
typeof obj.preloadPreFunc === 'function' && obj.preloadPreFunc(loadLength);
|
||||
if(loadLength == obj.imageArr.length){
|
||||
typeof obj.doneFunc === 'function' && obj.doneFunc();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 判断是否在App内
|
||||
function isApp() {
|
||||
var androidBol = false;
|
||||
var osBol = false;
|
||||
if(window.androidJsObj && typeof window.androidJsObj === 'object'){
|
||||
androidBol = true;
|
||||
}
|
||||
if(window.webkit){
|
||||
console.log(window.webkit);
|
||||
osBol = true;
|
||||
}
|
||||
return (androidBol || osBol);
|
||||
|
||||
}
|
||||
|
||||
function msMask(channel,tags,params) {
|
||||
//此函数用于一般的耳伴底层面罩
|
||||
var browser = checkVersion();
|
||||
var env = EnvCheck();
|
||||
// params = params? params:0;
|
||||
var bol = $.isEmptyObject(params);
|
||||
var jsonStr = '';
|
||||
if(!bol) {
|
||||
jsonStr = JSON.stringify(params);
|
||||
}
|
||||
if(!browser.app){
|
||||
$('#mask').css('display','flex');
|
||||
var linkData = {
|
||||
type: env,
|
||||
channel: channel,
|
||||
tags: tags,
|
||||
// ios_custom_url: "https://itunes.apple.com/cn/app/id1252542069?mt=8",
|
||||
params: jsonStr
|
||||
// '{"uid":"' + params + '"}'
|
||||
};
|
||||
|
||||
linkedme.init("414571f0698afaa1c194f345f0dcc328", {type: env}, null);
|
||||
|
||||
linkedme.link(linkData, function(err, response){
|
||||
if(err){
|
||||
// 生成深度链接失败,返回错误对象err
|
||||
console.log('err:',err);
|
||||
} else {
|
||||
console.log(response);
|
||||
$('#download a').attr("href",response.url);
|
||||
$('.download a').attr('href',response.url);
|
||||
}
|
||||
},false);
|
||||
}else{
|
||||
$('#share-mask').css('display','flex');
|
||||
}
|
||||
}
|
||||
function wxConfig() {
|
||||
var wxurl = encodeURIComponent(location.href.split('#')[0]);
|
||||
var data ="url=" + wxurl;
|
||||
console.log(data);
|
||||
$.ajax({
|
||||
type:'GET',
|
||||
url: '/wx/config',
|
||||
data: data,
|
||||
asyc: true,
|
||||
success: function (data) {
|
||||
if(data.code = 200){
|
||||
wx.config({
|
||||
debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
|
||||
appId: data.data.appId, // 必填,公众号的唯一标识
|
||||
timestamp: data.data.timestamp, // 必填,生成签名的时间戳
|
||||
nonceStr: data.data.nonceStr, // 必填,生成签名的随机串
|
||||
signature: data.data.signature,// 必填,签名,见附录1
|
||||
jsApiList: data.data.jsApiList // 必填,需要使用的JS接口列表,所有JS接口列表见附录2
|
||||
});
|
||||
wx.error(function(res){
|
||||
console.log('config error,msg:'+res);
|
||||
});
|
||||
}
|
||||
},
|
||||
error:function(res){
|
||||
console.log('config error,msg:'+res);
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// function refreshWeb() {
|
||||
// window.location.href = window.location.href;
|
||||
// }
|
||||
|
||||
|
||||
$('#share-mask .shareBtn').on('click',function () {
|
||||
var browser = checkVersion();
|
||||
if (browser.app) {
|
||||
if (browser.android) {
|
||||
window.androidJsObj.openSharePage();
|
||||
} else if (browser.ios) {
|
||||
window.webkit.messageHandlers.openSharePage.postMessage(null);
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
/**
|
||||
* 渲染列表组件
|
||||
* @param templateId 组件的id
|
||||
* @param $target 渲染目标dom
|
||||
* @param attrParam 属性名,格式 {'.class':['dataAttr',type]}
|
||||
* @param data 渲染数据的数组
|
||||
*/
|
||||
|
||||
function templateList(templateId,$target,attrParam,data){
|
||||
var $template = $(templateId);
|
||||
var str = $template.html();
|
||||
|
||||
for(var i = 0;i < data.length;i++){
|
||||
var $list = $(str);
|
||||
$target.append($list);
|
||||
for(var j in attrParam){
|
||||
if(attrParam[j][1] == 1){
|
||||
$list.find(j + ' img').attr('src',data[i][attrParam[j][0]]);
|
||||
}else if(attrParam[j][1] == 2){
|
||||
$list.find(j).html(data[i][attrParam[j][0]]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function initNav(obj) {
|
||||
if($.isEmptyObject(obj)){
|
||||
return;
|
||||
}
|
||||
var browser = checkVersion();
|
||||
if(browser.app){
|
||||
if(browser.ios){
|
||||
window.webkit.messageHandlers.initNav.postMessage(obj);
|
||||
}else if(browser.android){
|
||||
var json = JSON.stringify(obj);
|
||||
window.androidJsObj.initNav(json);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var tranUrl = 'http://www.if66.cn';
|
||||
|
||||
var tools = {
|
||||
cookieUtils: {
|
||||
set: function(key, val, time) {
|
||||
var date = new Date();
|
||||
var expiresDays = time;
|
||||
date.setTime(date.getTime() + expiresDays * 24 * 3600 * 1000);
|
||||
document.cookie = key + '=' + val + ';expires=' + date.toGMTString();
|
||||
},
|
||||
|
||||
get: function(key) {
|
||||
// 获取cookie参数
|
||||
var getCookie = document.cookie.replace(/[ ]/g,'');
|
||||
var arrCookie = getCookie.split(';');
|
||||
var val;
|
||||
for(var i = 0 ; i < arrCookie.length ; i++) {
|
||||
var arr = arrCookie[i].split('=');
|
||||
if(key === arr[0]) {
|
||||
val = arr[1];
|
||||
break;
|
||||
}
|
||||
}
|
||||
return val;
|
||||
},
|
||||
|
||||
delete: function(key) { //删除cookie方法
|
||||
var date = new Date(); //获取当前时间
|
||||
date.setTime(date.getTime() - 10000); //将date设置为过去的时间
|
||||
document.cookie = key + '=v; expires =' + date.toGMTString(); //设置cookie
|
||||
}
|
||||
}
|
||||
}
|
109
view/peko/home1/js/flexible.js
Normal file
@@ -0,0 +1,109 @@
|
||||
;(function(win, lib) {
|
||||
var doc = win.document;
|
||||
var docEl = doc.documentElement;
|
||||
var metaEl = doc.querySelector('meta[name="viewport"]');
|
||||
var flexibleEl = doc.querySelector('meta[name="flexible"]');
|
||||
var dpr = 0;
|
||||
var scale = 0;
|
||||
var tid;
|
||||
var flexible = lib.flexible || (lib.flexible = {});
|
||||
|
||||
if (metaEl) {
|
||||
console.warn('将根据已有的meta标签来设置缩放比例');
|
||||
var match = metaEl.getAttribute('content').match(/initial\-scale=([\d\.]+)/);
|
||||
if (match) {
|
||||
scale = parseFloat(match[1]);
|
||||
dpr = parseInt(1 / scale);
|
||||
}
|
||||
} else if (flexibleEl) {
|
||||
var content = flexibleEl.getAttribute('content');
|
||||
if (content) {
|
||||
var initialDpr = content.match(/initial\-dpr=([\d\.]+)/);
|
||||
var maximumDpr = content.match(/maximum\-dpr=([\d\.]+)/);
|
||||
if (initialDpr) {
|
||||
dpr = parseFloat(initialDpr[1]);
|
||||
scale = parseFloat((1 / dpr).toFixed(2));
|
||||
}
|
||||
if (maximumDpr) {
|
||||
dpr = parseFloat(maximumDpr[1]);
|
||||
scale = parseFloat((1 / dpr).toFixed(2));
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!dpr && !scale) {
|
||||
var isAndroid = win.navigator.appVersion.match(/android/gi);
|
||||
var isIPhone = win.navigator.appVersion.match(/iphone/gi);
|
||||
var devicePixelRatio = win.devicePixelRatio;
|
||||
if (isIPhone) {
|
||||
// iOS下,对于2和3的屏,用2倍的方案,其余的用1倍方案
|
||||
if (devicePixelRatio >= 3 && (!dpr || dpr >= 3)) {
|
||||
dpr = 3;
|
||||
} else if (devicePixelRatio >= 2 && (!dpr || dpr >= 2)){
|
||||
dpr = 2;
|
||||
} else {
|
||||
dpr = 1;
|
||||
}
|
||||
} else {
|
||||
// 其他设备下,仍旧使用1倍的方案
|
||||
dpr = 1;
|
||||
}
|
||||
scale = 1 / dpr;
|
||||
}
|
||||
docEl.setAttribute('data-dpr', dpr);
|
||||
if (!metaEl) {
|
||||
metaEl = doc.createElement('meta');
|
||||
metaEl.setAttribute('name', 'viewport');
|
||||
metaEl.setAttribute('content', 'initial-scale=' + scale + ', maximum-scale=' + scale + ', minimum-scale=' + scale + ', user-scalable=no');
|
||||
if (docEl.firstElementChild) {
|
||||
docEl.firstElementChild.appendChild(metaEl);
|
||||
} else {
|
||||
var wrap = doc.createElement('div');
|
||||
wrap.appendChild(metaEl);
|
||||
doc.write(wrap.innerHTML);
|
||||
}
|
||||
}
|
||||
function refreshRem(){
|
||||
var width = docEl.getBoundingClientRect().width;
|
||||
if (width / dpr > 730) {
|
||||
width = 730 * dpr;
|
||||
}
|
||||
var rem = width / 10;
|
||||
docEl.style.fontSize = rem + 'px';
|
||||
flexible.rem = win.rem = rem;
|
||||
}
|
||||
win.addEventListener('resize', function() {
|
||||
clearTimeout(tid);
|
||||
tid = setTimeout(refreshRem, 300);
|
||||
}, false);
|
||||
win.addEventListener('pageshow', function(e) {
|
||||
if (e.persisted) {
|
||||
clearTimeout(tid);
|
||||
tid = setTimeout(refreshRem, 300);
|
||||
}
|
||||
}, false);
|
||||
if (doc.readyState === 'complete') {
|
||||
doc.body.style.fontSize = 12 * dpr + 'px';
|
||||
} else {
|
||||
doc.addEventListener('DOMContentLoaded', function(e) {
|
||||
doc.body.style.fontSize = 12 * dpr + 'px';
|
||||
}, false);
|
||||
}
|
||||
|
||||
refreshRem();
|
||||
flexible.dpr = win.dpr = dpr;
|
||||
flexible.refreshRem = refreshRem;
|
||||
flexible.rem2px = function(d) {
|
||||
var val = parseFloat(d) * this.rem;
|
||||
if (typeof d === 'string' && d.match(/rem$/)) {
|
||||
val += 'px';
|
||||
}
|
||||
return val;
|
||||
}
|
||||
flexible.px2rem = function(d) {
|
||||
var val = parseFloat(d) / this.rem;
|
||||
if (typeof d === 'string' && d.match(/px$/)) {
|
||||
val += 'rem';
|
||||
}
|
||||
return val;
|
||||
}
|
||||
})(window, window['lib'] || (window['lib'] = {}));
|
121
view/peko/home1/js/index.js
Normal file
@@ -0,0 +1,121 @@
|
||||
/* 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'
|
||||
}
|
||||
$(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,//默认第二个居中
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
$(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';
|
||||
}
|
||||
});
|
||||
window.onresize = function () {
|
||||
var deviceWidth = document.documentElement.clientWidth;
|
||||
// console.log('deviceWidth', deviceWidth);
|
||||
if (deviceWidth > 768) {
|
||||
document.documentElement.style.fontSize = deviceWidth / 19.20 + 'px';
|
||||
} else {
|
||||
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'
|
||||
}
|
||||
})
|
||||
$('.apk').click(function () {
|
||||
window.location.href = 'https://img.pekolive.com/piko_official.apk'
|
||||
})
|
||||
})
|
4
view/peko/home1/js/jquery.min.js
vendored
Normal file
20
view/peko/home1/support.html
Normal file
@@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
||||
<title>piko技术服务支持</title>
|
||||
<link rel="stylesheet" href="../../common/css/reset.css">
|
||||
<link rel="stylesheet" href="./css/index.css">
|
||||
<style>
|
||||
*{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<img src="./images/support.png" alt="" style="width: 100%;">
|
||||
<!-- <script src="../../common/js/flexible.js"></script> -->
|
||||
</body>
|
||||
</html>
|
@@ -9,7 +9,7 @@
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<title>賬戶資料</title>
|
||||
<link rel="stylesheet" href="../../common/css/reset.css">
|
||||
<link rel="stylesheet" href="./css/chainBank.css">
|
||||
<link rel="stylesheet" href="./css/chainBank.css?v=1.2">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@@ -60,7 +60,7 @@
|
||||
style="opacity: 0;">
|
||||
</div>
|
||||
<!-- 反面 -->
|
||||
<div class="f">
|
||||
<div class="f">
|
||||
<img src="./images/chainBank/documents_reverse.png" alt="" class="documents">
|
||||
<img src="./images/chainBank/icon_camera.png" alt="" class="icon_camera">
|
||||
<span>請上傳反面照片</span>
|
||||
@@ -82,6 +82,14 @@
|
||||
<p>6.首次進行提領流程時,會需要上傳您的身份證相關信息;</p>
|
||||
<p>7.如有疑問請聯繫Wechat:sd245376</p>
|
||||
</div>
|
||||
<!-- 二次确认修改大陆银行卡信息按钮 -->
|
||||
<div class="mainlandInfo">
|
||||
<div class="mainlandInfo_in">
|
||||
<p>确认提交账户信息?</p>
|
||||
<div class="close">取消</div>
|
||||
<div class="ok">确认</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -93,4 +101,4 @@
|
||||
<script src="../../common/js/route-constant.js"></script>
|
||||
<script src="../../common/js/svga.min.js"></script>
|
||||
<script src="./js/qiniu.min.js"></script>
|
||||
<script src="./js/chainBank.js?v=1.0"></script>
|
||||
<script src="./js/chainBank.js?v=1.5"></script>
|
@@ -7,16 +7,16 @@ body {
|
||||
.back {
|
||||
position: fixed;
|
||||
z-index: 9;
|
||||
width: 0.7466666667rem;
|
||||
height: 0.7466666667rem;
|
||||
left: 0.5333333333rem;
|
||||
width: 0.74667rem;
|
||||
height: 0.74667rem;
|
||||
left: 0.53333rem;
|
||||
top: 0.2rem;
|
||||
}
|
||||
|
||||
h3 {
|
||||
width: 100%;
|
||||
margin-top: 0.5333333333rem;
|
||||
margin-bottom: 0.4266666667rem;
|
||||
margin-top: 0.53333rem;
|
||||
margin-bottom: 0.42667rem;
|
||||
text-align: center;
|
||||
color: #1F1B4F;
|
||||
font-size: 0.48rem;
|
||||
@@ -28,123 +28,136 @@ input {
|
||||
border: none;
|
||||
outline: none;
|
||||
box-sizing: border-box;
|
||||
font-size: 0.3733333333rem;
|
||||
font-size: 0.37333rem;
|
||||
}
|
||||
|
||||
input::placeholder {
|
||||
font-size: 0.3733333333rem;
|
||||
font-size: 0.37333rem;
|
||||
color: #8A8CAB;
|
||||
}
|
||||
|
||||
.box1 {
|
||||
width: 9.1466666667rem;
|
||||
height: 2.7733333333rem;
|
||||
width: 9.14667rem;
|
||||
height: 2.77333rem;
|
||||
background: #fff;
|
||||
border-radius: 0.2666666667rem;
|
||||
border-radius: 0.26667rem;
|
||||
box-sizing: border-box;
|
||||
padding: 0 0.5333333333rem;
|
||||
padding: 0 0.53333rem;
|
||||
margin: 0 auto 0.32rem;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.box1 div {
|
||||
width: 100%;
|
||||
height: 1.3733333333rem;
|
||||
line-height: 1.3733333333rem;
|
||||
border-bottom: 0.0133333333rem solid #EBEEF5;
|
||||
height: 1.37333rem;
|
||||
line-height: 1.37333rem;
|
||||
border-bottom: 0.01333rem solid #EBEEF5;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.box1 div span {
|
||||
flex: 3;
|
||||
height: 100%;
|
||||
font-size: 0.3733333333rem;
|
||||
font-size: 0.37333rem;
|
||||
color: #1F1B4F;
|
||||
}
|
||||
|
||||
.box1 div input {
|
||||
flex: 7;
|
||||
height: 100%;
|
||||
text-align: right;
|
||||
font-size: 0.3733333333rem;
|
||||
font-size: 0.37333rem;
|
||||
color: #1F1B4F;
|
||||
}
|
||||
|
||||
.box2 {
|
||||
width: 9.1466666667rem;
|
||||
height: 5.5466666667rem;
|
||||
width: 9.14667rem;
|
||||
height: 5.54667rem;
|
||||
background: #fff;
|
||||
border-radius: 0.2666666667rem;
|
||||
border-radius: 0.26667rem;
|
||||
box-sizing: border-box;
|
||||
padding: 0 0.5333333333rem;
|
||||
padding: 0 0.53333rem;
|
||||
margin: 0 auto 0.32rem;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.box2 div {
|
||||
width: 100%;
|
||||
height: 1.3733333333rem;
|
||||
line-height: 1.3733333333rem;
|
||||
border-bottom: 0.0133333333rem solid #EBEEF5;
|
||||
height: 1.37333rem;
|
||||
line-height: 1.37333rem;
|
||||
border-bottom: 0.01333rem solid #EBEEF5;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.box2 div span {
|
||||
flex: 3;
|
||||
height: 100%;
|
||||
font-size: 0.3733333333rem;
|
||||
font-size: 0.37333rem;
|
||||
color: #1F1B4F;
|
||||
}
|
||||
|
||||
.box2 div input {
|
||||
flex: 7;
|
||||
height: 100%;
|
||||
text-align: right;
|
||||
font-size: 0.3733333333rem;
|
||||
font-size: 0.37333rem;
|
||||
color: #1F1B4F;
|
||||
}
|
||||
|
||||
.box3 {
|
||||
width: 9.1466666667rem;
|
||||
height: 5.5466666667rem;
|
||||
width: 9.14667rem;
|
||||
height: 5.54667rem;
|
||||
background: #fff;
|
||||
border-radius: 0.2666666667rem;
|
||||
border-radius: 0.26667rem;
|
||||
box-sizing: border-box;
|
||||
padding: 0 0.5333333333rem;
|
||||
margin: 0 auto 0.5333333333rem;
|
||||
padding: 0 0.53333rem;
|
||||
margin: 0 auto 0.53333rem;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.box3 p {
|
||||
font-size: 0.3733333333rem;
|
||||
font-size: 0.37333rem;
|
||||
color: #1F1B4F;
|
||||
margin-top: 0.4266666667rem;
|
||||
margin-top: 0.42667rem;
|
||||
}
|
||||
|
||||
.box3 .idBox {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 0.4266666667rem;
|
||||
margin-top: 0.42667rem;
|
||||
}
|
||||
|
||||
.box3 .idBox .z,
|
||||
.box3 .idBox .f {
|
||||
width: 3.84rem;
|
||||
height: 3.1466666667rem;
|
||||
height: 3.14667rem;
|
||||
background: #F3F5FA;
|
||||
border-radius: 0.2666666667rem;
|
||||
border-radius: 0.26667rem;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.box3 .idBox .z .documents,
|
||||
.box3 .idBox .f .documents {
|
||||
position: absolute;
|
||||
width: 3.0933333333rem;
|
||||
width: 3.09333rem;
|
||||
height: 1.92rem;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 0.3733333333rem;
|
||||
top: 0.37333rem;
|
||||
}
|
||||
|
||||
.box3 .idBox .z .icon_camera,
|
||||
.box3 .idBox .f .icon_camera {
|
||||
position: absolute;
|
||||
width: 1.0666666667rem;
|
||||
height: 1.0666666667rem;
|
||||
width: 1.06667rem;
|
||||
height: 1.06667rem;
|
||||
left: 50%;
|
||||
top: 0.8rem;
|
||||
transform: translateX(-50%);
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.box3 .idBox .z span,
|
||||
.box3 .idBox .f span {
|
||||
position: absolute;
|
||||
@@ -156,14 +169,15 @@ input::placeholder {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.box3 .idBox .z .upload,
|
||||
.box3 .idBox .f .upload {
|
||||
position: absolute;
|
||||
width: 3.0933333333rem;
|
||||
width: 3.09333rem;
|
||||
height: 1.92rem;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 0.3733333333rem;
|
||||
top: 0.37333rem;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
@@ -174,7 +188,7 @@ input::placeholder {
|
||||
border-radius: 1.28rem;
|
||||
margin: 0 auto 0.64rem;
|
||||
text-align: center;
|
||||
font-size: 0.4266666667rem;
|
||||
font-size: 0.42667rem;
|
||||
color: #FFFFFF;
|
||||
background: linear-gradient(90deg, #EEDCFF 0%, #DEE4FF 50%, #CCF8F9 100%);
|
||||
}
|
||||
@@ -185,13 +199,76 @@ input::placeholder {
|
||||
|
||||
.rule {
|
||||
width: 8.72rem;
|
||||
margin: 0 auto 0.6666666667rem;
|
||||
margin: 0 auto 0.66667rem;
|
||||
color: #8A8CAB;
|
||||
font-size: 0.3733333333rem;
|
||||
font-size: 0.37333rem;
|
||||
}
|
||||
|
||||
.rule p {
|
||||
margin-bottom: 0.1333333333rem;
|
||||
margin-bottom: 0.13333rem;
|
||||
line-height: 0.45rem;
|
||||
}
|
||||
|
||||
/*# sourceMappingURL=chainBank.css.map */
|
||||
.mainlandInfo {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
z-index: 99;
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
display: none;
|
||||
}
|
||||
|
||||
.mainlandInfo .mainlandInfo_in {
|
||||
width: 8.50667rem;
|
||||
height: 4.96rem;
|
||||
border-radius: 0.53333rem;
|
||||
background: #fff;
|
||||
box-sizing: border-box;
|
||||
padding-top: 1.6rem;
|
||||
position: relative;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
.mainlandInfo .mainlandInfo_in p {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
color: #1F1B4F;
|
||||
font-size: 0.37333rem;
|
||||
margin-bottom: 0.32rem;
|
||||
}
|
||||
|
||||
.mainlandInfo .mainlandInfo_in p b {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.mainlandInfo .mainlandInfo_in p span {
|
||||
color: #9168FA;
|
||||
font-size: 0.42667rem;
|
||||
}
|
||||
|
||||
.mainlandInfo .mainlandInfo_in .close,
|
||||
.mainlandInfo .mainlandInfo_in .ok {
|
||||
position: absolute;
|
||||
width: 3.30667rem;
|
||||
height: 1.17333rem;
|
||||
line-height: 1.17333rem;
|
||||
border-radius: 1.17333rem;
|
||||
color: #fff;
|
||||
font-size: 0.42667rem;
|
||||
top: 3.14667rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.mainlandInfo .mainlandInfo_in .close {
|
||||
background: #E6E6F0;
|
||||
left: 0.74667rem;
|
||||
}
|
||||
|
||||
.mainlandInfo .mainlandInfo_in .ok {
|
||||
left: 4.45333rem;
|
||||
background: linear-gradient(90deg, #5AECFA 0%, #9DB4FF 49%, #CF70FF 100%);
|
||||
}
|
||||
|
@@ -1,5 +1,5 @@
|
||||
@function px2rem($px, $rem:75) {
|
||||
@return $px / $rem+rem;
|
||||
@function px2rem($px) {
|
||||
@return $px / 75+rem;
|
||||
}
|
||||
|
||||
html,
|
||||
@@ -11,20 +11,20 @@ body {
|
||||
.back {
|
||||
position: fixed;
|
||||
z-index: 9;
|
||||
width: px2rem(56, );
|
||||
height: px2rem(56, );
|
||||
left: px2rem(40, );
|
||||
width: px2rem(56);
|
||||
height: px2rem(56);
|
||||
left: px2rem(40);
|
||||
top: 0.2rem;
|
||||
// display: none;
|
||||
}
|
||||
|
||||
h3 {
|
||||
width: 100%;
|
||||
margin-top: px2rem(40, );
|
||||
margin-bottom: px2rem(32, );
|
||||
margin-top: px2rem(40);
|
||||
margin-bottom: px2rem(32);
|
||||
text-align: center;
|
||||
color: #1F1B4F;
|
||||
font-size: px2rem(36, );
|
||||
font-size: px2rem(36);
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
@@ -33,35 +33,35 @@ input {
|
||||
border: none;
|
||||
outline: none;
|
||||
box-sizing: border-box;
|
||||
font-size: px2rem(28, );
|
||||
font-size: px2rem(28);
|
||||
|
||||
&::placeholder {
|
||||
font-size: px2rem(28, );
|
||||
font-size: px2rem(28);
|
||||
color: #8A8CAB;
|
||||
}
|
||||
}
|
||||
|
||||
.box1 {
|
||||
width: px2rem(686, );
|
||||
height: px2rem(208, );
|
||||
width: px2rem(686);
|
||||
height: px2rem(208);
|
||||
background: #fff;
|
||||
border-radius: px2rem(20, );
|
||||
border-radius: px2rem(20);
|
||||
box-sizing: border-box;
|
||||
padding: 0 px2rem(40, );
|
||||
margin: 0 auto px2rem(24, );
|
||||
padding: 0 px2rem(40);
|
||||
margin: 0 auto px2rem(24);
|
||||
overflow: hidden;
|
||||
|
||||
div {
|
||||
width: 100%;
|
||||
height: px2rem(103, );
|
||||
line-height: px2rem(103, );
|
||||
border-bottom: px2rem(1, ) solid #EBEEF5;
|
||||
height: px2rem(103);
|
||||
line-height: px2rem(103);
|
||||
border-bottom: px2rem(1) solid #EBEEF5;
|
||||
display: flex;
|
||||
|
||||
span {
|
||||
flex: 3;
|
||||
height: 100%;
|
||||
font-size: px2rem(28, );
|
||||
font-size: px2rem(28);
|
||||
color: #1F1B4F;
|
||||
}
|
||||
|
||||
@@ -69,33 +69,33 @@ input {
|
||||
flex: 7;
|
||||
height: 100%;
|
||||
text-align: right;
|
||||
font-size: px2rem(28, );
|
||||
font-size: px2rem(28);
|
||||
color: #1F1B4F;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.box2 {
|
||||
width: px2rem(686, );
|
||||
height: px2rem(416, );
|
||||
width: px2rem(686);
|
||||
height: px2rem(416);
|
||||
background: #fff;
|
||||
border-radius: px2rem(20, );
|
||||
border-radius: px2rem(20);
|
||||
box-sizing: border-box;
|
||||
padding: 0 px2rem(40, );
|
||||
margin: 0 auto px2rem(24, );
|
||||
padding: 0 px2rem(40);
|
||||
margin: 0 auto px2rem(24);
|
||||
overflow: hidden;
|
||||
|
||||
div {
|
||||
width: 100%;
|
||||
height: px2rem(103, );
|
||||
line-height: px2rem(103, );
|
||||
border-bottom: px2rem(1, ) solid #EBEEF5;
|
||||
height: px2rem(103);
|
||||
line-height: px2rem(103);
|
||||
border-bottom: px2rem(1) solid #EBEEF5;
|
||||
display: flex;
|
||||
|
||||
span {
|
||||
flex: 3;
|
||||
height: 100%;
|
||||
font-size: px2rem(28, );
|
||||
font-size: px2rem(28);
|
||||
color: #1F1B4F;
|
||||
}
|
||||
|
||||
@@ -103,57 +103,57 @@ input {
|
||||
flex: 7;
|
||||
height: 100%;
|
||||
text-align: right;
|
||||
font-size: px2rem(28, );
|
||||
font-size: px2rem(28);
|
||||
color: #1F1B4F;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.box3 {
|
||||
width: px2rem(686, );
|
||||
height: px2rem(416, );
|
||||
width: px2rem(686);
|
||||
height: px2rem(416);
|
||||
background: #fff;
|
||||
border-radius: px2rem(20, );
|
||||
border-radius: px2rem(20);
|
||||
box-sizing: border-box;
|
||||
padding: 0 px2rem(40, );
|
||||
margin: 0 auto px2rem(40, );
|
||||
padding: 0 px2rem(40);
|
||||
margin: 0 auto px2rem(40);
|
||||
overflow: hidden;
|
||||
|
||||
p {
|
||||
font-size: px2rem(28, );
|
||||
font-size: px2rem(28);
|
||||
color: #1F1B4F;
|
||||
margin-top: px2rem(32, );
|
||||
margin-top: px2rem(32);
|
||||
}
|
||||
|
||||
.idBox {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: px2rem(32, );
|
||||
margin-top: px2rem(32);
|
||||
|
||||
.z,
|
||||
.f {
|
||||
width: px2rem(288, );
|
||||
height: px2rem(236, );
|
||||
width: px2rem(288);
|
||||
height: px2rem(236);
|
||||
background: #F3F5FA;
|
||||
border-radius: px2rem(20, );
|
||||
border-radius: px2rem(20);
|
||||
position: relative;
|
||||
|
||||
.documents {
|
||||
position: absolute;
|
||||
width: px2rem(232, );
|
||||
height: px2rem(144, );
|
||||
width: px2rem(232);
|
||||
height: px2rem(144);
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: px2rem(28, );
|
||||
top: px2rem(28);
|
||||
}
|
||||
|
||||
.icon_camera {
|
||||
position: absolute;
|
||||
width: px2rem(80, );
|
||||
height: px2rem(80, );
|
||||
width: px2rem(80);
|
||||
height: px2rem(80);
|
||||
left: 50%;
|
||||
top: px2rem(60, );
|
||||
top: px2rem(60);
|
||||
transform: translateX(-50%);
|
||||
z-index: 2;
|
||||
}
|
||||
@@ -161,9 +161,9 @@ input {
|
||||
span {
|
||||
position: absolute;
|
||||
color: #8A8CAB;
|
||||
font-size: px2rem(24, );
|
||||
font-size: px2rem(24);
|
||||
left: 50%;
|
||||
top: px2rem(180, );
|
||||
top: px2rem(180);
|
||||
transform: translateX(-50%);
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
@@ -171,11 +171,11 @@ input {
|
||||
|
||||
.upload {
|
||||
position: absolute;
|
||||
width: px2rem(232, );
|
||||
height: px2rem(144, );
|
||||
width: px2rem(232);
|
||||
height: px2rem(144);
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: px2rem(28, );
|
||||
top: px2rem(28);
|
||||
z-index: 2;
|
||||
}
|
||||
}
|
||||
@@ -183,28 +183,93 @@ input {
|
||||
}
|
||||
|
||||
.but {
|
||||
width: px2rem(606, );
|
||||
height: px2rem(96, );
|
||||
line-height: px2rem(96, );
|
||||
border-radius: px2rem(96, );
|
||||
margin: 0 auto px2rem(48, );
|
||||
width: px2rem(606);
|
||||
height: px2rem(96);
|
||||
line-height: px2rem(96);
|
||||
border-radius: px2rem(96);
|
||||
margin: 0 auto px2rem(48);
|
||||
text-align: center;
|
||||
font-size: px2rem(32, );
|
||||
font-size: px2rem(32);
|
||||
color: #FFFFFF;
|
||||
background: linear-gradient(90deg, #EEDCFF 0%, #DEE4FF 50%, #CCF8F9 100%);
|
||||
}
|
||||
.active{
|
||||
|
||||
.active {
|
||||
background: linear-gradient(90deg, #5AECFA 0%, #9DB4FF 49%, #CF70FF 100%);
|
||||
}
|
||||
|
||||
.rule {
|
||||
width: px2rem(654, );
|
||||
margin: 0 auto px2rem(50, );
|
||||
width: px2rem(654);
|
||||
margin: 0 auto px2rem(50);
|
||||
color: #8A8CAB;
|
||||
font-size: px2rem(28, );
|
||||
font-size: px2rem(28);
|
||||
|
||||
p {
|
||||
margin-bottom: px2rem(10, );
|
||||
margin-bottom: px2rem(10);
|
||||
line-height: 0.45rem;
|
||||
}
|
||||
}
|
||||
|
||||
.mainlandInfo {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
z-index: 99;
|
||||
background: rgba(0, 0, 0, .6);
|
||||
display: none;
|
||||
|
||||
.mainlandInfo_in {
|
||||
width: px2rem(638);
|
||||
height: px2rem(372);
|
||||
border-radius: px2rem(40);
|
||||
background: #fff;
|
||||
box-sizing: border-box;
|
||||
padding-top: 1.6rem;
|
||||
position: relative;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
|
||||
p {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
color: #1F1B4F;
|
||||
font-size: px2rem(28);
|
||||
margin-bottom: px2rem(24);
|
||||
|
||||
b {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
span {
|
||||
color: #9168FA;
|
||||
font-size: px2rem(32);
|
||||
}
|
||||
}
|
||||
|
||||
.close,
|
||||
.ok {
|
||||
position: absolute;
|
||||
width: px2rem(248);
|
||||
height: px2rem(88);
|
||||
line-height: px2rem(88);
|
||||
border-radius: px2rem(88);
|
||||
color: #fff;
|
||||
font-size: px2rem(32);
|
||||
top: px2rem(236);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.close {
|
||||
background: #E6E6F0;
|
||||
left: px2rem(56);
|
||||
}
|
||||
|
||||
.ok {
|
||||
left: px2rem(334);
|
||||
background: linear-gradient(90deg, #5AECFA 0%, #9DB4FF 49%, #CF70FF 100%);
|
||||
}
|
||||
}
|
||||
}
|
@@ -158,6 +158,56 @@ body {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.authentication {
|
||||
width: 9.14667rem;
|
||||
height: 1.6rem;
|
||||
line-height: 1.6rem;
|
||||
background: #fff;
|
||||
border-radius: 0.26667rem;
|
||||
margin: 0 auto 0.42667rem;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.authentication .icon_authentication {
|
||||
position: absolute;
|
||||
left: 0.53333rem;
|
||||
top: 0.53333rem;
|
||||
width: 0.53333rem;
|
||||
height: 0.53333rem;
|
||||
}
|
||||
|
||||
.authentication .arrow_right {
|
||||
position: absolute;
|
||||
right: 0.53333rem;
|
||||
top: 0.53333rem;
|
||||
width: 0.53333rem;
|
||||
height: 0.53333rem;
|
||||
}
|
||||
|
||||
.authentication div {
|
||||
height: 100%;
|
||||
color: #1F1B4F;
|
||||
font-size: 0.42667rem;
|
||||
font-weight: bold;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 1.22667rem;
|
||||
}
|
||||
|
||||
.authentication span {
|
||||
height: 100%;
|
||||
color: #B3B3C3;
|
||||
font-size: 0.32rem;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 1.06667rem;
|
||||
}
|
||||
|
||||
.authentication .active {
|
||||
color: #1F1B4F;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.withdrawal {
|
||||
width: 9.14667rem;
|
||||
margin: 0 auto 0.53333rem;
|
||||
@@ -296,6 +346,17 @@ body {
|
||||
height: 1.38667rem;
|
||||
line-height: 1.38667rem;
|
||||
border-bottom: 0.01333rem solid #EBEEF5;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.accountPub .accountPub_in ul li i {
|
||||
font-style: normal;
|
||||
color: #B3B3C3;
|
||||
font-size: 0.32rem;
|
||||
position: absolute;
|
||||
right: 0.64rem;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
.accountPub .accountPub_in ul .active {
|
||||
@@ -623,3 +684,66 @@ body {
|
||||
right: 0.74667rem;
|
||||
bottom: 0.64rem;
|
||||
}
|
||||
|
||||
.mainlandInfo {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
z-index: 99;
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
display: none;
|
||||
}
|
||||
|
||||
.mainlandInfo .mainlandInfo_in {
|
||||
width: 8.50667rem;
|
||||
height: 4.96rem;
|
||||
border-radius: 0.53333rem;
|
||||
background: #fff;
|
||||
box-sizing: border-box;
|
||||
padding-top: 1.12rem;
|
||||
position: relative;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
.mainlandInfo .mainlandInfo_in p {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
color: #1F1B4F;
|
||||
font-size: 0.37333rem;
|
||||
margin-bottom: 0.32rem;
|
||||
}
|
||||
|
||||
.mainlandInfo .mainlandInfo_in p b {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.mainlandInfo .mainlandInfo_in p span {
|
||||
color: #9168FA;
|
||||
font-size: 0.42667rem;
|
||||
}
|
||||
|
||||
.mainlandInfo .mainlandInfo_in .close, .mainlandInfo .mainlandInfo_in .ok {
|
||||
position: absolute;
|
||||
width: 3.30667rem;
|
||||
height: 1.17333rem;
|
||||
line-height: 1.17333rem;
|
||||
border-radius: 1.17333rem;
|
||||
color: #fff;
|
||||
font-size: 0.42667rem;
|
||||
top: 3.14667rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.mainlandInfo .mainlandInfo_in .close {
|
||||
background: #E6E6F0;
|
||||
left: 0.74667rem;
|
||||
}
|
||||
|
||||
.mainlandInfo .mainlandInfo_in .ok {
|
||||
left: 4.45333rem;
|
||||
background: linear-gradient(90deg, #5AECFA 0%, #9DB4FF 49%, #CF70FF 100%);
|
||||
}
|
||||
|