中秋修改榜单文案

This commit is contained in:
Dragon
2023-09-21 18:29:42 +08:00
parent da3632eeb6
commit 36b0d72041
4 changed files with 9 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

View File

@@ -29,6 +29,7 @@ const toastMsg = (content = '操作完成', time = 2) => {
var curDate; //当天日期;
var rankType = 1; //排行榜类型1=送礼日榜2=送礼总榜3=收礼日榜4=收礼总榜);
var type = 'a';//a:送礼b:收礼;
var type2 = 'a';//a:日榜b:总榜;
var data = null;//默认日榜;
var roomUid = null;//房间uid;
var isEndTime = false;
@@ -293,13 +294,14 @@ $('.page2 .listBox .listTab div').click(function () {
var i = $(this).index() + 1;
$('.page2 .listBox .listTab div').removeClass('listTab_active1').removeClass('listTab_active2');
$(this).addClass(`listTab_active${i}`);
$('.page2 .listBox .listText').attr('src', `./images/listText${i}.png`)
if (i == 1) {
rankType = 1;
type = 'a';
rankType = type2 == "a" ? 1 : 2;
getRank(rankType);
} else {
rankType = 3;
type = 'b';
rankType = type2 == "a" ? 3 : 4;
getRank(rankType);
}
})
@@ -310,10 +312,12 @@ $('.page2 .listBox .dayTab div').click(function () {
$(this).addClass(`day_active${i}`);
if (i == 1) {
$('.page2 .listBox .time').show()
type2 = 'a';
rankType = type == "a" ? 1 : 3;
getRank(rankType);
} else {
$('.page2 .listBox .time').hide()
type2 = 'b';
rankType = type == "a" ? 2 : 4;
getRank(rankType);
}
@@ -373,6 +377,9 @@ $('.stab div').click(function () {
$('.play2').hide();
$('.play3').hide();
$(`.play${i}`).show();
if (i == 1) {
jackpotConfig();
}
if (i == 3) {
getDrawConfig();
}
@@ -410,7 +417,6 @@ function draw (num) {
success (res) {
if (res.code === 200) {
var str = '';
// <p>${res.name}${res.num}天</p>
// 1头饰2铭牌3气泡4座驾5礼物
res.data.forEach(res => {
str += `