fix: bug
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user