修复上期前三异常问题
This commit is contained in:
@@ -968,6 +968,7 @@ body {
|
|||||||
bottom: -0.53333rem;
|
bottom: -0.53333rem;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lastTopThree .lastTopThree_in .box .no1 p span {
|
.lastTopThree .lastTopThree_in .box .no1 p span {
|
||||||
@@ -1095,6 +1096,7 @@ body {
|
|||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lastTopThree .lastTopThree_in .box .no2 p span {
|
.lastTopThree .lastTopThree_in .box .no2 p span {
|
||||||
@@ -1210,6 +1212,7 @@ body {
|
|||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lastTopThree .lastTopThree_in .box .no3 p span {
|
.lastTopThree .lastTopThree_in .box .no3 p span {
|
||||||
|
@@ -977,6 +977,7 @@ body {
|
|||||||
// text-overflow: ellipsis; //超出文本省略号
|
// text-overflow: ellipsis; //超出文本省略号
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
white-space: nowrap;
|
||||||
|
|
||||||
span {
|
span {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@@ -1104,6 +1105,7 @@ body {
|
|||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
white-space: nowrap;
|
||||||
span {
|
span {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: px2rem(28);
|
width: px2rem(28);
|
||||||
@@ -1218,6 +1220,7 @@ body {
|
|||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
white-space: nowrap;
|
||||||
span {
|
span {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: px2rem(28);
|
width: px2rem(28);
|
||||||
|
@@ -209,6 +209,11 @@ function getlastTop (type, datetype) {
|
|||||||
$(`.lastTopThree .lastTopThree_in .box .no${i + 1} i`).show();
|
$(`.lastTopThree .lastTopThree_in .box .no${i + 1} i`).show();
|
||||||
$(`.lastTopThree .lastTopThree_in .box .no${i + 1} .icon_gh`).show();
|
$(`.lastTopThree .lastTopThree_in .box .no${i + 1} .icon_gh`).show();
|
||||||
}
|
}
|
||||||
|
if (listType == 3 || listType == 2) {
|
||||||
|
$('.lastTopThree .lastTopThree_in .box .no .icon_gh').show();
|
||||||
|
} else {
|
||||||
|
$('.lastTopThree .lastTopThree_in .box .no .icon_gh').hide();
|
||||||
|
}
|
||||||
$(`.lastTopThree .lastTopThree_in .box .no${i + 1} .icon_gh`).attr('src', res.assist ? res.assist.avatar : './images/logo.png')
|
$(`.lastTopThree .lastTopThree_in .box .no${i + 1} .icon_gh`).attr('src', res.assist ? res.assist.avatar : './images/logo.png')
|
||||||
$(`.lastTopThree .lastTopThree_in .box .no${i + 1} .ts`).attr('uid', res.uid);
|
$(`.lastTopThree .lastTopThree_in .box .no${i + 1} .ts`).attr('uid', res.uid);
|
||||||
$(`.lastTopThree .lastTopThree_in .box .no${i + 1} .ts`).attr('inRoomUid', res.inRoomUid);
|
$(`.lastTopThree .lastTopThree_in .box .no${i + 1} .ts`).attr('inRoomUid', res.inRoomUid);
|
||||||
@@ -401,11 +406,6 @@ $('.lastTopThree').click(function () {
|
|||||||
})
|
})
|
||||||
// 打开上期前三
|
// 打开上期前三
|
||||||
$('.header .listLast').click(function () {
|
$('.header .listLast').click(function () {
|
||||||
if (listType == 3 || listType == 2) {
|
|
||||||
$('.lastTopThree .lastTopThree_in .box .no .icon_gh').show();
|
|
||||||
} else {
|
|
||||||
$('.lastTopThree .lastTopThree_in .box .no .icon_gh').hide();
|
|
||||||
}
|
|
||||||
getlastTop(type, datetype);
|
getlastTop(type, datetype);
|
||||||
})
|
})
|
||||||
// 点击前三按钮
|
// 点击前三按钮
|
||||||
|
Reference in New Issue
Block a user