完成七夕所有静态页面

This commit is contained in:
Dragon
2023-08-08 15:44:35 +08:00
parent b6fe002a9f
commit 9c3a66300e
62 changed files with 2273 additions and 85 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 185 KiB

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 521 KiB

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 331 KiB

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

After

Width:  |  Height:  |  Size: 478 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 74 KiB

After

Width:  |  Height:  |  Size: 129 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 867 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 MiB

After

Width:  |  Height:  |  Size: 601 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 906 KiB

After

Width:  |  Height:  |  Size: 197 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 832 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 764 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 851 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 403 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 93 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

View File

@@ -28,13 +28,13 @@
<img src="./images/betrothalbg1.png" alt="">
</div>
<div class="swiper-slide">
<img src="./images/betrothalbg1.png" alt="">
<img src="./images/betrothalbg2.png" alt="">
</div>
</div>
</div>
</div>
<!-- tab切换 -->
<div class="tab tab1">
<div class="tab tabs tab1">
<div></div>
<div></div>
<div></div>
@@ -127,8 +127,12 @@
<b>鵲仙橋頭飾*3天</b>
</div>
</div>
<!-- 每日任务 -->
<div class="task">
<!-- 每日任务 tasks2-->
<div class="task ">
<div class="tab">
<div></div>
<div></div>
</div>
<div class="box1">
<p class="title">完成每日任務可獲得喜鵲任務每日0點刷新<br>
任務獎勵自動發放</p>
@@ -161,6 +165,9 @@
</div>
</div>
</div>
<div class="box2">
<img src="./images/task2But.png" alt="" class="task2But">
</div>
</div>
</div>
<!-- page2 -->
@@ -180,19 +187,41 @@
<img src="./images/refresh.png" alt="" class="refreshIcon">
換一批
</div>
<!-- 打开灯笼 -->
<div class="lantern lantern1 openLantern">
<img src="./images/logo.png" alt="">
<p>織女頭飾</p>
<b>1天</b>
<!-- 打开灯笼 openLantern-->
<div class="lantern lantern1">
<div class="box">
<img src="./images/logo.png" alt="">
<p>織女頭飾</p>
<b>1天</b>
</div>
</div>
<div class="lantern lantern2">
<div class="box">
<img src="./images/logo.png" alt="">
<p>織女頭飾</p>
<b>1天</b>
</div>
</div>
<div class="lantern lantern3">
<div class="box">
<img src="./images/logo.png" alt="">
<p>織女頭飾</p>
<b>1天</b>
</div>
</div>
<div class="lantern lantern4">
<div class="box">
<img src="./images/logo.png" alt="">
<p>織女頭飾</p>
<b>1天</b>
</div>
</div>
<div class="lantern lantern2"></div>
<div class="lantern lantern3"></div>
<div class="lantern lantern4"></div>
<div class="lantern lantern5"></div>
</div>
<!-- 奖池&记录 -->
<div class="blessingTreeBoomt blessingTreeBoomt2">
<!-- 奖池&记录 blessingTreeBoomt2-->
<div class="blessingTreeBoomt">
<div class="tab">
<div></div>
<div></div>
@@ -227,6 +256,165 @@
</div>
</div>
</div>
<!-- page3 -->
<div class="page3">
<!-- 活动规则 -->
<div class="rule">活动规则</div>
<!-- 标题 -->
<img src="./images/title.png" alt="" class="title">
<p class="titleText">贈送普通禮物1鉆石=1情緣值七夕限定禮物1鉆石=3情緣值</p>
<!-- 前三 -->
<div class="no1">
<img src="./images/no1.png" alt="" class="txBg">
<img src="./images/logo.png" alt="" class="tx">
<p>用户昵称</p>
<div>
<img src="./images/loveIcon.png" alt="" class="loveIcon">
<b>情緣值XXX</b>
</div>
</div>
<div class="no2">
<img src="./images/no2.png" alt="" class="txBg">
<img src="./images/logo.png" alt="" class="tx">
<p>用户昵称</p>
<div>
<img src="./images/loveIcon.png" alt="" class="loveIcon">
<b>情緣值XXX</b>
</div>
</div>
<div class="no3">
<img src="./images/no3.png" alt="" class="txBg">
<img src="./images/logo.png" alt="" class="tx">
<p>用户昵称</p>
<div>
<img src="./images/loveIcon.png" alt="" class="loveIcon">
<b>情緣值XXX</b>
</div>
</div>
<!-- 非前三 -->
<ul>
<li>
<div class="num">4</div>
<img src="./images/logo.png" alt="" class="tx">
<div class="name"></div>
<div class="score">
<img src="./images/loveIcon.png" alt="" class="loveIcon">
<b>情緣值XXX</b>
</div>
</li>
</ul>
<!-- 规则弹窗 -->
<div class="roomRule">
<img src="./images/roomRule.png" alt="" class="roomRule_in">
</div>
</div>
<!-- page4 -->
<div class="page4">
<!-- 活动规则 -->
<div class="rule">榜单奖励</div>
<!-- 相会鹊桥 -->
<div class="loveList">
<img src="./images/left.png" alt="" class="left">
<img src="./images/center.png" alt="" class="center">
<img src="./images/right.png" alt="" class="right">
<img src="./images/logo.png" alt="" class="txL">
<img src="./images/logo.png" alt="" class="txR">
<p>活動期間每小時甜蜜值第一的主播和最佳主力的用戶</p>
<div class="times">距下一小時一起上榜結果<span>00</span>:<span>00</span></div>
</div>
<!-- tab切换 -->
<div class="page4Tab">
<div></div>
<div></div>
</div>
<!-- 日榜总榜 -->
<div class="dayAll">
<div></div>
<div></div>
</div>
<!-- 礼物值说明 -->
<div class="giftVal">收到普通禮物1鉆石=1甜蜜值七夕限定禮物1鉆石=3甜蜜值</div>
<!-- 日榜时间选择 -->
<div class="timeList">
<div class="active">8.19</div>
<div>8.20</div>
<div>8.21</div>
<div>8.22</div>
<div>8.23</div>
</div>
<!-- 前三 -->
<div class="no1">
<img src="./images/no1.png" alt="" class="txBg">
<img src="./images/logo.png" alt="" class="tx">
<p>用户昵称</p>
<div>
<img src="./images/loveIcon.png" alt="" class="loveIcon">
<b>情緣值XXX</b>
</div>
</div>
<div class="no2">
<img src="./images/no2.png" alt="" class="txBg">
<img src="./images/logo.png" alt="" class="tx">
<p>用户昵称</p>
<div>
<img src="./images/loveIcon.png" alt="" class="loveIcon">
<b>情緣值XXX</b>
</div>
</div>
<div class="no3">
<img src="./images/no3.png" alt="" class="txBg">
<img src="./images/logo.png" alt="" class="tx">
<p>用户昵称</p>
<div>
<img src="./images/loveIcon.png" alt="" class="loveIcon">
<b>情緣值XXX</b>
</div>
</div>
<!-- 非前三 -->
<ul>
<li>
<div class="num">4</div>
<img src="./images/logo.png" alt="" class="tx">
<div class="name"></div>
<div class="score">
<img src="./images/loveIcon.png" alt="" class="loveIcon">
<b>情緣值XXX</b>
</div>
</li>
</ul>
<!-- 自己榜单 -->
<div class="my">
<div class="num">4</div>
<img src="./images/logo.png" alt="" class="tx">
<div class="name">虚位以待</div>
<div class="score">
<img src="./images/loveIcon.png" alt="" class="loveIcon">
<b>情緣值XXX</b>
</div>
</div>
<!-- 甜蜜榜单 -->
<div class="sweet">
<div class="sweet_in">
<div class="box">
<img src="./images/sweet_in.png" alt="">
</div>
</div>
</div>
</div>
<!-- 活动规则弹窗 -->
<div class="rule_pub">
<div class="rule_pub_in">
<div class="box">
<img src="./images/rule_pub_in.png" alt="">
</div>
</div>
</div>
<!-- 活动结束弹窗 -->
<div class="endActivity">
<div class="endActivity_in">
<img src="./images/endActivitybut.png" alt="" class="but">
</div>
</div>
</body>
</html>

View File

@@ -97,3 +97,90 @@ function swiperFun () {
}
})
}
// 总tab切换
$('.tabs div').click(function () {
var i = $(this).index() + 1;
$('.tabs').removeClass('tab1').removeClass('tab2').removeClass('tab3').removeClass('tab4');
$('.tabs').addClass(`tab${i}`);
$('.page1').hide();
$('.page2').hide();
$('.page3').hide();
$('.page4').hide();
$(`.page${i}`).show();
})
// 首页任务切换
$('.page1 .task .tab div').click(function () {
var i = $(this).index() + 1;
if (i == 1) {
$('.page1 .task').removeClass('tasks2');
} else {
$('.page1 .task').addClass('tasks2');
}
})
// 打开活动规则
$('.header .rule').click(function () {
bodyScroolFun(true);
$('.rule_pub').show();
})
// 关闭活动规则
$('.rule_pub').click(function () {
bodyScroolFun(false);
$('.rule_pub').hide();
})
// 打开房间榜活动规则
$('.page3 .rule').click(function () {
bodyScroolFun(true);
$('.page3 .roomRule').show();
})
// 关闭房间榜活动规则
$('.roomRule').click(function () {
bodyScroolFun(false);
$('.roomRule').hide();
})
// 打开房间榜活动规则
$('.page4 .rule').click(function () {
bodyScroolFun(true);
$('.page4 .sweet').show();
})
// 关闭房间榜活动规则
$('.sweet').click(function () {
bodyScroolFun(false);
$('.sweet').hide();
})
// 祈愿树tab切换
$('.page2 .blessingTreeBoomt .tab div').click(function () {
var i = $(this).index() + 1;
if (i == 1) {
$('.page2 .blessingTreeBoomt').removeClass('blessingTreeBoomt2')
} else {
$('.page2 .blessingTreeBoomt').addClass('blessingTreeBoomt2')
}
})
// 七夕榜单tab切换
$('.page4 .page4Tab div').click(function () {
var i = $(this).index() + 1;
if (i == 1) {
$('.page4 .page4Tab').removeClass('page4Tab2');
} else {
$('.page4 .page4Tab').addClass('page4Tab2');
}
})
// 七夕榜单日榜总榜切换
$('.page4 .dayAll div').click(function () {
var i = $(this).index() + 1;
if (i == 1) {
$('.page4 .dayAll').removeClass('dayAll2');
} else {
$('.page4 .dayAll').addClass('dayAll2');
}
})
// 日榜切换日期
$('.page4 .timeList div').click(function () {
var i = $(this).index() + 1;
$(this).addClass('active').siblings().removeClass('active');
})
// 关闭活动结束按钮
$('.endActivity .endActivity_in .but').click(function () {
$('.endActivity').hide();
bodyScroolFun(false);
})