Compare commits
23 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
41bb7136ab | ||
![]() |
a57dd223a8 | ||
![]() |
c83c6e0240 | ||
![]() |
abf5178c62 | ||
![]() |
5fce805f9b | ||
![]() |
e533052973 | ||
![]() |
e3f6712622 | ||
![]() |
09d94a22ee | ||
![]() |
81d1f8e918 | ||
![]() |
62b59ca91a | ||
![]() |
92c9774b18 | ||
![]() |
8722c6584b | ||
![]() |
dd3d0ae151 | ||
![]() |
5f45fdcbf0 | ||
![]() |
9f468451fe | ||
![]() |
bb0acd6a57 | ||
![]() |
8b473fa5c8 | ||
![]() |
ed12c0936d | ||
![]() |
0c852bad5e | ||
![]() |
8a32d8e076 | ||
![]() |
44a39d96d9 | ||
![]() |
8c5e933052 | ||
![]() |
f15768be4e |
@@ -24,12 +24,11 @@ body {
|
||||
|
||||
.wrap {
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
background: url("../images/main/index-bg.png") no-repeat center/cover;
|
||||
height: 115vh;
|
||||
background: url("../images/main/index-bg.png?v1.0") no-repeat center/cover;
|
||||
position: relative;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
margin-bottom: 1.46667rem;
|
||||
}
|
||||
|
||||
.wrap .header {
|
||||
@@ -40,7 +39,7 @@ body {
|
||||
z-index: 9;
|
||||
width: 5.38667rem;
|
||||
height: 2.48rem;
|
||||
background: url("../images/main/head.png") no-repeat 0 0/100% 100%;
|
||||
background: url("../images/main/head.png?v1.0") no-repeat 0 0/100% 100%;
|
||||
}
|
||||
|
||||
.wrap .header p {
|
||||
@@ -67,7 +66,7 @@ body {
|
||||
|
||||
.wrap .rule, .wrap .record, .wrap .mall, .wrap .rank {
|
||||
position: absolute;
|
||||
top: 0.64rem;
|
||||
top: 1.73333rem;
|
||||
left: 0.26667rem;
|
||||
z-index: 99;
|
||||
width: 1.14667rem;
|
||||
@@ -79,11 +78,13 @@ body {
|
||||
}
|
||||
|
||||
.wrap .record {
|
||||
top: 0.66667rem;
|
||||
left: 8.58667rem;
|
||||
}
|
||||
|
||||
.wrap .mall {
|
||||
top: 1.73333rem;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.wrap .rank {
|
||||
@@ -114,7 +115,7 @@ body {
|
||||
color: white;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background: url("../images/previous-result-bg.png") no-repeat 0 0/100% 100%;
|
||||
background: url("../images/previous-result-bg.png?v1.0") no-repeat 0 0/100% 100%;
|
||||
z-index: 9;
|
||||
}
|
||||
|
||||
@@ -132,7 +133,7 @@ body {
|
||||
width: 0.53333rem;
|
||||
height: 0.53333rem;
|
||||
margin-left: 0.10667rem;
|
||||
background: url("../images/little-bubble.png") 0 0/100% 100%;
|
||||
background: url("../images/little-bubble.png?v1.0") 0 0/100% 100%;
|
||||
}
|
||||
|
||||
.wrap .previous-result .result-list p img {
|
||||
@@ -143,7 +144,7 @@ body {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 7.38667rem;
|
||||
background: url("../images/main/path-bg.png") no-repeat 0 0/100% 100%;
|
||||
background: url("../images/main/path-bg.png?v1.0") no-repeat 0 0/100% 100%;
|
||||
margin-top: 1.81333rem;
|
||||
}
|
||||
|
||||
@@ -201,6 +202,10 @@ body {
|
||||
transform: scale(2);
|
||||
}
|
||||
|
||||
.wrap .game-area .sign-wrap div.active p {
|
||||
transform: scale(0.7);
|
||||
}
|
||||
|
||||
.wrap .game-area .sign-wrap div img {
|
||||
width: 70%;
|
||||
}
|
||||
@@ -260,7 +265,7 @@ body {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 1.12rem;
|
||||
background: url("../images/main/weapon-list.png") no-repeat 0 0/100% 100%;
|
||||
background: url("../images/main/weapon-list.png?v1.0") no-repeat 0 0/100% 100%;
|
||||
}
|
||||
|
||||
.wrap .summon-area .weapon-wrap p {
|
||||
@@ -279,7 +284,7 @@ body {
|
||||
}
|
||||
|
||||
.wrap .summon-area .weapon-wrap p.active {
|
||||
background: url("../images/main/weapon-item-active.png") no-repeat 0 0/100% 100%;
|
||||
background: url("../images/main/weapon-item-active.png?v1.0") no-repeat 0 0/100% 100%;
|
||||
}
|
||||
|
||||
.wrap .summon-area .weapon-wrap p:nth-child(2) {
|
||||
@@ -314,7 +319,7 @@ body {
|
||||
position: relative;
|
||||
width: 6.74667rem;
|
||||
height: 2.10667rem;
|
||||
background: url("../images/main/restrain-bg.png") no-repeat 0 0/100% 100%;
|
||||
background: url("../images/main/restrain-bg.png?v1.0") no-repeat 0 0/100% 100%;
|
||||
margin: 0.24rem auto 0.61333rem;
|
||||
}
|
||||
|
||||
@@ -434,6 +439,10 @@ body {
|
||||
width: 4rem;
|
||||
height: 1.01333rem;
|
||||
margin: 0.93333rem auto 0;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 14.3rem;
|
||||
}
|
||||
|
||||
.wrap .summon-area .confitm-btn.inactive {
|
||||
@@ -474,8 +483,9 @@ body {
|
||||
.wrap .info-bottom .f-wrap .fragment img, .wrap .info-bottom .f-wrap .award img {
|
||||
width: 0.46667rem;
|
||||
width: 0.4rem;
|
||||
margin-right: 0.08rem;
|
||||
margin-left: 0.08rem;
|
||||
vertical-align: middle;
|
||||
margin-top: -0.02667rem;
|
||||
}
|
||||
|
||||
.wrap .info-bottom .f-wrap .fragment span, .wrap .info-bottom .f-wrap .award span {
|
||||
@@ -530,7 +540,7 @@ body {
|
||||
transform: translate(-50%, -50%);
|
||||
width: 9.6rem;
|
||||
height: 11.33333rem;
|
||||
background: url("../images/popup/rule.png") no-repeat 0 0/100% 100%;
|
||||
background: url("../images/popup/rule.png?v1.0") no-repeat 0 0/100% 100%;
|
||||
font-size: 0.26667rem;
|
||||
color: #6E5F4C;
|
||||
font-weight: 600;
|
||||
@@ -645,15 +655,15 @@ body {
|
||||
}
|
||||
|
||||
.wrap .popup-result .result-content.success-bg, .wrap .popup-result .not-enough-content.success-bg, .wrap .popup-result .summon-content.success-bg, .wrap .popup-not-enough .result-content.success-bg, .wrap .popup-not-enough .not-enough-content.success-bg, .wrap .popup-not-enough .summon-content.success-bg, .wrap .popup-summon .result-content.success-bg, .wrap .popup-summon .not-enough-content.success-bg, .wrap .popup-summon .summon-content.success-bg, .wrap .popup-rank .result-content.success-bg, .wrap .popup-rank .not-enough-content.success-bg, .wrap .popup-rank .summon-content.success-bg {
|
||||
background: url("../images/popup/success.png") no-repeat 0 0/100% 100%;
|
||||
background: url("../images/popup/success.png?v1.0") no-repeat 0 0/100% 100%;
|
||||
}
|
||||
|
||||
.wrap .popup-result .result-content.failure-bg, .wrap .popup-result .not-enough-content.failure-bg, .wrap .popup-result .summon-content.failure-bg, .wrap .popup-not-enough .result-content.failure-bg, .wrap .popup-not-enough .not-enough-content.failure-bg, .wrap .popup-not-enough .summon-content.failure-bg, .wrap .popup-summon .result-content.failure-bg, .wrap .popup-summon .not-enough-content.failure-bg, .wrap .popup-summon .summon-content.failure-bg, .wrap .popup-rank .result-content.failure-bg, .wrap .popup-rank .not-enough-content.failure-bg, .wrap .popup-rank .summon-content.failure-bg {
|
||||
background: url("../images/popup/failure.png") no-repeat 0 0/100% 100%;
|
||||
background: url("../images/popup/failure.png?v1.0") no-repeat 0 0/100% 100%;
|
||||
}
|
||||
|
||||
.wrap .popup-result .result-content.not-join-bg, .wrap .popup-result .not-enough-content.not-join-bg, .wrap .popup-result .summon-content.not-join-bg, .wrap .popup-not-enough .result-content.not-join-bg, .wrap .popup-not-enough .not-enough-content.not-join-bg, .wrap .popup-not-enough .summon-content.not-join-bg, .wrap .popup-summon .result-content.not-join-bg, .wrap .popup-summon .not-enough-content.not-join-bg, .wrap .popup-summon .summon-content.not-join-bg, .wrap .popup-rank .result-content.not-join-bg, .wrap .popup-rank .not-enough-content.not-join-bg, .wrap .popup-rank .summon-content.not-join-bg {
|
||||
background: url("../images/popup/not-join.png") no-repeat 0 0/100% 100%;
|
||||
background: url("../images/popup/not-join.png?v1.0") no-repeat 0 0/100% 100%;
|
||||
}
|
||||
|
||||
.wrap .popup-result .result-content .close, .wrap .popup-result .not-enough-content .close, .wrap .popup-result .summon-content .close, .wrap .popup-not-enough .result-content .close, .wrap .popup-not-enough .not-enough-content .close, .wrap .popup-not-enough .summon-content .close, .wrap .popup-summon .result-content .close, .wrap .popup-summon .not-enough-content .close, .wrap .popup-summon .summon-content .close, .wrap .popup-rank .result-content .close, .wrap .popup-rank .not-enough-content .close, .wrap .popup-rank .summon-content .close {
|
||||
@@ -731,7 +741,7 @@ body {
|
||||
}
|
||||
|
||||
.wrap .popup-not-enough .not-enough-content {
|
||||
background: url("../images/popup/not-enough.png") no-repeat 0 0/100% 100%;
|
||||
background: url("../images/popup/not-enough.png?v1.0") no-repeat 0 0/100% 100%;
|
||||
}
|
||||
|
||||
.wrap .popup-not-enough .not-enough-content .headwear-pic {
|
||||
@@ -756,7 +766,7 @@ body {
|
||||
.wrap .popup-not-enough .not-enough-content .headwear-price {
|
||||
width: 5.36rem;
|
||||
height: 0.8rem;
|
||||
background: url("../images/popup/price-bg.png") no-repeat 0 0/100% 100%;
|
||||
background: url("../images/popup/price-bg.png?v1.0") no-repeat 0 0/100% 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
@@ -794,7 +804,7 @@ body {
|
||||
}
|
||||
|
||||
.wrap .popup-summon .summon-content {
|
||||
background: url("../images/popup/summon.png") no-repeat 0 0/100% 100%;
|
||||
background: url("../images/popup/summon.png?v1.0") no-repeat 0 0/100% 100%;
|
||||
color: #6F5F4D;
|
||||
}
|
||||
|
||||
@@ -973,7 +983,7 @@ body {
|
||||
transform: translate(-50%, -50%);
|
||||
width: 9.6rem;
|
||||
height: 11.33333rem;
|
||||
background: url("../images/popup/record.png") no-repeat 0 0/100% 100%;
|
||||
background: url("../images/popup/record.png?v1.0") no-repeat 0 0/100% 100%;
|
||||
}
|
||||
|
||||
.wrap .popup-record-list .record-list-content .close, .wrap .popup-record-list .previous-result-content .close, .wrap .pupop-previous-result .record-list-content .close, .wrap .pupop-previous-result .previous-result-content .close {
|
||||
@@ -994,7 +1004,7 @@ body {
|
||||
overflow: hidden;
|
||||
width: 7.2rem;
|
||||
height: 3.89333rem;
|
||||
background: url("../images/popup/record-bg.png") no-repeat 0 0/100% 100%;
|
||||
background: url("../images/popup/record-bg.png?v1.0") no-repeat 0 0/100% 100%;
|
||||
margin: 0rem auto 0.34667rem;
|
||||
}
|
||||
|
||||
@@ -1108,9 +1118,10 @@ body {
|
||||
}
|
||||
|
||||
.wrap .popup-record-list .record-list-content ul.record-list li.record-item .result-wrap p img, .wrap .popup-record-list .previous-result-content ul.record-list li.record-item .result-wrap p img, .wrap .pupop-previous-result .record-list-content ul.record-list li.record-item .result-wrap p img, .wrap .pupop-previous-result .previous-result-content ul.record-list li.record-item .result-wrap p img {
|
||||
width: 0.4rem;
|
||||
height: 0.29333rem;
|
||||
vertical-align: baseline;
|
||||
width: 0.33333rem;
|
||||
height: 0.33333rem;
|
||||
vertical-align: middle;
|
||||
margin-top: -0.06667rem;
|
||||
}
|
||||
|
||||
.wrap .popup-record-list .record-list-content ul.record-list .no-record, .wrap .popup-record-list .previous-result-content ul.record-list .no-record, .wrap .pupop-previous-result .record-list-content ul.record-list .no-record, .wrap .pupop-previous-result .previous-result-content ul.record-list .no-record {
|
||||
@@ -1124,7 +1135,7 @@ body {
|
||||
}
|
||||
|
||||
.wrap .pupop-previous-result .previous-result-content {
|
||||
background-image: url("../images/popup/monster-record.png");
|
||||
background-image: url("../images/popup/monster-record.png?v1.0");
|
||||
}
|
||||
|
||||
.wrap .pupop-previous-result .previous-result-content ul.previous-result-list {
|
||||
@@ -1181,7 +1192,7 @@ body {
|
||||
z-index: 99;
|
||||
width: 100%;
|
||||
height: 12.21333rem;
|
||||
background: url("../images/popup/rank-bg.png") no-repeat 0 0/100% 100%;
|
||||
background: url("../images/popup/rank-bg.png?v1.0") no-repeat 0 0/100% 100%;
|
||||
}
|
||||
|
||||
.wrap .popup-rank .rank-content .rank-top {
|
||||
@@ -1239,7 +1250,7 @@ body {
|
||||
}
|
||||
|
||||
.wrap .popup-rank .rank-content .rank-top .topthree-wrap .info-wrap:nth-child(2) .avatar p, .wrap .popup-rank .rank-content .rank-top .topthree-wrap .info-wrap:nth-child(3) .avatar p {
|
||||
background-image: url("../images/popup/second.png");
|
||||
background-image: url("../images/popup/second.png?v1.0");
|
||||
}
|
||||
|
||||
.wrap .popup-rank .rank-content .rank-top .topthree-wrap .info-wrap:nth-child(2) .avatar img, .wrap .popup-rank .rank-content .rank-top .topthree-wrap .info-wrap:nth-child(3) .avatar img {
|
||||
@@ -1253,7 +1264,7 @@ body {
|
||||
}
|
||||
|
||||
.wrap .popup-rank .rank-content .rank-top .topthree-wrap .info-wrap:nth-child(3) .avatar p {
|
||||
background-image: url("../images/popup/third.png");
|
||||
background-image: url("../images/popup/third.png?v1.0");
|
||||
}
|
||||
|
||||
.wrap .popup-rank .rank-content .rank-top .topthree-wrap .info-wrap .avatar {
|
||||
@@ -1268,7 +1279,7 @@ body {
|
||||
z-index: 99;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: url("../images/popup/first.png") no-repeat 0 0/100% 100%;
|
||||
background: url("../images/popup/first.png?v1.0") no-repeat 0 0/100% 100%;
|
||||
}
|
||||
|
||||
.wrap .popup-rank .rank-content .rank-top .topthree-wrap .info-wrap .avatar img {
|
||||
@@ -1401,7 +1412,7 @@ body {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 999;
|
||||
z-index: 9999;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background-color: rgba(0, 0, 0, 0.4);
|
||||
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 9.1 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 64 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 8.9 KiB |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 7.6 KiB |
Before Width: | Height: | Size: 7.1 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 7.5 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 66 KiB |
BIN
view/peko/activity/act-guard-planet/images/popup/logo.png
Normal file
After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 77 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 69 KiB |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 5.7 KiB |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 5.6 KiB |
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 67 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 93 KiB After Width: | Height: | Size: 81 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 56 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 62 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 61 KiB |
@@ -4,31 +4,31 @@
|
||||
<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>守护星球</title>
|
||||
<title>守護星球</title>
|
||||
<link rel="stylesheet" href="../../common/css/reset.css">
|
||||
<link rel="stylesheet" href="./css/index.css?v=1.7">
|
||||
<link rel="stylesheet" href="./css/index.css?v=1.9">
|
||||
</head>
|
||||
|
||||
<body class="no-in-app">
|
||||
<div class="wrap">
|
||||
<div class="header"><p><i class="count-down-text">下一轮进攻即将开始</i><span class="count-down-num"></span></p></div>
|
||||
<div class="rule"><img src="./images/main/rule-icon.png" alt=""></div>
|
||||
<div class="record"><img src="./images/main/record-icon.png" alt=""></div>
|
||||
<div class="mall"><img src="./images/main/mall-icon.png" alt=""></div>
|
||||
<div class="rank"><img src="./images/main/rank-icon.png" alt=""></div>
|
||||
<div class="header"><p><i class="count-down-text">下一輪進攻即將開始</i><span class="count-down-num"></span></p></div>
|
||||
<div class="rule"><img src="./images/main/rule-icon.png?v1.0" alt=""></div>
|
||||
<div class="record"><img src="./images/main/record-icon.png?v1.0" alt=""></div>
|
||||
<div class="mall"><img src="./images/main/mall-icon.png?v1.0" alt=""></div>
|
||||
<div class="rank"><img src="./images/main/rank-icon.png?v1.0" alt=""></div>
|
||||
|
||||
<!-- 过场动画 -->
|
||||
<!-- 過場動畫 -->
|
||||
<div class="monster-svga"></div>
|
||||
|
||||
<!-- 游戏区域 -->
|
||||
<!-- 遊戲區域 -->
|
||||
<div class="game-area">
|
||||
<!-- 路径图 -->
|
||||
<img src="./images/main/path.png" alt="" class="path">
|
||||
<!-- 怪兽初始位置 -->
|
||||
<!-- 路徑圖 -->
|
||||
<img src="./images/main/path.png?v1.0" alt="" class="path">
|
||||
<!-- 怪獸初始位置 -->
|
||||
<img src="" alt="" class="monster-position">
|
||||
<!-- 怪兽牌位置 -->
|
||||
<img src="./images/main/init-position.png" alt="" class="init-position">
|
||||
<!-- 标志位位置 -->
|
||||
<!-- 怪獸牌位置 -->
|
||||
<img src="./images/main/init-position.png?v1.0" alt="" class="init-position">
|
||||
<!-- 標誌位位置 -->
|
||||
<div class="sign-wrap">
|
||||
<div><img src="" alt=""><p></p></div>
|
||||
<div><img src="" alt=""><p></p></div>
|
||||
@@ -40,13 +40,13 @@
|
||||
<div><img src="" alt=""><p></p></div>
|
||||
</div>
|
||||
|
||||
<!-- 召唤神器 -->
|
||||
<!-- 召喚神器 -->
|
||||
<div class="call-weapon">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 召唤区域 -->
|
||||
<!-- 召喚區域 -->
|
||||
<div class="summon-area">
|
||||
<!-- 神器坑位 -->
|
||||
<div class="weapon-wrap">
|
||||
@@ -59,55 +59,56 @@
|
||||
<p><img src="" alt=""></p>
|
||||
<p><img src="" alt=""></p>
|
||||
</div>
|
||||
<!-- 克制关系 -->
|
||||
<!-- 克制關繫 -->
|
||||
<div class="restrain">
|
||||
<div class="weapon-pic"><img src="" alt=""></div>
|
||||
<div class="monster-pic"><img src="" alt=""></div>
|
||||
<div class="weapon-name"></div>
|
||||
<div class="monster-name"></div>
|
||||
</div>
|
||||
<!-- 输入 -->
|
||||
<!-- 輸入 -->
|
||||
<div class="select-num">
|
||||
<div class="decrement-ten"><img src="./images/main/decrement-ten.png" alt=""></div>
|
||||
<div class="decrement-ten"><img src="./images/main/decrement-ten.png?v1.0" alt=""></div>
|
||||
<div class="ipt-wrap">
|
||||
<span>召唤个数</span>
|
||||
<p>成功击败怪兽将获得<i>0</i>鉆石奖励</p>
|
||||
<span>召喚個數</span>
|
||||
<p style="bottom:-0.32rem" class="p1">消耗 <b style="color:#f1db14">鉆石*0</b></p>
|
||||
<p style="bottom:-0.64rem">成功擊敗怪獸將獲得 <b style="color:#f1db14">鉆石*<i>0</i></b></p>
|
||||
<!-- <main>消耗魔法石<i>0</i></main> -->
|
||||
<main>召唤个数</main>
|
||||
<img src="./images/main/decrement.png" alt="" class="decrement">
|
||||
<main>召喚個數</main>
|
||||
<img src="./images/main/decrement.png?v1.0" alt="" class="decrement">
|
||||
<input type="text" value="0">
|
||||
<img src="./images/main/increment.png" alt="" class="increment">
|
||||
<img src="./images/main/increment.png?v1.0" alt="" class="increment">
|
||||
</div>
|
||||
<div class="increment-ten"><img src="./images/main/increment-ten.png" alt=""></div>
|
||||
<div class="increment-ten"><img src="./images/main/increment-ten.png?v1.0" alt=""></div>
|
||||
</div>
|
||||
<!-- 确认召唤按钮 -->
|
||||
<div class="confitm-btn active"><img src="./images/main/confirm-btn.png" alt=""></div>
|
||||
<!-- 確認召喚按鈕 -->
|
||||
<div class="confitm-btn active"><img src="./images/main/confirm-btn.png?v1.0" alt=""></div>
|
||||
</div>
|
||||
|
||||
<!-- 个人信息 -->
|
||||
<!-- 個人信息 -->
|
||||
<div class="info-bottom">
|
||||
<div class="avatar"><img src="./images/main/logo.png" alt=""></div>
|
||||
<div class="avatar"><img src="./images/main/logo.png?v1.0" alt=""></div>
|
||||
<div class="f-wrap">
|
||||
<div class="fragment">
|
||||
<img src="./images/main/prop-icon.png" alt="">
|
||||
我的魔法石:<span>0</span>
|
||||
<img src="./images/main/prop-icon.png?v1.0" alt="">
|
||||
我的鉆石:<span>0</span><img src="./images/popup/add.png?v1.0" alt="" class="add">
|
||||
</div>
|
||||
<div class="award">
|
||||
<img src="./images/main/award-icon.png" alt="">
|
||||
今日奖励:<span>0</span>
|
||||
<img src="./images/main/award-icon.png?v1.0" alt="">
|
||||
今日獎勵:<span>0</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mine-record">我的记录 ></div>
|
||||
<div class="mine-record">我的記錄 ></div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!-- 规则弹窗 -->
|
||||
<!-- 規則彈窗 -->
|
||||
<div class="shade-mask">
|
||||
<div class="shade-content">
|
||||
<div class="close"></div>
|
||||
<main>
|
||||
<img src="./images/popup/rule-bg1.png" alt="" class="rule-bg1">
|
||||
<img src="./images/popup/rule-bg1.png?v1.0" alt="" class="rule-bg1">
|
||||
<div class="rule-weapon-wrap">
|
||||
<p class="active"><img src="" alt=""></p>
|
||||
<p><img src="" alt=""></p>
|
||||
@@ -122,30 +123,30 @@
|
||||
<div class="rule-summon-weapon">
|
||||
<div><img src="" alt=""></div>
|
||||
<p>
|
||||
<span>神器介绍</span>
|
||||
<span>神器介紹</span>
|
||||
<span>武力值:<i>5</i></span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="rule-summon-monster">
|
||||
<div><img src="" alt=""></div>
|
||||
<span>怪兽名字</span>
|
||||
<span>怪獸名字</span>
|
||||
</div>
|
||||
</div>
|
||||
<img src="./images/popup/rule-bg2.png" alt="" class="rule-bg2">
|
||||
<img src="./images/popup/rule-bg2.png?v1.0" alt="" class="rule-bg2">
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 结果弹窗 -->
|
||||
<!-- 結果彈窗 -->
|
||||
<div class="popup-result">
|
||||
<div class="result-content">
|
||||
<div class="close"></div>
|
||||
<div class="result-title">本轮<span></span>成功克制进攻怪兽</div>
|
||||
<div class="result-title">本輪<span></span>成功克制進攻怪獸</div>
|
||||
<img src="" alt="" class="result-weapon-pic">
|
||||
<img src="" alt="" class="result-monster-pic">
|
||||
<div class="result-weapon-name"></div>
|
||||
<div class="result-monster-name"></div>
|
||||
<div class="result-award">获得<span></span>鉆石奖励</div>
|
||||
<div class="result-award">獲得<span></span>鉆石獎勵</div>
|
||||
<div class="top-three">
|
||||
<img src="" alt="">
|
||||
<img src="" alt="">
|
||||
@@ -154,60 +155,60 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 魔法石不足弹窗 -->
|
||||
<!-- 魔法石不足彈窗 -->
|
||||
<div class="popup-not-enough">
|
||||
<div class="not-enough-content">
|
||||
<div class="close"></div>
|
||||
<img src="./images/main/logo.png" alt="" class="headwear-pic">
|
||||
<img src="./images/main/logo.png?v1.0" alt="" class="headwear-pic">
|
||||
<div class="headwear-name"></div>
|
||||
<div class="headwear-award"></div>
|
||||
<div class="headwear-price">
|
||||
<img src="./images/mall/diamond-icon.png" alt="" class="diamond-icon">
|
||||
<img src="./images/mall/diamond-icon.png?v1.0" alt="" class="diamond-icon">
|
||||
<span></span>
|
||||
<p class="buy-btn"><img src="./images/popup/buy-btn.png" alt=""></p>
|
||||
<p class="buy-btn"><img src="./images/popup/buy-btn.png?v1.0" alt=""></p>
|
||||
</div>
|
||||
<div class="diamond-num">我的鉆石<span>0</span></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 余额不足弹窗 -->
|
||||
<!-- 余額不足彈窗 -->
|
||||
<div class="shade-mask-no-money">
|
||||
<div class="shade-content-no-money">
|
||||
<p class="no-money-title">余额不足</p>
|
||||
<p class="no-money-pic"><img src="./images/mall/no-money.png" alt=""></p>
|
||||
<p class="no-money-tip">亲,余额不足~</p>
|
||||
<p class="no-money-title">鉆石余額不足</p>
|
||||
<p class="no-money-pic"><img src="./images/mall/no-money.png?v1.0" alt=""></p>
|
||||
<p class="no-money-tip">親,鉆石余額不足~</p>
|
||||
<p class="no-money-recharge">去充值</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 召唤神器弹窗 -->
|
||||
<!-- 召喚神器彈窗 -->
|
||||
<div class="popup-summon">
|
||||
<div class="summon-content">
|
||||
<div class="close"></div>
|
||||
<div class="summon-title">召唤<span></span></div>
|
||||
<div class="summon-title">召喚<span></span></div>
|
||||
<img src="" alt="" class="summon-weapon-pic">
|
||||
<img src="" alt="" class="summon-monster-pic">
|
||||
<div class="summon-weapon-name"></div>
|
||||
<div class="summon-monster-name"></div>
|
||||
<div class="multiple">(武力值<span></span>)</div>
|
||||
<div class="popup-select-num">
|
||||
<div class="decrement-ten"><img src="./images/popup/decrement-ten.png" alt=""></div>
|
||||
<div class="decrement-ten"><img src="./images/popup/decrement-ten.png?v1.0" alt=""></div>
|
||||
<div class="ipt-wrap">
|
||||
<span>召唤个数</span>
|
||||
<p>成功击败怪兽将获得<i>0</i>鉆石奖励</p>
|
||||
<main>消耗魔法石<i>0</i></main>
|
||||
<img src="./images/main/decrement.png" alt="" class="decrement">
|
||||
<span>召喚個數</span>
|
||||
<p>成功擊敗怪獸將獲得<i>0</i>鉆石獎勵</p>
|
||||
<main>消耗鉆石<i>0</i></main>
|
||||
<img src="./images/main/decrement.png?v1.0" alt="" class="decrement">
|
||||
<input type="text" value="0">
|
||||
<img src="./images/main/increment.png" alt="" class="increment">
|
||||
<img src="./images/main/increment.png?v1.0" alt="" class="increment">
|
||||
</div>
|
||||
<div class="increment-ten"><img src="./images/popup/increment-ten.png" alt=""></div>
|
||||
<div class="increment-ten"><img src="./images/popup/increment-ten.png?v1.0" alt=""></div>
|
||||
</div>
|
||||
<div class="popup-confitm-btn active"><img src="./images/main/confirm-btn.png" alt=""></div>
|
||||
<div class="mine-prop-num">我的魔法石<span>0</span> <img src="./images/popup/add.png" alt="" class="add"></div>
|
||||
<div class="popup-confitm-btn active"><img src="./images/main/confirm-btn.png?v1.0" alt=""></div>
|
||||
<div class="mine-prop-num">我的鉆石<span>0</span> <img src="./images/popup/add.png?v1.0" alt="" class="add"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 游戏记录弹窗 -->
|
||||
<!-- 遊戲記錄彈窗 -->
|
||||
<div class="popup-record-list">
|
||||
<div class="record-list-content">
|
||||
<div class="close"></div>
|
||||
@@ -216,7 +217,7 @@
|
||||
</div>
|
||||
<ul class="none" style="display: none;"></ul>
|
||||
|
||||
<!-- 往轮结果弹窗 -->
|
||||
<!-- 往輪結果彈窗 -->
|
||||
<div class="pupop-previous-result">
|
||||
<div class="previous-result-content">
|
||||
<div class="close"></div>
|
||||
@@ -224,13 +225,13 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 今日排名弹窗 -->
|
||||
<!-- 今日排名彈窗 -->
|
||||
<div class="popup-rank">
|
||||
<div class="rank-content">
|
||||
<div class="rank-top">
|
||||
<div class="tab-wrap">
|
||||
<p class="diamond-rank"><img src="./images/popup/rank-tab1-active.png" alt=""></p>
|
||||
<p class="num-rank"><img src="./images/popup/rank-tab2.png" alt=""></p>
|
||||
<p class="diamond-rank"><img src="./images/popup/rank-tab1-active.png?v1.0" alt=""></p>
|
||||
<p class="num-rank"><img src="./images/popup/rank-tab2.png?v1.0" alt=""></p>
|
||||
</div>
|
||||
<div class="topthree-wrap"></div>
|
||||
</div>
|
||||
@@ -240,7 +241,7 @@
|
||||
<div class="mine">
|
||||
<span class="mine-rank">未上榜</span>
|
||||
<div class="mine-info">
|
||||
<img src="./images/main/logo.png" alt="">
|
||||
<img src="./images/main/logo.png?v1.0" alt="">
|
||||
<span class="mine-nick"></span>
|
||||
</div>
|
||||
<span class="mine-diamond-num"></span>
|
||||
@@ -256,7 +257,7 @@
|
||||
<script src="../../common/js/vconsole.min.js"></script>
|
||||
<script src="../../common/js/svga.min.js"></script>
|
||||
<script src="../../common/js/route-constant.js"></script>
|
||||
<script src="./js/index.js?v=2.1"></script>
|
||||
<script src="./js/index.js?v=2.7"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
768
view/peko/activity/billiard/css/index.css
Normal file
@@ -0,0 +1,768 @@
|
||||
html,
|
||||
body {
|
||||
width: 100%;
|
||||
background: #05341F;
|
||||
}
|
||||
|
||||
.back {
|
||||
position: fixed;
|
||||
top: 0.93333rem;
|
||||
left: 0.45333rem;
|
||||
z-index: 99;
|
||||
width: 0.82667rem;
|
||||
height: 0.82667rem;
|
||||
}
|
||||
|
||||
.back img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.back p {
|
||||
color: #fff;
|
||||
font-size: 0.42667rem;
|
||||
position: absolute;
|
||||
width: 9rem;
|
||||
left: 0;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
text-align: center;
|
||||
line-height: 0.82667rem;
|
||||
}
|
||||
|
||||
.header {
|
||||
width: 10rem;
|
||||
height: 8.24rem;
|
||||
background: url(../images/header.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
position: relative;
|
||||
margin: 0 auto 0;
|
||||
}
|
||||
|
||||
.header .rule_icon {
|
||||
width: 0.72rem;
|
||||
height: 1.92rem;
|
||||
position: absolute;
|
||||
top: 2.61333rem;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.header div {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
font-size: 0.37333rem;
|
||||
color: #FFFCE6;
|
||||
position: absolute;
|
||||
top: 1rem;
|
||||
left: 0;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.tabBox {
|
||||
width: 9.52rem;
|
||||
height: 1.66667rem;
|
||||
background: url(../images/tabBox.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
margin: -0.53333rem auto 0.18667rem;
|
||||
position: relative;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 0 0.37333rem;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.tabBox div {
|
||||
width: 2.16rem;
|
||||
height: 1.12rem;
|
||||
margin-top: 0.28rem;
|
||||
}
|
||||
|
||||
.tabBox .tab1 {
|
||||
background: url(../images/tab1.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.tabBox .tab2 {
|
||||
background: url(../images/tab2.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.tabBox .tab3 {
|
||||
background: url(../images/tab3.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.tabBox .tab4 {
|
||||
background: url(../images/tab4.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.tabBox .tabAct1 {
|
||||
background: url(../images/tabAct1.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.tabBox .tabAct2 {
|
||||
background: url(../images/tabAct2.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.tabBox .tabAct3 {
|
||||
background: url(../images/tabAct3.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.tabBox .tabAct4 {
|
||||
background: url(../images/tabAct4.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.page1 .time {
|
||||
width: 100%;
|
||||
height: 0.98667rem;
|
||||
line-height: 0.98667rem;
|
||||
text-align: center;
|
||||
color: #FFEDBB;
|
||||
font-size: 0.32rem;
|
||||
}
|
||||
|
||||
.page1 .time span {
|
||||
width: 0.98667rem;
|
||||
margin: 0 0.12rem;
|
||||
color: #FFF;
|
||||
font-size: 0.42667rem;
|
||||
background: url(../images/num.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.page1 .top {
|
||||
width: 100%;
|
||||
height: 5.12rem;
|
||||
margin: 0 auto 0.26667rem;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.page1 .top .no1 {
|
||||
width: 2.98667rem;
|
||||
height: 5.12rem;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 0;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
.page1 .top .no1 .ts {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.page1 .top .no1 .tx {
|
||||
width: 2.21333rem;
|
||||
height: 2.21333rem;
|
||||
border-radius: 50%;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 0.77333rem;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.page1 .top .no1 p {
|
||||
width: 81%;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
text-align: center;
|
||||
color: #663208;
|
||||
font-size: 0.34667rem;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 3.16rem;
|
||||
z-index: 2;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.page1 .top .no1 span {
|
||||
width: 81%;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
text-align: center;
|
||||
color: #663208;
|
||||
font-size: 0.29333rem;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 3.64rem;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.page1 .top .no1 .score {
|
||||
width: 2.45333rem;
|
||||
height: 0.61333rem;
|
||||
line-height: 0.61333rem;
|
||||
text-align: center;
|
||||
color: #FFF1D8;
|
||||
font-size: 0.29333rem;
|
||||
background: url(../images/win.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
z-index: 2;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 4rem;
|
||||
}
|
||||
|
||||
.page1 .top .no1 .score b {
|
||||
color: #fff;
|
||||
font-size: 0.32rem;
|
||||
}
|
||||
|
||||
.page1 .top .no2 {
|
||||
width: 2.98667rem;
|
||||
height: 5.12rem;
|
||||
position: absolute;
|
||||
left: 0.32rem;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.page1 .top .no2 .ts {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.page1 .top .no2 .tx {
|
||||
width: 1.94667rem;
|
||||
height: 1.94667rem;
|
||||
border-radius: 50%;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 1.06667rem;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.page1 .top .no2 p {
|
||||
width: 81%;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
text-align: center;
|
||||
color: #663208;
|
||||
font-size: 0.34667rem;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 3.16rem;
|
||||
z-index: 2;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.page1 .top .no2 span {
|
||||
width: 81%;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
text-align: center;
|
||||
color: #663208;
|
||||
font-size: 0.29333rem;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 3.64rem;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.page1 .top .no2 .score {
|
||||
width: 2.45333rem;
|
||||
height: 0.61333rem;
|
||||
line-height: 0.61333rem;
|
||||
text-align: center;
|
||||
color: #FFF1D8;
|
||||
font-size: 0.29333rem;
|
||||
background: url(../images/win2.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
z-index: 2;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 4rem;
|
||||
}
|
||||
|
||||
.page1 .top .no2 .score b {
|
||||
color: #fff;
|
||||
font-size: 0.32rem;
|
||||
}
|
||||
|
||||
.page1 .top .no3 {
|
||||
width: 2.98667rem;
|
||||
height: 5.12rem;
|
||||
position: absolute;
|
||||
right: 0.32rem;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.page1 .top .no3 .ts {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.page1 .top .no3 .tx {
|
||||
width: 1.94667rem;
|
||||
height: 1.94667rem;
|
||||
border-radius: 50%;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 1.06667rem;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.page1 .top .no3 p {
|
||||
width: 81%;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
text-align: center;
|
||||
color: #663208;
|
||||
font-size: 0.34667rem;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 3.16rem;
|
||||
z-index: 2;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.page1 .top .no3 span {
|
||||
width: 81%;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
text-align: center;
|
||||
color: #663208;
|
||||
font-size: 0.29333rem;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 3.64rem;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.page1 .top .no3 .score {
|
||||
width: 2.45333rem;
|
||||
height: 0.61333rem;
|
||||
line-height: 0.61333rem;
|
||||
text-align: center;
|
||||
color: #FFF1D8;
|
||||
font-size: 0.29333rem;
|
||||
background: url(../images/win3.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
z-index: 2;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 4rem;
|
||||
}
|
||||
|
||||
.page1 .top .no3 .score b {
|
||||
color: #fff;
|
||||
font-size: 0.32rem;
|
||||
}
|
||||
|
||||
.page1 ul {
|
||||
width: 9.30667rem;
|
||||
margin: 0 auto 2rem;
|
||||
}
|
||||
|
||||
.page1 ul li {
|
||||
width: 100%;
|
||||
height: 1.81333rem;
|
||||
background: url(../images/li.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.page1 ul li .num {
|
||||
width: 1rem;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
font-size: 0.53333rem;
|
||||
font-weight: bold;
|
||||
float: left;
|
||||
height: 100%;
|
||||
line-height: 1.81333rem;
|
||||
margin-right: 0.18667rem;
|
||||
}
|
||||
|
||||
.page1 ul li .tx {
|
||||
width: 1.30667rem;
|
||||
height: 1.30667rem;
|
||||
border-radius: 50%;
|
||||
float: left;
|
||||
display: block;
|
||||
margin-top: 0.25333rem;
|
||||
margin-right: 0.30667rem;
|
||||
}
|
||||
|
||||
.page1 ul li .user {
|
||||
width: 3.12rem;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.page1 ul li .user p {
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
color: #FFFFFF;
|
||||
font-size: 0.37333rem;
|
||||
margin-top: 0.50667rem;
|
||||
margin-bottom: 0.18667rem;
|
||||
}
|
||||
|
||||
.page1 ul li .user span {
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
color: #B8BCBB;
|
||||
font-size: 0.32rem;
|
||||
}
|
||||
|
||||
.page1 ul li .score {
|
||||
float: right;
|
||||
height: 100%;
|
||||
line-height: 1.81333rem;
|
||||
color: #FFE04E;
|
||||
font-size: 0.29333rem;
|
||||
margin-right: 0.48rem;
|
||||
}
|
||||
|
||||
.page1 .my {
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
height: 1.81333rem;
|
||||
background: url(../images/my.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.page1 .my .num {
|
||||
width: 1rem;
|
||||
text-align: center;
|
||||
color: #D7D1CE;
|
||||
font-size: 0.32rem;
|
||||
font-weight: bold;
|
||||
float: left;
|
||||
height: 100%;
|
||||
line-height: 1.81333rem;
|
||||
margin-right: 0.18667rem;
|
||||
margin-left: 0.44rem;
|
||||
}
|
||||
|
||||
.page1 .my .tx {
|
||||
width: 1.30667rem;
|
||||
height: 1.30667rem;
|
||||
border-radius: 50%;
|
||||
float: left;
|
||||
display: block;
|
||||
margin-top: 0.25333rem;
|
||||
margin-right: 0.30667rem;
|
||||
}
|
||||
|
||||
.page1 .my .user {
|
||||
width: 3.12rem;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.page1 .my .user p {
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
color: #FFFFFF;
|
||||
font-size: 0.37333rem;
|
||||
line-height: 1.81333rem;
|
||||
}
|
||||
|
||||
.page1 .my .user span {
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
color: #B8BCBB;
|
||||
font-size: 0.32rem;
|
||||
}
|
||||
|
||||
.page1 .my .score {
|
||||
float: right;
|
||||
height: 100%;
|
||||
line-height: 1.81333rem;
|
||||
color: #FFE04E;
|
||||
font-size: 0.29333rem;
|
||||
margin-right: 0.48rem;
|
||||
}
|
||||
|
||||
.page2 {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.page2 .timeShow {
|
||||
width: 9.36rem;
|
||||
height: 1.70667rem;
|
||||
background: #032417;
|
||||
margin: 0 auto 0.16rem;
|
||||
overflow: hidden;
|
||||
border-radius: 0.10667rem;
|
||||
}
|
||||
|
||||
.page2 .timeShow p {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
color: #FFEDBB;
|
||||
font-size: 0.4rem;
|
||||
margin-top: 0.37333rem;
|
||||
margin-bottom: 0.2rem;
|
||||
}
|
||||
|
||||
.page2 .timeShow p b {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.page2 .timeShow span {
|
||||
width: 100%;
|
||||
display: block;
|
||||
text-align: center;
|
||||
color: #FFEDBB;
|
||||
font-size: 0.4rem;
|
||||
}
|
||||
|
||||
.page2 .timeShow span b {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.page2 .page2GoToRoom {
|
||||
width: 8.58667rem;
|
||||
height: 0.65333rem;
|
||||
display: block;
|
||||
margin: 0 auto 0.61333rem;
|
||||
}
|
||||
|
||||
.page2 .line {
|
||||
width: 10rem;
|
||||
height: 0.4rem;
|
||||
margin: 0 auto 0.41333rem;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.page2 .page2Bg {
|
||||
width: 10rem;
|
||||
display: block;
|
||||
margin: 0 auto 1.16rem;
|
||||
}
|
||||
|
||||
.page3 {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.page3 .timeShow {
|
||||
width: 9.36rem;
|
||||
height: 1.70667rem;
|
||||
background: #032417;
|
||||
margin: 0 auto 0.16rem;
|
||||
overflow: hidden;
|
||||
border-radius: 0.10667rem;
|
||||
}
|
||||
|
||||
.page3 .timeShow p {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
color: #FFEDBB;
|
||||
font-size: 0.4rem;
|
||||
margin-top: 0.37333rem;
|
||||
margin-bottom: 0.2rem;
|
||||
}
|
||||
|
||||
.page3 .timeShow p b {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.page3 .timeShow span {
|
||||
width: 100%;
|
||||
display: block;
|
||||
text-align: center;
|
||||
color: #FFEDBB;
|
||||
font-size: 0.4rem;
|
||||
}
|
||||
|
||||
.page3 .timeShow span b {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.page3 .page2GoToRoom {
|
||||
width: 8.58667rem;
|
||||
height: 0.65333rem;
|
||||
display: block;
|
||||
margin: 0 auto 0.61333rem;
|
||||
}
|
||||
|
||||
.page3 .line {
|
||||
width: 10rem;
|
||||
height: 0.4rem;
|
||||
margin: 0 auto 0.41333rem;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.page3 .page2Bg {
|
||||
width: 10rem;
|
||||
display: block;
|
||||
margin: 0 auto 1.16rem;
|
||||
}
|
||||
|
||||
.page4 {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.page4 .timeShow {
|
||||
width: 9.36rem;
|
||||
height: 1.70667rem;
|
||||
background: #032417;
|
||||
margin: 0 auto 0.16rem;
|
||||
overflow: hidden;
|
||||
border-radius: 0.10667rem;
|
||||
}
|
||||
|
||||
.page4 .timeShow p {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
color: #FFEDBB;
|
||||
font-size: 0.4rem;
|
||||
margin-top: 0.37333rem;
|
||||
margin-bottom: 0.2rem;
|
||||
}
|
||||
|
||||
.page4 .timeShow p b {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.page4 .timeShow span {
|
||||
width: 100%;
|
||||
display: block;
|
||||
text-align: center;
|
||||
color: #FFEDBB;
|
||||
font-size: 0.4rem;
|
||||
}
|
||||
|
||||
.page4 .timeShow span b {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.page4 .page2GoToRoom {
|
||||
width: 8.58667rem;
|
||||
height: 0.65333rem;
|
||||
display: block;
|
||||
margin: 0 auto 0.61333rem;
|
||||
}
|
||||
|
||||
.page4 .line {
|
||||
width: 10rem;
|
||||
height: 0.4rem;
|
||||
margin: 0 auto 0.41333rem;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.page4 .page2Bg {
|
||||
width: 10rem;
|
||||
display: block;
|
||||
margin-bottom: 1.16rem;
|
||||
}
|
||||
|
||||
.page4 .swiper {
|
||||
width: 10rem;
|
||||
height: 7.5rem;
|
||||
margin-bottom: 1.37333rem;
|
||||
}
|
||||
|
||||
.page4 .swiper .swiper-slide,
|
||||
.page4 .swiper .img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.page4 .swiper .swiper-pagination-bullet {
|
||||
background: #507163;
|
||||
}
|
||||
|
||||
.page4 .swiper .swiper-pagination-bullet-active {
|
||||
background: #FFEC4B;
|
||||
}
|
||||
|
||||
.rule {
|
||||
position: fixed;
|
||||
z-index: 999;
|
||||
left: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
display: none;
|
||||
}
|
||||
|
||||
.rule .rule_in {
|
||||
width: 9.25333rem;
|
||||
height: 14.36rem;
|
||||
position: relative;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
background: url(../images/ruleBG.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.rule .rule_in .tab {
|
||||
width: 7.22667rem;
|
||||
height: 0.88rem;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin: 0.02667rem auto 0.64rem;
|
||||
}
|
||||
|
||||
.rule .rule_in .tab div {
|
||||
width: 50%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.rule .rule_in .tab1 {
|
||||
background: url(../images/ruleTab1.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.rule .rule_in .tab2 {
|
||||
background: url(../images/ruleTab2.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.rule .rule_in .box {
|
||||
width: 7.76rem;
|
||||
height: 12.3rem;
|
||||
margin: 0 auto;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
.rule .rule_in .box::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.rule .rule_in .box img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
788
view/peko/activity/billiard/css/index.scss
Normal file
@@ -0,0 +1,788 @@
|
||||
@function px2rem($px) {
|
||||
@return $px / 75+rem;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
width: 100%;
|
||||
// background: radial-gradient(circle, #32140C 0%, #05040A 100%);
|
||||
background: #05341F;
|
||||
}
|
||||
|
||||
.back {
|
||||
position: fixed;
|
||||
top: px2rem(70);
|
||||
left: px2rem(34);
|
||||
z-index: 99;
|
||||
width: px2rem(62);
|
||||
height: px2rem(62);
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
p {
|
||||
color: #fff;
|
||||
font-size: px2rem(32);
|
||||
position: absolute;
|
||||
width: 9rem;
|
||||
left: 0;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
text-align: center;
|
||||
line-height: px2rem(62);
|
||||
}
|
||||
}
|
||||
|
||||
.header {
|
||||
width: px2rem(750);
|
||||
height: px2rem(618);
|
||||
background: url(../images/header.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
position: relative;
|
||||
margin: 0 auto 0;
|
||||
|
||||
.rule_icon {
|
||||
width: px2rem(54);
|
||||
height: px2rem(144);
|
||||
position: absolute;
|
||||
top: px2rem(196);
|
||||
right: 0;
|
||||
}
|
||||
|
||||
div {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
font-size: px2rem(28);
|
||||
color: #FFFCE6;
|
||||
position: absolute;
|
||||
top: 1rem;
|
||||
left: 0;
|
||||
font-weight: 500;
|
||||
}
|
||||
}
|
||||
|
||||
.tabBox {
|
||||
width: px2rem(714);
|
||||
height: px2rem(125);
|
||||
background: url(../images/tabBox.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
margin: px2rem(-40) auto px2rem(14);
|
||||
position: relative;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 0 px2rem(28);
|
||||
box-sizing: border-box;
|
||||
|
||||
div {
|
||||
width: px2rem(162);
|
||||
height: px2rem(84);
|
||||
margin-top: px2rem(21);
|
||||
}
|
||||
|
||||
.tab1 {
|
||||
background: url(../images/tab1.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.tab2 {
|
||||
background: url(../images/tab2.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.tab3 {
|
||||
background: url(../images/tab3.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.tab4 {
|
||||
background: url(../images/tab4.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.tabAct1 {
|
||||
background: url(../images/tabAct1.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.tabAct2 {
|
||||
background: url(../images/tabAct2.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.tabAct3 {
|
||||
background: url(../images/tabAct3.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.tabAct4 {
|
||||
background: url(../images/tabAct4.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.page1 {
|
||||
// display: none;
|
||||
|
||||
.time {
|
||||
width: 100%;
|
||||
height: px2rem(74);
|
||||
line-height: px2rem(74);
|
||||
text-align: center;
|
||||
color: #FFEDBB;
|
||||
font-size: px2rem(24);
|
||||
|
||||
span {
|
||||
width: px2rem(74);
|
||||
margin: 0 px2rem(9);
|
||||
color: #FFF;
|
||||
font-size: px2rem(32);
|
||||
background: url(../images/num.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
.top {
|
||||
width: 100%;
|
||||
height: px2rem(384);
|
||||
margin: 0 auto px2rem(20);
|
||||
position: relative;
|
||||
|
||||
.no1 {
|
||||
width: px2rem(224);
|
||||
height: px2rem(384);
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 0;
|
||||
transform: translateX(-50%);
|
||||
|
||||
.ts {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.tx {
|
||||
width: px2rem(166);
|
||||
height: px2rem(166);
|
||||
border-radius: 50%;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: px2rem(58);
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
p {
|
||||
width: 81%;
|
||||
//超出省略号
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
text-align: center;
|
||||
color: #663208;
|
||||
font-size: px2rem(26);
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: px2rem(237);
|
||||
z-index: 2;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
span {
|
||||
width: 81%;
|
||||
//超出省略号
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
text-align: center;
|
||||
color: #663208;
|
||||
font-size: px2rem(22);
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: px2rem(273);
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.score {
|
||||
width: px2rem(184);
|
||||
height: px2rem(46);
|
||||
line-height: px2rem(46);
|
||||
text-align: center;
|
||||
color: #FFF1D8;
|
||||
font-size: px2rem(22);
|
||||
background: url(../images/win.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
z-index: 2;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: px2rem(300);
|
||||
|
||||
b {
|
||||
color: #fff;
|
||||
font-size: px2rem(24);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.no2 {
|
||||
width: px2rem(224);
|
||||
height: px2rem(384);
|
||||
position: absolute;
|
||||
left: px2rem(24);
|
||||
top: 0;
|
||||
|
||||
.ts {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.tx {
|
||||
width: px2rem(146);
|
||||
height: px2rem(146);
|
||||
border-radius: 50%;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: px2rem(80);
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
p {
|
||||
width: 81%;
|
||||
//超出省略号
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
text-align: center;
|
||||
color: #663208;
|
||||
font-size: px2rem(26);
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: px2rem(237);
|
||||
z-index: 2;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
span {
|
||||
width: 81%;
|
||||
//超出省略号
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
text-align: center;
|
||||
color: #663208;
|
||||
font-size: px2rem(22);
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: px2rem(273);
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.score {
|
||||
width: px2rem(184);
|
||||
height: px2rem(46);
|
||||
line-height: px2rem(46);
|
||||
text-align: center;
|
||||
color: #FFF1D8;
|
||||
font-size: px2rem(22);
|
||||
background: url(../images/win2.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
z-index: 2;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: px2rem(300);
|
||||
|
||||
b {
|
||||
color: #fff;
|
||||
font-size: px2rem(24);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.no3 {
|
||||
width: px2rem(224);
|
||||
height: px2rem(384);
|
||||
position: absolute;
|
||||
right: px2rem(24);
|
||||
top: 0;
|
||||
|
||||
.ts {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.tx {
|
||||
width: px2rem(146);
|
||||
height: px2rem(146);
|
||||
border-radius: 50%;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: px2rem(80);
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
p {
|
||||
width: 81%;
|
||||
//超出省略号
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
text-align: center;
|
||||
color: #663208;
|
||||
font-size: px2rem(26);
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: px2rem(237);
|
||||
z-index: 2;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
span {
|
||||
width: 81%;
|
||||
//超出省略号
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
text-align: center;
|
||||
color: #663208;
|
||||
font-size: px2rem(22);
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: px2rem(273);
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.score {
|
||||
width: px2rem(184);
|
||||
height: px2rem(46);
|
||||
line-height: px2rem(46);
|
||||
text-align: center;
|
||||
color: #FFF1D8;
|
||||
font-size: px2rem(22);
|
||||
background: url(../images/win3.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
z-index: 2;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: px2rem(300);
|
||||
|
||||
b {
|
||||
color: #fff;
|
||||
font-size: px2rem(24);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ul {
|
||||
width: px2rem(698);
|
||||
// height: px2rem(136);
|
||||
margin: 0 auto px2rem(150);
|
||||
|
||||
li {
|
||||
width: 100%;
|
||||
height: px2rem(136);
|
||||
background: url(../images/li.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
|
||||
.num {
|
||||
width: px2rem(75);
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
font-size: px2rem(40);
|
||||
font-weight: bold;
|
||||
float: left;
|
||||
height: 100%;
|
||||
line-height: px2rem(136);
|
||||
margin-right: px2rem(14);
|
||||
}
|
||||
|
||||
.tx {
|
||||
width: px2rem(98);
|
||||
height: px2rem(98);
|
||||
border-radius: 50%;
|
||||
float: left;
|
||||
display: block;
|
||||
margin-top: px2rem(19);
|
||||
margin-right: px2rem(23);
|
||||
}
|
||||
|
||||
.user {
|
||||
width: px2rem(234);
|
||||
float: left;
|
||||
|
||||
p {
|
||||
width: 100%;
|
||||
//超出省略号
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
color: #FFFFFF;
|
||||
font-size: px2rem(28);
|
||||
margin-top: px2rem(38);
|
||||
margin-bottom: px2rem(14);
|
||||
}
|
||||
|
||||
span {
|
||||
width: 100%;
|
||||
//超出省略号
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
color: #B8BCBB;
|
||||
font-size: px2rem(24);
|
||||
}
|
||||
}
|
||||
|
||||
.score {
|
||||
float: right;
|
||||
height: 100%;
|
||||
line-height: px2rem(136);
|
||||
color: #FFE04E;
|
||||
font-size: px2rem(22);
|
||||
margin-right: px2rem(36);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.my {
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
height: px2rem(136);
|
||||
background: url(../images/my.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
|
||||
.num {
|
||||
width: px2rem(75);
|
||||
text-align: center;
|
||||
color: #D7D1CE;
|
||||
font-size: px2rem(24);
|
||||
font-weight: bold;
|
||||
float: left;
|
||||
height: 100%;
|
||||
line-height: px2rem(136);
|
||||
margin-right: px2rem(14);
|
||||
margin-left: px2rem(33);
|
||||
}
|
||||
|
||||
.tx {
|
||||
width: px2rem(98);
|
||||
height: px2rem(98);
|
||||
border-radius: 50%;
|
||||
float: left;
|
||||
display: block;
|
||||
margin-top: px2rem(19);
|
||||
margin-right: px2rem(23);
|
||||
}
|
||||
|
||||
.user {
|
||||
width: px2rem(234);
|
||||
float: left;
|
||||
|
||||
p {
|
||||
width: 100%;
|
||||
//超出省略号
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
color: #FFFFFF;
|
||||
font-size: px2rem(28);
|
||||
line-height: px2rem(136);
|
||||
}
|
||||
|
||||
span {
|
||||
width: 100%;
|
||||
//超出省略号
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
color: #B8BCBB;
|
||||
font-size: px2rem(24);
|
||||
}
|
||||
}
|
||||
|
||||
.score {
|
||||
float: right;
|
||||
height: 100%;
|
||||
line-height: px2rem(136);
|
||||
color: #FFE04E;
|
||||
font-size: px2rem(22);
|
||||
margin-right: px2rem(36);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.page2 {
|
||||
display: none;
|
||||
|
||||
.timeShow {
|
||||
width: px2rem(702);
|
||||
height: px2rem(128);
|
||||
background: #032417;
|
||||
margin: 0 auto px2rem(12);
|
||||
overflow: hidden;
|
||||
border-radius: px2rem(8);
|
||||
|
||||
p {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
color: #FFEDBB;
|
||||
font-size: px2rem(30);
|
||||
margin-top: px2rem(28);
|
||||
margin-bottom: px2rem(15);
|
||||
|
||||
b {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
span {
|
||||
width: 100%;
|
||||
display: block;
|
||||
text-align: center;
|
||||
color: #FFEDBB;
|
||||
font-size: px2rem(30);
|
||||
|
||||
b {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.page2GoToRoom {
|
||||
width: px2rem(644);
|
||||
height: px2rem(49);
|
||||
display: block;
|
||||
margin: 0 auto px2rem(46);
|
||||
}
|
||||
|
||||
.line {
|
||||
width: px2rem(750);
|
||||
height: px2rem(30);
|
||||
margin: 0 auto px2rem(31);
|
||||
display: block;
|
||||
}
|
||||
|
||||
.page2Bg {
|
||||
width: px2rem(750);
|
||||
display: block;
|
||||
margin: 0 auto px2rem(87);
|
||||
}
|
||||
}
|
||||
|
||||
.page3 {
|
||||
display: none;
|
||||
|
||||
.timeShow {
|
||||
width: px2rem(702);
|
||||
height: px2rem(128);
|
||||
background: #032417;
|
||||
margin: 0 auto px2rem(12);
|
||||
overflow: hidden;
|
||||
border-radius: px2rem(8);
|
||||
|
||||
p {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
color: #FFEDBB;
|
||||
font-size: px2rem(30);
|
||||
margin-top: px2rem(28);
|
||||
margin-bottom: px2rem(15);
|
||||
|
||||
b {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
span {
|
||||
width: 100%;
|
||||
display: block;
|
||||
text-align: center;
|
||||
color: #FFEDBB;
|
||||
font-size: px2rem(30);
|
||||
|
||||
b {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.page2GoToRoom {
|
||||
width: px2rem(644);
|
||||
height: px2rem(49);
|
||||
display: block;
|
||||
margin: 0 auto px2rem(46);
|
||||
}
|
||||
|
||||
.line {
|
||||
width: px2rem(750);
|
||||
height: px2rem(30);
|
||||
margin: 0 auto px2rem(31);
|
||||
display: block;
|
||||
}
|
||||
|
||||
.page2Bg {
|
||||
width: px2rem(750);
|
||||
display: block;
|
||||
margin: 0 auto px2rem(87);
|
||||
}
|
||||
}
|
||||
|
||||
.page4 {
|
||||
display: none;
|
||||
|
||||
.timeShow {
|
||||
width: px2rem(702);
|
||||
height: px2rem(128);
|
||||
background: #032417;
|
||||
margin: 0 auto px2rem(12);
|
||||
overflow: hidden;
|
||||
border-radius: px2rem(8);
|
||||
|
||||
p {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
color: #FFEDBB;
|
||||
font-size: px2rem(30);
|
||||
margin-top: px2rem(28);
|
||||
margin-bottom: px2rem(15);
|
||||
|
||||
b {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
span {
|
||||
width: 100%;
|
||||
display: block;
|
||||
text-align: center;
|
||||
color: #FFEDBB;
|
||||
font-size: px2rem(30);
|
||||
|
||||
b {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.page2GoToRoom {
|
||||
width: px2rem(644);
|
||||
height: px2rem(49);
|
||||
display: block;
|
||||
margin: 0 auto px2rem(46);
|
||||
}
|
||||
|
||||
.line {
|
||||
width: px2rem(750);
|
||||
height: px2rem(30);
|
||||
margin: 0 auto px2rem(31);
|
||||
display: block;
|
||||
}
|
||||
|
||||
.page2Bg {
|
||||
width: px2rem(750);
|
||||
display: block;
|
||||
margin-bottom: px2rem(87);
|
||||
}
|
||||
|
||||
.swiper {
|
||||
width: px2rem(750);
|
||||
height: 7.5rem;
|
||||
margin-bottom: px2rem(103);
|
||||
|
||||
.swiper-slide,
|
||||
.img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.swiper-pagination-bullet {
|
||||
background: #507163;
|
||||
}
|
||||
|
||||
.swiper-pagination-bullet-active {
|
||||
background: #FFEC4B;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.rule {
|
||||
position: fixed;
|
||||
z-index: 999;
|
||||
left: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
background: rgba(0, 0, 0, .6);
|
||||
display: none;
|
||||
|
||||
.rule_in {
|
||||
width: px2rem(694);
|
||||
height: px2rem(1077);
|
||||
position: relative;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
background: url(../images/ruleBG.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
|
||||
.tab {
|
||||
width: px2rem(542);
|
||||
height: px2rem(66);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin: px2rem(2) auto px2rem(48);
|
||||
|
||||
div {
|
||||
width: 50%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.tab1 {
|
||||
background: url(../images/ruleTab1.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.tab2 {
|
||||
background: url(../images/ruleTab2.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.box {
|
||||
width: px2rem(582);
|
||||
height: 12.3rem;
|
||||
margin: 0 auto;
|
||||
overflow-y: scroll;
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
13
view/peko/activity/billiard/css/swiper-bundle.min.css
vendored
Normal file
BIN
view/peko/activity/billiard/images/header.png
Normal file
After Width: | Height: | Size: 289 KiB |
BIN
view/peko/activity/billiard/images/li.png
Normal file
After Width: | Height: | Size: 814 B |
BIN
view/peko/activity/billiard/images/logo.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
view/peko/activity/billiard/images/my.png
Normal file
After Width: | Height: | Size: 4.5 KiB |
BIN
view/peko/activity/billiard/images/no1.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
view/peko/activity/billiard/images/no2.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
view/peko/activity/billiard/images/no3.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
view/peko/activity/billiard/images/num.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
view/peko/activity/billiard/images/page2Bg.png
Normal file
After Width: | Height: | Size: 354 KiB |
BIN
view/peko/activity/billiard/images/page2GoToRoom.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
view/peko/activity/billiard/images/page2line.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
view/peko/activity/billiard/images/page3Bg.png
Normal file
After Width: | Height: | Size: 175 KiB |
BIN
view/peko/activity/billiard/images/page3Bg1.png
Normal file
After Width: | Height: | Size: 381 KiB |
BIN
view/peko/activity/billiard/images/page3Bg2.png
Normal file
After Width: | Height: | Size: 195 KiB |
BIN
view/peko/activity/billiard/images/page3Bg3.png
Normal file
After Width: | Height: | Size: 105 KiB |
BIN
view/peko/activity/billiard/images/page4Bg1.png
Normal file
After Width: | Height: | Size: 90 KiB |
BIN
view/peko/activity/billiard/images/page4Bg2.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
view/peko/activity/billiard/images/rule.png
Normal file
After Width: | Height: | Size: 4.3 KiB |
BIN
view/peko/activity/billiard/images/rule1.png
Normal file
After Width: | Height: | Size: 355 KiB |
BIN
view/peko/activity/billiard/images/rule2.png
Normal file
After Width: | Height: | Size: 448 KiB |
BIN
view/peko/activity/billiard/images/ruleBG.png
Normal file
After Width: | Height: | Size: 250 KiB |
BIN
view/peko/activity/billiard/images/ruleTab1.png
Normal file
After Width: | Height: | Size: 49 KiB |
BIN
view/peko/activity/billiard/images/ruleTab2.png
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
view/peko/activity/billiard/images/tab1.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
view/peko/activity/billiard/images/tab2.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
view/peko/activity/billiard/images/tab3.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
view/peko/activity/billiard/images/tab4.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
view/peko/activity/billiard/images/tabAct1.png
Normal file
After Width: | Height: | Size: 9.3 KiB |
BIN
view/peko/activity/billiard/images/tabAct2.png
Normal file
After Width: | Height: | Size: 9.1 KiB |
BIN
view/peko/activity/billiard/images/tabAct3.png
Normal file
After Width: | Height: | Size: 9.2 KiB |
BIN
view/peko/activity/billiard/images/tabAct4.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
view/peko/activity/billiard/images/tabBox.png
Normal file
After Width: | Height: | Size: 30 KiB |
BIN
view/peko/activity/billiard/images/travel/back.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
view/peko/activity/billiard/images/win.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
view/peko/activity/billiard/images/win2.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
view/peko/activity/billiard/images/win3.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
155
view/peko/activity/billiard/index.html
Normal file
@@ -0,0 +1,155 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>桌球爭霸賽</title>
|
||||
<link rel="stylesheet" href="../../common/css/reset.css">
|
||||
<link rel="stylesheet" href="./css/swiper-bundle.min.css">
|
||||
<link rel="stylesheet" href="./css/index.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!-- 頂部返回 -->
|
||||
<div class="back">
|
||||
<img src="./images/travel/back.png" alt="">
|
||||
</div>
|
||||
<!-- 頭部 -->
|
||||
<div class="header">
|
||||
<img src="./images/rule.png" alt="" class="rule_icon">
|
||||
<div>活動時間:2月29日-3月5日</div>
|
||||
</div>
|
||||
<!-- tab -->
|
||||
<div class="tabBox">
|
||||
<div class="tab1 tabAct1"></div>
|
||||
<div class="tab2"></div>
|
||||
<div class="tab3"></div>
|
||||
<div class="tab4"></div>
|
||||
</div>
|
||||
<!-- page1 -->
|
||||
<div class="page1">
|
||||
<!-- 倒計時 -->
|
||||
<div class="time">距離預選賽結束<span class="sp1">00</span>時<span class="sp2">00</span>分<span class="sp3">00</span>秒
|
||||
</div>
|
||||
<!-- 前三 -->
|
||||
<div class="top">
|
||||
<div class="no1">
|
||||
<img src="./images/no1.png" alt="" class="ts">
|
||||
<img src="" alt="" class="tx">
|
||||
<p>虛位以待</p>
|
||||
<span>ID:0</span>
|
||||
<div class="score">勝場次數: <b>0</b></div>
|
||||
</div>
|
||||
<div class="no2">
|
||||
<img src="./images/no2.png" alt="" class="ts">
|
||||
<img src="" alt="" class="tx">
|
||||
<p>虛位以待</p>
|
||||
<span>ID:0</span>
|
||||
<div class="score">勝場次數: <b>0</b></div>
|
||||
</div>
|
||||
<div class="no3">
|
||||
<img src="./images/no3.png" alt="" class="ts">
|
||||
<img src="" alt="" class="tx">
|
||||
<p>虛位以待</p>
|
||||
<span>ID:0</span>
|
||||
<div class="score">勝場次數: <b>0</b></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 非前三 -->
|
||||
<ul>
|
||||
<li>
|
||||
<div class="num">4</div>
|
||||
<img src="" alt="" class="tx">
|
||||
<div class="user">
|
||||
<p>虛位以待</p>
|
||||
<span>ID:8888</span>
|
||||
</div>
|
||||
<div class="score">勝場次數: 0</div>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- 自己 -->
|
||||
<div class="my">
|
||||
<div class="num">未上榜</div>
|
||||
<img src="" alt="" class="tx">
|
||||
<div class="user">
|
||||
<p>虛位以待</p>
|
||||
</div>
|
||||
<div class="score">勝場次數: 0</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- page2 -->
|
||||
<div class="page2">
|
||||
<!-- 時間 -->
|
||||
<div class="timeShow">
|
||||
<p>3月3日 <b>19:00:00</b> 開賽!</p>
|
||||
<span>對決房間:<b>10000</b></span>
|
||||
</div>
|
||||
<!-- 跳轉房間展示 -->
|
||||
<img src="./images/page2GoToRoom.png" alt="" class="page2GoToRoom">
|
||||
<!-- 線條 -->
|
||||
<img src="./images/page2line.png" alt="" class="line">
|
||||
<!-- 榜單展示 -->
|
||||
<img src="./images/page2Bg.png?v=1.0" alt="" class="page2Bg">
|
||||
</div>
|
||||
<!-- page3 -->
|
||||
<div class="page3">
|
||||
<!-- 時間 -->
|
||||
<div class="timeShow">
|
||||
<p>3月4日 <b>19:00:00</b> 開賽!</p>
|
||||
<span>對決房間:<b>10000</b></span>
|
||||
</div>
|
||||
<!-- 跳轉房間展示 -->
|
||||
<img src="./images/page2GoToRoom.png" alt="" class="page2GoToRoom">
|
||||
<!-- 線條 -->
|
||||
<!-- <img src="./images/page3line.png" alt="" class="line"> -->
|
||||
<!-- 榜單展示 -->
|
||||
<img src="./images/page3Bg.png?v=1.0" alt="" class="page2Bg">
|
||||
</div>
|
||||
<!-- page4 -->
|
||||
<div class="page4">
|
||||
<!-- 時間 -->
|
||||
<div class="timeShow">
|
||||
<p>3月5日 <b>19:00:00</b> 開賽!</p>
|
||||
<span>對決房間:<b>10000</b></span>
|
||||
</div>
|
||||
<!-- 跳轉房間展示 -->
|
||||
<img src="./images/page2GoToRoom.png" alt="" class="page2GoToRoom">
|
||||
<!-- 榜單展示 -->
|
||||
<!-- <img src="" alt="" class="page2Bg"> -->
|
||||
<div class="swiper">
|
||||
<div class="swiper-wrapper">
|
||||
<div class="swiper-slide">
|
||||
<img src="./images/page4Bg1.png" alt="">
|
||||
</div>
|
||||
<div class="swiper-slide">
|
||||
<img src="./images/page4Bg2.png" alt="">
|
||||
</div>
|
||||
</div>
|
||||
<!-- 如果需要分頁器 -->
|
||||
<div class="swiper-pagination"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 活動規則 -->
|
||||
<div class="rule">
|
||||
<div class="rule_in">
|
||||
<div class="tab tab1">
|
||||
<div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="box">
|
||||
<img src="./images/rule1.png" alt="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
<script src="../../common/js/flexible.js"></script>
|
||||
<script src="../../common/js/jquery-3.2.1.min.js"></script>
|
||||
<script src="../../common/js/common2.js"></script>
|
||||
<script src="../../common/js/layer.js"></script>
|
||||
<script src="../../common/js/vconsole.min.js"></script>
|
||||
<script src="../../common/js/route-constant.js"></script>
|
||||
<script src="./js/swiper-bundle.min.js"></script>
|
||||
<script src="./js/index.js"></script>
|
253
view/peko/activity/billiard/js/index.js
Normal file
@@ -0,0 +1,253 @@
|
||||
let urlPrefix = getUrlPrefix()
|
||||
let browser = checkVersion()
|
||||
let env = EnvCheck();
|
||||
if (env == 'test') {
|
||||
new VConsole();
|
||||
}
|
||||
// 封裝layer消息提醒框
|
||||
let layerIndex
|
||||
const showLoading = (content = '加載中...') => {
|
||||
layer.open({
|
||||
type: 2,
|
||||
shadeClose: false,
|
||||
content,
|
||||
success (e) {
|
||||
layerIndex = $(e).attr('index')
|
||||
}
|
||||
})
|
||||
}
|
||||
const hideLoading = (index) => {
|
||||
layer.close(index)
|
||||
}
|
||||
const toastMsg = (content = '操作完成', time = 2) => {
|
||||
layer.open({
|
||||
content,
|
||||
time,
|
||||
skin: 'msg'
|
||||
})
|
||||
}
|
||||
var roomUid = 77620;
|
||||
var round = null;//輪次
|
||||
var countupTime = null;//倒計時
|
||||
var endTime = null;
|
||||
// 初始化函數
|
||||
$(function () {
|
||||
getInfoFromClient()
|
||||
setTimeout(function () {
|
||||
// 頁面全屏
|
||||
if (browser.app) {
|
||||
if (browser.android) {
|
||||
window.androidJsObj.initShowNav(false)
|
||||
} else {
|
||||
window.webkit.messageHandlers.initShowNav.postMessage(0)
|
||||
}
|
||||
};
|
||||
// 頂部返回事件
|
||||
$('.back').click(() => {
|
||||
if (browser.android) {
|
||||
window.androidJsObj.closeWebView()
|
||||
} else {
|
||||
window.webkit.messageHandlers.closeWebView.postMessage(null)
|
||||
}
|
||||
})
|
||||
var mySwiper = new Swiper('.swiper', {
|
||||
// direction: "vertical",
|
||||
loop: true,
|
||||
// autoplay: {
|
||||
// delay: 3500,
|
||||
// disableOnInteraction: false
|
||||
// },
|
||||
// 如果需要分頁器
|
||||
pagination: {
|
||||
el: '.swiper-pagination',
|
||||
},
|
||||
})
|
||||
getRank();
|
||||
}, 100)
|
||||
})
|
||||
// tab切換
|
||||
$('.tabBox div').click(function () {
|
||||
var i = $(this).index() + 1;
|
||||
$('.tabBox div').removeClass('tabAct1').removeClass('tabAct2').removeClass('tabAct3').removeClass('tabAct4');
|
||||
$(`.tabBox .tab${i}`).addClass(`tabAct${i}`);
|
||||
$('.page1,.page2,.page3,.page4').hide();
|
||||
$(`.page${i}`).show();
|
||||
if (i == 1) {
|
||||
round = i;
|
||||
getRank();
|
||||
}
|
||||
})
|
||||
// 前三跳轉
|
||||
$('.page1 .top div').on('click', '.tx', function () {
|
||||
var uid = $(this).attr('uid');
|
||||
// 跳轉個人資料頁
|
||||
if (browser.ios) {
|
||||
window.webkit.messageHandlers.openPersonPage.postMessage(uid);
|
||||
} else if (browser.android) {
|
||||
if (androidJsObj && typeof androidJsObj === 'object') {
|
||||
window.androidJsObj.openPersonPage(uid);
|
||||
}
|
||||
} else {
|
||||
console.log('web');
|
||||
}
|
||||
})
|
||||
// 非前三跳轉
|
||||
$('.page1 ul').on('click', 'li .tx', function () {
|
||||
var uid = $(this).attr('uid');
|
||||
// 跳轉個人資料頁
|
||||
if (browser.ios) {
|
||||
window.webkit.messageHandlers.openPersonPage.postMessage(uid);
|
||||
} else if (browser.android) {
|
||||
if (androidJsObj && typeof androidJsObj === 'object') {
|
||||
window.androidJsObj.openPersonPage(uid);
|
||||
}
|
||||
} else {
|
||||
console.log('web');
|
||||
}
|
||||
})
|
||||
// 獲取任務接口
|
||||
function getRank () {
|
||||
$('ul li').remove();
|
||||
showLoading()
|
||||
networkRequest({
|
||||
type: 'GET',
|
||||
url: urlPrefix + '/act/2024Snooker/room/getRank',
|
||||
data: { round },
|
||||
success (res) {
|
||||
if (res.code === 200) {
|
||||
// 當前頁面展示
|
||||
$('.tabBox div').removeClass('tabAct1').removeClass('tabAct2').removeClass('tabAct3');
|
||||
$(`.tabBox .tab${res.data.rankType}`).addClass(`tabAct${res.data.rankType}`);
|
||||
$('.page1,.page2,.page3').hide();
|
||||
$(`.page${res.data.rankType}`).show();
|
||||
// 處理倒計時
|
||||
if (res.data.rankType == 1) {
|
||||
if (round == null) {
|
||||
endTime = res.data.roundList[0].endTime
|
||||
}
|
||||
if (endTime - res.timestamp > 0) {
|
||||
countup(endTime - res.timestamp);
|
||||
} else {
|
||||
$('.time').hide();
|
||||
}
|
||||
var top3 = res.data.rankList.slice(0, 3);
|
||||
var notTop3 = res.data.rankList.slice(3);
|
||||
// 處理前三
|
||||
if (top3.length < 3) {
|
||||
let arr = new Array(3 - top3.length).fill({
|
||||
avatar: './images/logo.png',
|
||||
nick: '虛位以待',
|
||||
erbanNo: "虛位以待",
|
||||
score: "0"
|
||||
})
|
||||
top3.push(...arr)
|
||||
}
|
||||
top3.forEach((res, i) => {
|
||||
$(`.top .no${i + 1} .tx`).attr('src', res.avatar);
|
||||
$(`.top .no${i + 1} .tx`).attr('uid', res.uid);
|
||||
$(`.top .no${i + 1} p`).text(res.nick);
|
||||
$(`.top .no${i + 1} span`).text(`ID:${res.erbanNo}`);
|
||||
$(`.top .no${i + 1} .score b`).text(res.score);
|
||||
});
|
||||
// 處理非前三
|
||||
var str = '';
|
||||
notTop3.forEach((res, i) => {
|
||||
str += `
|
||||
<li>
|
||||
<div class="num">${res.ranking}</div>
|
||||
<img uid=${res.uid} src="${res.avatar}" alt="" class="tx">
|
||||
<div class="user">
|
||||
<p>${res.nick}</p>
|
||||
<span>ID:${res.erbanNo}</span>
|
||||
</div>
|
||||
<div class="score">勝場次數: ${res.score}</div>
|
||||
</li>
|
||||
`
|
||||
})
|
||||
$('ul').append(str);
|
||||
// 處理自己
|
||||
$('.my .tx').attr('src', res.data.meRank.avatar);
|
||||
$('.my .tx').attr('uid', res.data.meRank.uid);
|
||||
$('.my .num').text(res.data.meRank.ranking == 0 ? '未上榜' : res.data.meRank.ranking);
|
||||
$('.my p').text(res.data.meRank.nick);
|
||||
$('.my .score').text(`勝場次數: ${res.data.meRank.score}`);
|
||||
|
||||
}
|
||||
} else {
|
||||
toastMsg(res.message)
|
||||
}
|
||||
hideLoading(layerIndex)
|
||||
},
|
||||
error (err) {
|
||||
hideLoading(layerIndex)
|
||||
toastMsg('網絡錯誤,請退出重進')
|
||||
}
|
||||
})
|
||||
}
|
||||
// 人氣榜倒計時
|
||||
function countup (leftTime) {
|
||||
clearTimeout(countupTime)
|
||||
//獲取當前時間
|
||||
// var now = nowTime;
|
||||
var d = 0;
|
||||
var h = 0;
|
||||
var m = 0;
|
||||
var s = 0;
|
||||
//定義變量 d,h,m,s保存倒計時的時間
|
||||
var d, h, m, s;
|
||||
//遞歸每秒調⽤countTime⽅法,顯⽰動態時間效果
|
||||
if (leftTime > 0) {
|
||||
d = getzf(Math.floor(leftTime / 1000 / 60 / 60 / 24));
|
||||
h = getzf(Math.floor(leftTime / 1000 / 60 / 60));
|
||||
m = getzf(Math.floor(leftTime / 1000 / 60 % 60));
|
||||
s = getzf(Math.floor(leftTime / 1000 % 60));
|
||||
//將倒計時賦值
|
||||
$('.time .sp1').text(h);
|
||||
$('.time .sp2').text(m);
|
||||
$('.time .sp3').text(s);
|
||||
} else {
|
||||
$('.time').hide();
|
||||
}
|
||||
if (leftTime > 0) {
|
||||
leftTime = leftTime - 1000;
|
||||
}
|
||||
countupTime = setTimeout(function () {
|
||||
countup(leftTime);
|
||||
}, 1000);
|
||||
}
|
||||
//補0操作
|
||||
function getzf (num) {
|
||||
if (parseInt(num) < 10) {
|
||||
num = '0' + num;
|
||||
}
|
||||
return num;
|
||||
}
|
||||
// 頁面2跳轉房間
|
||||
$('.page2 .page2GoToRoom,.page3 .page2GoToRoom,.page4 .page2GoToRoom').click(function () {
|
||||
if (browser.ios) {
|
||||
window.webkit.messageHandlers.openRoom.postMessage(roomUid);
|
||||
} else if (browser.android) {
|
||||
if (androidJsObj && typeof androidJsObj === 'object') {
|
||||
window.androidJsObj.openRoom(roomUid);
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
// 規則切換
|
||||
$('.rule .rule_in .tab div').click(function () {
|
||||
var i = $(this).index() + 1;
|
||||
$('.rule .rule_in .tab').removeClass('tab1').removeClass('tab2')
|
||||
$('.rule .rule_in .tab').addClass(`tab${i}`)
|
||||
$('.rule .rule_in .box img').attr('src', `./images/rule${i}.png`)
|
||||
return false;
|
||||
})
|
||||
// 打開規則
|
||||
$('.header .rule_icon').click(function () {
|
||||
$('.rule').show();
|
||||
bodyScroolFun(true);
|
||||
})
|
||||
// 關閉規則
|
||||
$('.rule').click(function () {
|
||||
$(this).hide();
|
||||
bodyScroolFun(false);
|
||||
})
|
14
view/peko/activity/billiard/js/swiper-bundle.min.js
vendored
Normal file
1123
view/peko/modules/act-wishingStar/css/index.css
Normal file
1148
view/peko/modules/act-wishingStar/css/index.scss
Normal file
BIN
view/peko/modules/act-wishingStar/images/add.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
view/peko/modules/act-wishingStar/images/buyBut.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
view/peko/modules/act-wishingStar/images/buySuccessBut.png
Normal file
After Width: | Height: | Size: 7.9 KiB |
BIN
view/peko/modules/act-wishingStar/images/decrease.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
view/peko/modules/act-wishingStar/images/diamond.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
view/peko/modules/act-wishingStar/images/giftBg.png
Normal file
After Width: | Height: | Size: 7.8 KiB |
BIN
view/peko/modules/act-wishingStar/images/giftBox.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
view/peko/modules/act-wishingStar/images/goToPay.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
view/peko/modules/act-wishingStar/images/header.png
Normal file
After Width: | Height: | Size: 562 KiB |
BIN
view/peko/modules/act-wishingStar/images/line.png
Normal file
After Width: | Height: | Size: 3.6 KiB |
BIN
view/peko/modules/act-wishingStar/images/lineBox.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
view/peko/modules/act-wishingStar/images/listTab1.png
Normal file
After Width: | Height: | Size: 7.1 KiB |
BIN
view/peko/modules/act-wishingStar/images/listTab2.png
Normal file
After Width: | Height: | Size: 7.1 KiB |
BIN
view/peko/modules/act-wishingStar/images/logo.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
view/peko/modules/act-wishingStar/images/magicStickOk.png
Normal file
After Width: | Height: | Size: 7.9 KiB |
BIN
view/peko/modules/act-wishingStar/images/magicSticktitle.png
Normal file
After Width: | Height: | Size: 5.6 KiB |
BIN
view/peko/modules/act-wishingStar/images/myBg.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
view/peko/modules/act-wishingStar/images/no1.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
view/peko/modules/act-wishingStar/images/no2.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
view/peko/modules/act-wishingStar/images/no3.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
view/peko/modules/act-wishingStar/images/page1Bg.png
Normal file
After Width: | Height: | Size: 44 KiB |
BIN
view/peko/modules/act-wishingStar/images/page1Title.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
view/peko/modules/act-wishingStar/images/record1.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
view/peko/modules/act-wishingStar/images/record2.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
view/peko/modules/act-wishingStar/images/recordAct1.png
Normal file
After Width: | Height: | Size: 4.5 KiB |
BIN
view/peko/modules/act-wishingStar/images/recordAct2.png
Normal file
After Width: | Height: | Size: 4.6 KiB |