feat(斋月活动): 修复长名称不滚动的问题

This commit is contained in:
hzj 2026-02-12 16:19:42 +08:00
parent 7f07dbe0ee
commit ae076cb821

View File

@ -392,7 +392,7 @@
>
<!-- 滚动容器 -->
<div
v-if="isTextOverflow(listItem?.userName || '')"
v-if="isTextOverflow(listItem?.nickname || '')"
class="scroll-wrapper"
>
<!-- 2套内容 -->
@ -572,7 +572,7 @@
>
<!-- 滚动容器 -->
<div
v-if="isTextOverflow(listItem?.userName || '')"
v-if="isTextOverflow(listItem?.nickname || '')"
class="scroll-wrapper"
>
<!-- 2套内容 -->
@ -2200,7 +2200,7 @@ const getCountdown = () => {
Days.value = Math.floor(totalSeconds / (24 * 3600))
Hours.value = formatTime(Math.floor((totalSeconds % (24 * 3600)) / 3600))
Minutes.value = formatTime(Math.floor((totalSeconds % 3600) / 60))
Seconds.value = formatTime(Math.floor(totalSeconds % 60))
Second.value = formatTime(Math.floor(totalSeconds % 60))
}
//