From b5afda4ccee67fe8ee63202a3db5438dc5b4e886 Mon Sep 17 00:00:00 2001 From: liuye Date: Fri, 9 Jun 2023 09:28:05 +0800 Subject: [PATCH 1/5] =?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 { From 75d33443f04716a4e8793d1f1eaa1dc46a9b3bc8 Mon Sep 17 00:00:00 2001 From: liuye Date: Fri, 9 Jun 2023 09:29:50 +0800 Subject: [PATCH 2/5] =?UTF-8?q?=E4=BC=9A=E8=AF=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/pidu/app/AppSessionArchive/AppSessionArchive.vue | 2 +- project/pidu/app/AppSessionArchive/components/Detail.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/project/pidu/app/AppSessionArchive/AppSessionArchive.vue b/project/pidu/app/AppSessionArchive/AppSessionArchive.vue index bfc262b4..b67feb38 100644 --- a/project/pidu/app/AppSessionArchive/AppSessionArchive.vue +++ b/project/pidu/app/AppSessionArchive/AppSessionArchive.vue @@ -26,7 +26,7 @@ export default { }, data() { return { - component: "Detail", + component: "List", params: {}, include: [], }; diff --git a/project/pidu/app/AppSessionArchive/components/Detail.vue b/project/pidu/app/AppSessionArchive/components/Detail.vue index 9c5c1daf..ffbc7802 100644 --- a/project/pidu/app/AppSessionArchive/components/Detail.vue +++ b/project/pidu/app/AppSessionArchive/components/Detail.vue @@ -136,7 +136,7 @@ {name: '文件', value: 'file'}, ], searchMsg: '', - id: 'LiuYe' + id: '' } }, computed: { @@ -148,7 +148,7 @@ this.id = this.params.id this.getList() } - this.getList() + // this.getList() }, methods: { From 201076e0fe744f3183ca9837a87595bae25e79ef Mon Sep 17 00:00:00 2001 From: liuye Date: Fri, 9 Jun 2023 10:38:34 +0800 Subject: [PATCH 3/5] =?UTF-8?q?=E6=B6=88=E6=81=AF=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppSessionArchive/components/Detail.vue | 70 ++++++++++++++++++- 1 file changed, 67 insertions(+), 3 deletions(-) diff --git a/project/pidu/app/AppSessionArchive/components/Detail.vue b/project/pidu/app/AppSessionArchive/components/Detail.vue index ffbc7802..7efce471 100644 --- a/project/pidu/app/AppSessionArchive/components/Detail.vue +++ b/project/pidu/app/AppSessionArchive/components/Detail.vue @@ -85,6 +85,24 @@
{{item.userName}}{{item.msgSendTime.substring(0, 16)}}撤回了一条消息
+
对方不同意会话存档内容,你将无法继续提供服务
+ +
对方同意会话存档内容,你可以继续提供服务
+ +
+
+
+

{{item.cardCorpName}}

+

{{item.cardUserName}}

+
{{item.cardUserId}}
+
+
+ +
+
+ +
+
@@ -136,7 +154,7 @@ {name: '文件', value: 'file'}, ], searchMsg: '', - id: '' + id: 'LiuYe' } }, computed: { @@ -449,8 +467,8 @@ } .img-list { img { - width: 200px; - height: 200px; + width: 400px; + height: 400px; } } .voice-info { @@ -471,6 +489,52 @@ color: #999; margin-top: 4px; } + .card-info { + width: 300px; + position: relative; + border-radius: 8px; + background-color: #fff; + border: 1px solid #eee; + + .top { + display: flex; + padding: 16px; + .card-left { + width: calc(100% - 60px); + h3 { + line-height: 60px; + font-size: 24px; + font-weight: 500; + color: #333; + margin-bottom: 10px; + } + p { + color: #000; + line-height: 24px; + font-size: 18px; + } + div { + color: #666; + font-size: 14px; + line-height: 24px; + } + } + .card-right { + img { + width: 50px; + height: 50px; + border-radius: 4px; + } + } + } + .bottom { + padding-left: 16px; + line-height: 44px; + font-size: 16px; + color: #666; + border-top: 1px solid #eee; + } + } } } .item-left { From 549d747a8c6fd5cb0cf2962eea6dfcfdd1f2b6a7 Mon Sep 17 00:00:00 2001 From: liuye Date: Fri, 9 Jun 2023 10:46:36 +0800 Subject: [PATCH 4/5] bug --- project/pidu/app/AppSessionArchive/components/Detail.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/project/pidu/app/AppSessionArchive/components/Detail.vue b/project/pidu/app/AppSessionArchive/components/Detail.vue index 7efce471..10a40376 100644 --- a/project/pidu/app/AppSessionArchive/components/Detail.vue +++ b/project/pidu/app/AppSessionArchive/components/Detail.vue @@ -12,9 +12,11 @@
From feea70120c40042bfc4689f83dc27a085694f72a Mon Sep 17 00:00:00 2001 From: liuye Date: Fri, 9 Jun 2023 11:09:12 +0800 Subject: [PATCH 5/5] =?UTF-8?q?=E4=BC=9A=E8=AF=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/pidu/app/AppSessionArchive/components/Detail.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/project/pidu/app/AppSessionArchive/components/Detail.vue b/project/pidu/app/AppSessionArchive/components/Detail.vue index 10a40376..61bafaaf 100644 --- a/project/pidu/app/AppSessionArchive/components/Detail.vue +++ b/project/pidu/app/AppSessionArchive/components/Detail.vue @@ -209,7 +209,7 @@ params: { userId: this.id, type: this.tabIndex, - size: 20, + size: 8, current: this.msgCurrent, msgType: this.msgTypeList[this.msgType].value, // msgType: 'file', @@ -229,6 +229,9 @@ }) this.msgList = res.data.records this.msgTotal = res.data.total || 0 + this.$nextTick(() => { + document.querySelector('.content-right-info').scrollTo(0, 999999999) + }) } this.isLoading = false }).catch(() => {