修复bug

This commit is contained in:
dragon
2024-07-04 20:30:01 +08:00
parent 4b63111355
commit cc983ad835
6 changed files with 96 additions and 59 deletions

View File

@@ -98,7 +98,7 @@ body {
} }
.page1 .box1 .megaphone { .page1 .box1 .megaphone {
width: 8.25333rem; width: 8.8rem;
height: 0.86667rem; height: 0.86667rem;
background: url(../images/megaphone.png) no-repeat; background: url(../images/megaphone.png) no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
@@ -124,7 +124,13 @@ body {
font-size: 0.32rem; font-size: 0.32rem;
} }
.page1 .box1 .megaphone ul i { .page1 .box1 .megaphone ul li {
display: block;
width: 100%;
height: 100%;
}
.page1 .box1 .megaphone ul li i {
display: block; display: block;
font-style: normal; font-style: normal;
height: 0.86667rem; height: 0.86667rem;
@@ -132,7 +138,7 @@ body {
float: left; float: left;
} }
.page1 .box1 .megaphone ul b { .page1 .box1 .megaphone ul li b {
color: #FF5131; color: #FF5131;
width: 1.55rem; width: 1.55rem;
overflow: hidden; overflow: hidden;
@@ -142,10 +148,15 @@ body {
height: 0.86667rem; height: 0.86667rem;
line-height: 0.86667rem; line-height: 0.86667rem;
float: left; float: left;
margin: 0 0.26667rem; margin: 0 0.13333rem;
text-align: center; text-align: center;
} }
.page1 .box1 .megaphone ul li .b {
width: 2.1rem;
text-align: left;
}
.page1 .box1 .giftList { .page1 .box1 .giftList {
width: 8.4rem; width: 8.4rem;
height: 15.6rem; height: 15.6rem;
@@ -1962,6 +1973,7 @@ body {
.rule_pub .rule_pub_in .rule_page2 .box .box1 .giftList li b { .rule_pub .rule_pub_in .rule_page2 .box .box1 .giftList li b {
width: 100%; width: 100%;
line-height: 0.4rem;
text-align: center; text-align: center;
color: #FFF5C9; color: #FFF5C9;
font-size: 0.32rem; font-size: 0.32rem;
@@ -2060,6 +2072,7 @@ body {
.rule_pub .rule_pub_in .rule_page2 .box .box2 .giftList li b { .rule_pub .rule_pub_in .rule_page2 .box .box2 .giftList li b {
width: 100%; width: 100%;
line-height: 0.4rem;
text-align: center; text-align: center;
color: #FFF5C9; color: #FFF5C9;
font-size: 0.32rem; font-size: 0.32rem;
@@ -2158,6 +2171,7 @@ body {
.rule_pub .rule_pub_in .rule_page2 .box .box3 .giftList li b { .rule_pub .rule_pub_in .rule_page2 .box .box3 .giftList li b {
width: 100%; width: 100%;
line-height: 0.4rem;
text-align: center; text-align: center;
color: #FFF5C9; color: #FFF5C9;
font-size: 0.32rem; font-size: 0.32rem;
@@ -2256,6 +2270,7 @@ body {
.rule_pub .rule_pub_in .rule_page2 .box .box4 .giftList li b { .rule_pub .rule_pub_in .rule_page2 .box .box4 .giftList li b {
width: 100%; width: 100%;
line-height: 0.4rem;
text-align: center; text-align: center;
color: #FFF5C9; color: #FFF5C9;
font-size: 0.32rem; font-size: 0.32rem;
@@ -2354,6 +2369,7 @@ body {
.rule_pub .rule_pub_in .rule_page2 .box .box5 .giftList li b { .rule_pub .rule_pub_in .rule_page2 .box .box5 .giftList li b {
width: 100%; width: 100%;
line-height: 0.4rem;
text-align: center; text-align: center;
color: #FFF5C9; color: #FFF5C9;
font-size: 0.32rem; font-size: 0.32rem;
@@ -2452,6 +2468,7 @@ body {
.rule_pub .rule_pub_in .rule_page2 .box .box6 .giftList li b { .rule_pub .rule_pub_in .rule_page2 .box .box6 .giftList li b {
width: 100%; width: 100%;
line-height: 0.4rem;
text-align: center; text-align: center;
color: #FFF5C9; color: #FFF5C9;
font-size: 0.32rem; font-size: 0.32rem;
@@ -2550,6 +2567,7 @@ body {
.rule_pub .rule_pub_in .rule_page2 .box .box7 .giftList li b { .rule_pub .rule_pub_in .rule_page2 .box .box7 .giftList li b {
width: 100%; width: 100%;
line-height: 0.4rem;
text-align: center; text-align: center;
color: #FFF5C9; color: #FFF5C9;
font-size: 0.32rem; font-size: 0.32rem;
@@ -2648,6 +2666,7 @@ body {
.rule_pub .rule_pub_in .rule_page2 .box .box8 .giftList li b { .rule_pub .rule_pub_in .rule_page2 .box .box8 .giftList li b {
width: 100%; width: 100%;
line-height: 0.4rem;
text-align: center; text-align: center;
color: #FFF5C9; color: #FFF5C9;
font-size: 0.32rem; font-size: 0.32rem;

View File

@@ -104,7 +104,7 @@ body {
position: relative; position: relative;
.megaphone { .megaphone {
width: px2rem(619); width: px2rem(660);
height: px2rem(65); height: px2rem(65);
background: url(../images/megaphone.png) no-repeat; background: url(../images/megaphone.png) no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
@@ -128,26 +128,36 @@ body {
color: #FAE9C2; color: #FAE9C2;
font-size: px2rem(24); font-size: px2rem(24);
i { li {
display: block; display: block;
font-style: normal; width: 100%;
height: px2rem(65); height: 100%;
line-height: px2rem(65);
float: left;
}
b { i {
color: #FF5131; display: block;
width: 1.55rem; font-style: normal;
overflow: hidden; height: px2rem(65);
white-space: nowrap; line-height: px2rem(65);
text-overflow: ellipsis; float: left;
display: block; }
height: px2rem(65);
line-height: px2rem(65); b {
float: left; color: #FF5131;
margin: 0 px2rem(20); width: 1.55rem;
text-align: center; overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
display: block;
height: px2rem(65);
line-height: px2rem(65);
float: left;
margin: 0 px2rem(10);
text-align: center;
}
.b{
width: 2.1rem;
text-align: left;
}
} }
} }
} }
@@ -1982,6 +1992,7 @@ body {
b { b {
width: 100%; width: 100%;
line-height: 0.4rem;
text-align: center; text-align: center;
color: #FFF5C9; color: #FFF5C9;
font-size: px2rem(24); font-size: px2rem(24);
@@ -2082,6 +2093,7 @@ body {
b { b {
width: 100%; width: 100%;
line-height: 0.4rem;
text-align: center; text-align: center;
color: #FFF5C9; color: #FFF5C9;
font-size: px2rem(24); font-size: px2rem(24);
@@ -2182,6 +2194,7 @@ body {
b { b {
width: 100%; width: 100%;
line-height: 0.4rem;
text-align: center; text-align: center;
color: #FFF5C9; color: #FFF5C9;
font-size: px2rem(24); font-size: px2rem(24);
@@ -2282,6 +2295,7 @@ body {
b { b {
width: 100%; width: 100%;
line-height: 0.4rem;
text-align: center; text-align: center;
color: #FFF5C9; color: #FFF5C9;
font-size: px2rem(24); font-size: px2rem(24);
@@ -2382,6 +2396,7 @@ body {
b { b {
width: 100%; width: 100%;
line-height: 0.4rem;
text-align: center; text-align: center;
color: #FFF5C9; color: #FFF5C9;
font-size: px2rem(24); font-size: px2rem(24);
@@ -2482,6 +2497,7 @@ body {
b { b {
width: 100%; width: 100%;
line-height: 0.4rem;
text-align: center; text-align: center;
color: #FFF5C9; color: #FFF5C9;
font-size: px2rem(24); font-size: px2rem(24);
@@ -2582,6 +2598,7 @@ body {
b { b {
width: 100%; width: 100%;
line-height: 0.4rem;
text-align: center; text-align: center;
color: #FFF5C9; color: #FFF5C9;
font-size: px2rem(24); font-size: px2rem(24);
@@ -2682,6 +2699,7 @@ body {
b { b {
width: 100%; width: 100%;
line-height: 0.4rem;
text-align: center; text-align: center;
color: #FFF5C9; color: #FFF5C9;
font-size: px2rem(24); font-size: px2rem(24);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

View File

@@ -4,7 +4,7 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>幸運驚喜</title> <title>幸運驚喜</title>
<link rel="stylesheet" href="../../common/css/reset.css"> <link rel="stylesheet" href="../../common/css/reset.css">
<link rel="stylesheet" href="./css/index.css"> <link rel="stylesheet" href="./css/index.css">
</head> </head>
@@ -59,7 +59,7 @@
<div class="text">每日000000重置</div> <div class="text">每日000000重置</div>
</div> </div>
<div class="box2"> <div class="box2">
<div class="stext1">活動:累收到以下任意3種不同的禮物可領取獎勵</div> <div class="stext1">活動:累收到以下任意3種不同的禮物可領取獎勵1</div>
<!-- ------------- --> <!-- ------------- -->
<div class="boxUl1"> <div class="boxUl1">
<!-- <div class="boxUl1_in"> <!-- <div class="boxUl1_in">
@@ -107,7 +107,7 @@
</div> </div>
</div> </div>
<div class="stext4">點擊小火苗可查看有什麼獎勵哦~獎勵自動發放!</div> <div class="stext4">點擊小火苗可查看有什麼獎勵哦~獎勵自動發放!</div>
<div class="stext5">每周000000重置</div> <div class="stext5">每周000000重置</div>
</div> </div>
</div> </div>
@@ -290,34 +290,34 @@
<div class="rule_page1"> <div class="rule_page1">
<div class="box"> <div class="box">
<p>1、活動時間</p> <p>1、活動時間</p>
<p>每周至周日</p> <p>每周至周日</p>
<p>2、歐氣升級</p> <p>2、歐氣升級</p>
<p>通過送出幸運禮物開出指定禮物就有機會獲得額外禮物獎勵,超級幸運禮物不與本次活動;</p> <p>通過送出幸運禮物開出指定禮物就有機會獲得額外禮物獎勵,超級幸運禮物不與本次活動</p>
<p>【水晶球】每日額外產出3個金禮物;</p> <p>【水晶球】每日額外產出3個金禮物</p>
<p>【中級許願瓶】每日額外產出5個金禮物;</p> <p>【中級許願瓶】每日額外產出5個金禮物</p>
<p>③【中級寶箱】每日額外產出8個金禮物;</p> <p>③【中級寶箱】每日額外產出8個金禮物</p>
<p>【高級許願瓶】每日額外產出10個金禮物;</p> <p>【高級許願瓶】每日額外產出10個金禮物</p>
<p>【高級寶箱】每日額外產出10個金禮物;</p> <p>【高級寶箱】每日額外產出10個金禮物</p>
<p>ps每日00:00:00更新獎勵自動發放獲得的獎勵發放至用個人背包中,獲得獎勵的用可以移步至背包中查看哦~</p> <p>ps每日00:00:00更新獎勵自動發放獲得的獎勵發放至用個人背包中,獲得獎勵的用可以移步至背包中查看哦</p>
<p>3、禮物收藏家</p> <p>3、禮物收藏家</p>
<p>活動累計收到3種指定不同的禮物可領取獎勵1次獎勵每周上限最高可領取7次哦~獎勵自動發放,獲得獎勵的用可以移步至【裝扮商城】-【我的裝扮】查看哦~</p> <p>活動累計收到3種指定不同的禮物可領取獎勵1次獎勵每周上限最高可領取7次哦獎勵自動發放,獲得獎勵的用可以移步至【裝扮商城】-【我的裝扮】查看哦</p>
<p> 活動二:通過收到指定禮物,每收到任意禮物,幸運值+1當幸運值累計達到對應進度值時可領取對應獎勵獎勵每周限領次哦~,已經獲得獎勵的用可以移步至【裝扮商城】-【我的裝扮】查看哦~ <p> 活動二:通過收到指定禮物,每收到任意禮物,幸運值+1當幸運值累計達到對應進度值時可領取對應獎勵獎勵每周限領次哦,已經獲得獎勵的用可以移步至【裝扮商城】-【我的裝扮】查看哦
</p> </p>
<p>ps每周00:00:00更新;</p> <p>ps每周00:00:00更新</p>
<p>4、實力代言榜</p> <p>4、實力代言榜</p>
<p>送出幸運禮物可增加實力值10金=1實力值超級幸運禮物不與本次活動;</p> <p>送出幸運禮物可增加實力值10金=1實力值超級幸運禮物不與本次活動</p>
<p>實力值相同時則按優先到達進行排序;</p> <p>實力值相同時則按優先到達進行排序</p>
<p>3.額外獎勵:</p> <p>3.額外獎勵:</p>
<p>連續4次獲得實力榜TOP1-3分別可領取不同獎勵每個ID限領次,額外獎勵將會在用獲得之後個工作日發放;1.若A用連續4次登上實力榜TOP1獎勵金30w2.若A用連續3次登上實力榜TOP1後第四周未登上實力榜TOP1則無獎勵 <p>連續4次獲得實力榜TOP1-3分別可領取不同獎勵每個ID限領次,額外獎勵將會在用獲得之後個工作日發放1.若A用連續4次登上實力榜TOP1獎勵金30w2.若A用連續3次登上實力榜TOP1後第四周未登上實力榜TOP1則無獎勵
</p> </p>
<p>累計四次獲得實力榜TOP3分別可領取獎勵每個ID限領次,額外獎勵將會在用獲得之後個工作日發放;A用在不同的周期登上實力榜TOP1累計達到4次以後額外獲得銘牌60天</p> <p>累計四次獲得實力榜TOP3分別可領取獎勵每個ID限領次,額外獎勵將會在用獲得之後個工作日發放A用在不同的周期登上實力榜TOP1累計達到4次以後額外獲得銘牌60天</p>
<p>4. 活動獎勵將會在每周發放;</p> <p>4. 活動獎勵將會在每周發放</p>
<p>5、人氣代言榜</p> <p>5、人氣代言榜</p>
<p>壹用護收到幸運禮物可增加人氣值10金=1人氣值超級幸運禮物不與本次活動;</p> <p>①用戶收到幸運禮物可增加人氣值10金=1人氣值超級幸運禮物不與本次活動</p>
<p>實力值相同時則按優先到達進行排序;</p> <p>實力值相同時則按優先到達進行排序</p>
<p>③活動獎勵將會在每周發放;</p> <p>③活動獎勵將會在每周發放</p>
<p>6、有任何疑問請聯繫客服LINE:pekoyuyin、app內搜索ID10001、WeChat:sd245376;</p> <p>6、有任何疑問請聯繫客服LINE:pekoyuyin、app內搜索ID10001、WeChat:sd245376</p>
<p>七、本活動最終解釋權歸官方所有並與Apple inc/Google公司無關;</p> <p>七、本活動最終解釋權歸官方所有並與Apple inc/Google公司無關</p>
</div> </div>
</div> </div>
<div class="rule_page2"> <div class="rule_page2">
@@ -351,8 +351,8 @@
</li> </li>
</ul> </ul>
<div class="boxText"> <div class="boxText">
<p>1.連續4次獲得實力榜TOP1額外獎勵30w金</p> <p>1.連續4次獲得實力榜TOP1額外獎勵30w金</p>
<p>2.累積獲得4次實力榜TOP1額外獎勵自定義銘牌*60天每個ID僅可獲得額外獎勵將會在1個工作日發放</p> <p>2.累積獲得4次實力榜TOP1額外獎勵自定義銘牌*60天每個ID僅可獲得額外獎勵將會在1個工作日發放</p>
</div> </div>
</div> </div>
@@ -385,8 +385,8 @@
</li> </li>
</ul> </ul>
<div class="boxText"> <div class="boxText">
<p>1.連續4次獲得實力榜TOP2額外獎勵10w金</p> <p>1.連續4次獲得實力榜TOP2額外獎勵10w金</p>
<p>2.累積獲得4次實力榜TOP2額外獎勵自定義銘牌*30天每個ID僅可獲得額外獎勵將會在1個工作日發放</p> <p>2.累積獲得4次實力榜TOP2額外獎勵自定義銘牌*30天每個ID僅可獲得額外獎勵將會在1個工作日發放</p>
</div> </div>
</div> </div>
@@ -419,8 +419,8 @@
</li> </li>
</ul> </ul>
<div class="boxText"> <div class="boxText">
<p>1.連續4次獲得實力榜TOP3額外獎勵1w金</p> <p>1.連續4次獲得實力榜TOP3額外獎勵1w金</p>
<p>2.累積獲得4次實力榜TOP3額外獎勵自定義銘牌*15天每個ID僅可獲得額外獎勵將會在1個工作日發放</p> <p>2.累積獲得4次實力榜TOP3額外獎勵自定義銘牌*15天每個ID僅可獲得額外獎勵將會在1個工作日發放</p>
</div> </div>
</div> </div>
@@ -428,9 +428,9 @@
<ul class="giftList"> <ul class="giftList">
<li> <li>
<div class="imgBox"></div> <div class="imgBox"></div>
<img src="./images/box11.png" alt=""> <img src="./images/box22.png" alt="">
<span>1天</span> <span>1天</span>
<b>直升機座駕</b> <b>制勝王者頭飾</b>
</li> </li>
</ul> </ul>
</div> </div>

View File

@@ -70,7 +70,7 @@ function getRecords() {
var str2 = ''; var str2 = '';
res.data.forEach(res => { res.data.forEach(res => {
str2 += ` str2 += `
<li><i>恭喜</i> <b>${res.nick}</b><i>送出${res.luckyBagName}獲得</i><b>${res.rewardGiftName}</b> </li> <li><i>恭喜</i> <b>${res.nick}</b><i>送出${res.luckyBagName}獲得</i><b class="b">${res.rewardGiftName}</b> </li>
` `
}) })
// 處理廣告輪播 // 處理廣告輪播
@@ -229,7 +229,7 @@ function strFun(res, res2) {
res2.forEach(result => { res2.forEach(result => {
conditionValue = conditionValue + result.conditionValue; conditionValue = conditionValue + result.conditionValue;
}) })
$('.page1 .box2 .stext1').text(`活動:累收到以下任意${conditionValue}種不同的禮物,可領取獎勵`); $('.page1 .box2 .stext1').text(`活動:累收到以下任意${conditionValue}種不同的禮物,可領取獎勵`);
return str + str2; return str + str2;
} }
// 內嵌字符串2 // 內嵌字符串2
@@ -534,7 +534,7 @@ $('.page2 .page2_in2 .page2_in2Box').scroll(function () {
let ulHeight = $(this).innerHeight() let ulHeight = $(this).innerHeight()
if (scrollTop + ulHeight + 100 >= scrollHeight) { if (scrollTop + ulHeight + 100 >= scrollHeight) {
if (isLock) { if (isLock) {
// 請求下 // 請求下
page = page + 1; page = page + 1;
listRank(page) listRank(page)
isLock = false; isLock = false;
@@ -548,7 +548,7 @@ $('.page3 .page2_in2 .page2_in2Box').scroll(function () {
let ulHeight = $(this).innerHeight() let ulHeight = $(this).innerHeight()
if (scrollTop + ulHeight + 100 >= scrollHeight) { if (scrollTop + ulHeight + 100 >= scrollHeight) {
if (isLock1) { if (isLock1) {
// 請求下 // 請求下
page1 = page1 + 1; page1 = page1 + 1;
pageHistoryRank(page) pageHistoryRank(page)
isLock1 = false; isLock1 = false;