新增刷新
This commit is contained in:
@@ -383,3 +383,14 @@ body {
|
|||||||
font-size: 0.26667rem;
|
font-size: 0.26667rem;
|
||||||
margin-bottom: 0.13333rem;
|
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;
|
||||||
|
}
|
||||||
|
@@ -400,3 +400,14 @@ body {
|
|||||||
margin-bottom: px2rem(10);
|
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;
|
||||||
|
}
|
BIN
view/peko/modules/boxActivity/images/update.png
Normal file
BIN
view/peko/modules/boxActivity/images/update.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.4 KiB |
@@ -71,7 +71,7 @@
|
|||||||
<img src="" alt="" class="gift">
|
<img src="" alt="" class="gift">
|
||||||
</div> -->
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
|
<img src="./images/update.png" alt="" class="updata">
|
||||||
<!-- 免責聲明 -->
|
<!-- 免責聲明 -->
|
||||||
<div class="disclaimers">
|
<div class="disclaimers">
|
||||||
<p>活動最終解釋權歸Piko Live所有</p>
|
<p>活動最終解釋權歸Piko Live所有</p>
|
||||||
|
@@ -106,6 +106,9 @@ $('.tab div').click(function () {
|
|||||||
$(`.page${i}`).show();
|
$(`.page${i}`).show();
|
||||||
if (i == 2) {
|
if (i == 2) {
|
||||||
getRank();
|
getRank();
|
||||||
|
$('.updata').show();
|
||||||
|
}else{
|
||||||
|
$('.updata').hide();
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
// 寶箱切換
|
// 寶箱切換
|
||||||
@@ -121,3 +124,7 @@ $('.boxTab .box').click(function () {
|
|||||||
getRank();
|
getRank();
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
// 更新
|
||||||
|
$('.updata').click(function () {
|
||||||
|
getRank();
|
||||||
|
})
|
Reference in New Issue
Block a user