新增未开始倒计时判断
This commit is contained in:
@@ -518,6 +518,15 @@ body {
|
||||
background: url(../images/pag2bg.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.page2 .upDate {
|
||||
width: 0.42667rem;
|
||||
height: 0.42667rem;
|
||||
position: absolute;
|
||||
top: 0.73333rem;
|
||||
right: 0.50667rem;
|
||||
}
|
||||
|
||||
.page2 .tab {
|
||||
@@ -1373,6 +1382,6 @@ body {
|
||||
|
||||
.limitedGift .limitedGift_in .box img {
|
||||
width: 100%;
|
||||
height: 15.32rem;
|
||||
height: 12.14667rem;
|
||||
display: block;
|
||||
}
|
||||
|
@@ -536,6 +536,14 @@ body {
|
||||
background: url(../images/pag2bg.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
.upDate{
|
||||
width: px2rem(32);
|
||||
height: px2rem(32);
|
||||
position: absolute;
|
||||
top: px2rem(55);
|
||||
right: px2rem(38);
|
||||
}
|
||||
|
||||
.tab {
|
||||
width: px2rem(522);
|
||||
@@ -1405,7 +1413,7 @@ body {
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
height: px2rem(1149);
|
||||
height: px2rem(911);
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 340 KiB After Width: | Height: | Size: 299 KiB |
BIN
view/peko/activity/2024-aprilFoolsDay/images/upDate.png
Normal file
BIN
view/peko/activity/2024-aprilFoolsDay/images/upDate.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 945 B |
@@ -36,7 +36,7 @@
|
||||
<!-- 奇幻魔盒 -->
|
||||
<div class="box1">
|
||||
<img src="./images/pageBox1Rule_icon.png" alt="" class="pageBox1Rule_icon">
|
||||
<div class="time">3分钟倒计时: <span class="sp1">00</span> 分 <span class="sp2">00</span> 秒</div>
|
||||
<div class="time">3分钟倒计时: <span class="sp1">03</span> 分 <span class="sp2">00</span> 秒</div>
|
||||
<div class="text">用戶在送出第一個奇幻魔盒後開啓3分鐘倒計時,<br>在此期間內點亮所有禮物,可獲得<b>【愚人慶典】</b>禮物*1</div>
|
||||
<div class="giftBoxs">
|
||||
<div class="">
|
||||
@@ -105,6 +105,8 @@
|
||||
|
||||
<!-- 页面2 -->
|
||||
<div class="page2">
|
||||
<!-- 更新 -->
|
||||
<img src="./images/upDate.png" alt="" class="upDate">
|
||||
<!-- 切换 -->
|
||||
<div class="tab">
|
||||
<div class="act1">牌照房间</div>
|
||||
|
@@ -103,9 +103,11 @@ function getTime () {
|
||||
data: { activityCode: "ACT_2024_APRIL_FOOLS_DAY", taskCode: "QI_HUAN_GIFT" },
|
||||
success (res) {
|
||||
if (res.code === 200) {
|
||||
if (res.data) {
|
||||
countupTime = res.data - res.timestamp;
|
||||
countup();
|
||||
getTaskUser();
|
||||
}
|
||||
} else {
|
||||
toastMsg(res.message)
|
||||
}
|
||||
@@ -168,6 +170,11 @@ $('.tabs div').click(function () {
|
||||
}
|
||||
})
|
||||
|
||||
// 更新房间接口按钮
|
||||
$('.page2 .upDate').click(function () {
|
||||
getRooms();
|
||||
})
|
||||
|
||||
// 獲取奇幻榜接口
|
||||
function getRank () {
|
||||
showLoading()
|
||||
|
Reference in New Issue
Block a user