fix: bug

This commit is contained in:
杨航
2025-11-26 14:28:40 +08:00
parent da77829fbe
commit 3a923aba35
+4 -1
View File
@@ -134,6 +134,9 @@
const showTalkList = computed(() => {
return allTalkList.value.slice(0, 2)
})
const maxHeight = computed(()=>{
return allTalkList.value.length * 800 + 'rpx'
})
const hideTalkList = computed(() => {
return allTalkList.value.slice(2)
})
@@ -557,7 +560,7 @@
overflow: hidden;
&.show-all {
max-height: 5000rpx;
max-height: v-bind(maxHeight);
transition: all 0.5s ease;
}
}