From b5afda4ccee67fe8ee63202a3db5438dc5b4e886 Mon Sep 17 00:00:00 2001 From: liuye Date: Fri, 9 Jun 2023 09:28:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=9A=E8=AF=9D=E5=AD=98=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppSessionArchive/AppSessionArchive.vue | 2 +- .../AppSessionArchive/components/Detail.vue | 25 +++++++++++++------ 2 files changed, 19 insertions(+), 8 deletions(-) diff --git a/project/pidu/app/AppSessionArchive/AppSessionArchive.vue b/project/pidu/app/AppSessionArchive/AppSessionArchive.vue index b67feb38..bfc262b4 100644 --- a/project/pidu/app/AppSessionArchive/AppSessionArchive.vue +++ b/project/pidu/app/AppSessionArchive/AppSessionArchive.vue @@ -26,7 +26,7 @@ export default { }, data() { return { - component: "List", + component: "Detail", params: {}, include: [], }; diff --git a/project/pidu/app/AppSessionArchive/components/Detail.vue b/project/pidu/app/AppSessionArchive/components/Detail.vue index e3669681..9c5c1daf 100644 --- a/project/pidu/app/AppSessionArchive/components/Detail.vue +++ b/project/pidu/app/AppSessionArchive/components/Detail.vue @@ -56,7 +56,8 @@
-

{{item.createTime}}

+ +

{{item.userName}}{{item.msgSendTime}}

@@ -135,7 +136,7 @@ {name: '文件', value: 'file'}, ], searchMsg: '', - id: '' + id: 'LiuYe' } }, computed: { @@ -147,6 +148,7 @@ this.id = this.params.id this.getList() } + this.getList() }, methods: { @@ -403,11 +405,16 @@ overflow-y: scroll; .item { margin-bottom: 48px; - .time { - color: #999; - font-size: 14px; - line-height: 44px; - text-align: center; + .user-name { + color: #666; + font-size: 12px; + line-height: 20px; + padding:0 0 0 64px; + span { + display: inline-block; + margin: 0 12px; + color: #999; + } } .item-content-flex { display: flex; @@ -486,6 +493,10 @@ .item-right { width: 100%; justify-content: right; + .user-name { + text-align: right; + padding: 0 52px 0 0; + } .item-content-flex { justify-content: end; .user-img {