no message

This commit is contained in:
kuaifan 2022-07-06 12:02:24 +08:00
parent ca65741392
commit ed937f5f31
2 changed files with 11 additions and 3 deletions

View File

@ -46,7 +46,7 @@
{{$L(dialogData.online_state === true ? '在线' : dialogData.online_state)}} {{$L(dialogData.online_state === true ? '在线' : dialogData.online_state)}}
</li> </li>
</ul> </ul>
<ul v-if="msgTags.length > 1 && windowScrollY === 0" class="title-tags scrollbar-hidden"> <ul v-if="tagShow" class="title-tags scrollbar-hidden">
<li <li
v-for="item in msgTags" v-for="item in msgTags"
:key="item.type" :key="item.type"
@ -517,8 +517,12 @@ export default {
return null return null
}, },
tagShow() {
return this.msgTags.length > 1 && this.windowScrollY === 0
},
scrollerClass() { scrollerClass() {
return !this.$slots.head && this.msgTags.length > 1 && this.windowScrollY === 0 ? 'default-header' : null return !this.$slots.head && this.tagShow ? 'default-header' : null
}, },
pasteWrapperClass() { pasteWrapperClass() {
@ -1160,7 +1164,7 @@ export default {
}) })
let offset = scroller.getOffset() + reducer.size let offset = scroller.getOffset() + reducer.size
if (this.prevId === 0) { if (this.prevId === 0) {
offset -= 52 offset -= 36
} }
this.onToOffset(offset) this.onToOffset(offset)
this.scrollDisabled = false this.scrollDisabled = false

View File

@ -1252,6 +1252,10 @@
padding: 0; padding: 0;
justify-content: center; justify-content: center;
&:before {
display: none;
}
&.completed { &.completed {
&:after { &:after {
font-size: 36px; font-size: 36px;