中秋修改榜单文案
This commit is contained in:
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 |
BIN
view/yinmeng/activity/midAutumnFestival/images/listText2.png
Normal file
BIN
view/yinmeng/activity/midAutumnFestival/images/listText2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 62 KiB |
@@ -29,6 +29,7 @@ const toastMsg = (content = '操作完成', time = 2) => {
|
|||||||
var curDate; //当天日期;
|
var curDate; //当天日期;
|
||||||
var rankType = 1; //排行榜类型(1=送礼日榜,2=送礼总榜,3=收礼日榜,4=收礼总榜);
|
var rankType = 1; //排行榜类型(1=送礼日榜,2=送礼总榜,3=收礼日榜,4=收礼总榜);
|
||||||
var type = 'a';//a:送礼b:收礼;
|
var type = 'a';//a:送礼b:收礼;
|
||||||
|
var type2 = 'a';//a:日榜b:总榜;
|
||||||
var data = null;//默认日榜;
|
var data = null;//默认日榜;
|
||||||
var roomUid = null;//房间uid;
|
var roomUid = null;//房间uid;
|
||||||
var isEndTime = false;
|
var isEndTime = false;
|
||||||
@@ -293,13 +294,14 @@ $('.page2 .listBox .listTab div').click(function () {
|
|||||||
var i = $(this).index() + 1;
|
var i = $(this).index() + 1;
|
||||||
$('.page2 .listBox .listTab div').removeClass('listTab_active1').removeClass('listTab_active2');
|
$('.page2 .listBox .listTab div').removeClass('listTab_active1').removeClass('listTab_active2');
|
||||||
$(this).addClass(`listTab_active${i}`);
|
$(this).addClass(`listTab_active${i}`);
|
||||||
|
$('.page2 .listBox .listText').attr('src', `./images/listText${i}.png`)
|
||||||
if (i == 1) {
|
if (i == 1) {
|
||||||
rankType = 1;
|
|
||||||
type = 'a';
|
type = 'a';
|
||||||
|
rankType = type2 == "a" ? 1 : 2;
|
||||||
getRank(rankType);
|
getRank(rankType);
|
||||||
} else {
|
} else {
|
||||||
rankType = 3;
|
|
||||||
type = 'b';
|
type = 'b';
|
||||||
|
rankType = type2 == "a" ? 3 : 4;
|
||||||
getRank(rankType);
|
getRank(rankType);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -310,10 +312,12 @@ $('.page2 .listBox .dayTab div').click(function () {
|
|||||||
$(this).addClass(`day_active${i}`);
|
$(this).addClass(`day_active${i}`);
|
||||||
if (i == 1) {
|
if (i == 1) {
|
||||||
$('.page2 .listBox .time').show()
|
$('.page2 .listBox .time').show()
|
||||||
|
type2 = 'a';
|
||||||
rankType = type == "a" ? 1 : 3;
|
rankType = type == "a" ? 1 : 3;
|
||||||
getRank(rankType);
|
getRank(rankType);
|
||||||
} else {
|
} else {
|
||||||
$('.page2 .listBox .time').hide()
|
$('.page2 .listBox .time').hide()
|
||||||
|
type2 = 'b';
|
||||||
rankType = type == "a" ? 2 : 4;
|
rankType = type == "a" ? 2 : 4;
|
||||||
getRank(rankType);
|
getRank(rankType);
|
||||||
}
|
}
|
||||||
@@ -373,6 +377,9 @@ $('.stab div').click(function () {
|
|||||||
$('.play2').hide();
|
$('.play2').hide();
|
||||||
$('.play3').hide();
|
$('.play3').hide();
|
||||||
$(`.play${i}`).show();
|
$(`.play${i}`).show();
|
||||||
|
if (i == 1) {
|
||||||
|
jackpotConfig();
|
||||||
|
}
|
||||||
if (i == 3) {
|
if (i == 3) {
|
||||||
getDrawConfig();
|
getDrawConfig();
|
||||||
}
|
}
|
||||||
@@ -410,7 +417,6 @@ function draw (num) {
|
|||||||
success (res) {
|
success (res) {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
var str = '';
|
var str = '';
|
||||||
// <p>${res.name}${res.num}天</p>
|
|
||||||
// 1头饰;2铭牌;3气泡;4座驾;5礼物;
|
// 1头饰;2铭牌;3气泡;4座驾;5礼物;
|
||||||
res.data.forEach(res => {
|
res.data.forEach(res => {
|
||||||
str += `
|
str += `
|
||||||
|
Reference in New Issue
Block a user