新增刷新

This commit is contained in:
Dragon
2023-12-13 19:04:22 +08:00
parent eb6e42f455
commit 5d50978658
5 changed files with 30 additions and 1 deletions

View File

@@ -383,3 +383,14 @@ body {
font-size: 0.26667rem;
margin-bottom: 0.13333rem;
}
.updata {
position: fixed;
right: 0.5rem;
width: 1rem;
height: 1rem;
top: 19rem;
background: rgba(0, 0, 0, 0.4);
border-radius: 50%;
display: none;
}

View File

@@ -400,3 +400,14 @@ body {
margin-bottom: px2rem(10);
}
}
.updata {
position: fixed;
right: 0.5rem;
width: 1rem;
height: 1rem;
top: 19rem;
background: rgba(0, 0, 0, .4);
border-radius: 50%;
display: none;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

View File

@@ -71,7 +71,7 @@
<img src="" alt="" class="gift">
</div> -->
</div>
<img src="./images/update.png" alt="" class="updata">
<!-- 免責聲明 -->
<div class="disclaimers">
<p>活動最終解釋權歸Piko Live所有</p>

View File

@@ -106,6 +106,9 @@ $('.tab div').click(function () {
$(`.page${i}`).show();
if (i == 2) {
getRank();
$('.updata').show();
}else{
$('.updata').hide();
}
})
// 寶箱切換
@@ -121,3 +124,7 @@ $('.boxTab .box').click(function () {
getRank();
}
})
// 更新
$('.updata').click(function () {
getRank();
})