mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-07-13 00:11:37 +08:00
优化对话框和消息视图组件:调整消息对话框最大宽度,增加全屏支持,更新消息内容引用,修改消息项的样式,提升用户体验
This commit is contained in:
@@ -117,7 +117,7 @@ onBeforeUnmount(() => {
|
||||
<div
|
||||
v-for="(msg, index) in messages"
|
||||
:key="index"
|
||||
class="chat-group d-flex mb-8"
|
||||
class="chat-group d-flex mt-5 mb-8"
|
||||
:class="msg.action == 1 ? 'flex-row align-start' : 'flex-row-reverse align-end'"
|
||||
>
|
||||
<div class="d-inline-flex flex-column" :class="msg.action == 1 ? 'align-start' : 'align-end'">
|
||||
|
||||
@@ -199,7 +199,7 @@ onMounted(async () => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<VList lines="two" border rounded>
|
||||
<VList lines="two" rounded>
|
||||
<template v-for="(target, index) of targets" :key="target.name">
|
||||
<VListItem>
|
||||
<template #prepend>
|
||||
@@ -219,7 +219,7 @@ onMounted(async () => {
|
||||
<VBtn size="small" icon="mdi-connection" :disabled="target.btndisable" @click="netTest(index)" />
|
||||
</template>
|
||||
</VListItem>
|
||||
<VDivider v-if="index !== targets.length - 1" />
|
||||
<VDivider inset v-if="index !== targets.length - 1" />
|
||||
</template>
|
||||
</VList>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user