update src/layout/components/Message/src/Message.vue.
fix: 处理站内信内容过多回显问题 Signed-off-by: lzy <7783739+lzyyd@user.noreply.gitee.com>
This commit is contained in:
parent
5d760d5450
commit
c269cab6b2
@ -53,7 +53,7 @@ onMounted(() => {
|
|||||||
</template>
|
</template>
|
||||||
<ElTabs v-model="activeName">
|
<ElTabs v-model="activeName">
|
||||||
<ElTabPane label="我的站内信" name="notice">
|
<ElTabPane label="我的站内信" name="notice">
|
||||||
<div class="message-list">
|
<el-scrollbar class="message-list">
|
||||||
<template v-for="item in list" :key="item.id">
|
<template v-for="item in list" :key="item.id">
|
||||||
<div class="message-item">
|
<div class="message-item">
|
||||||
<img alt="" class="message-icon" src="@/assets/imgs/avatar.gif" />
|
<img alt="" class="message-icon" src="@/assets/imgs/avatar.gif" />
|
||||||
@ -67,7 +67,7 @@ onMounted(() => {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</el-scrollbar>
|
||||||
</ElTabPane>
|
</ElTabPane>
|
||||||
</ElTabs>
|
</ElTabs>
|
||||||
<!-- 更多 -->
|
<!-- 更多 -->
|
||||||
@ -88,6 +88,7 @@ onMounted(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.message-list {
|
.message-list {
|
||||||
|
height: 400px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user