diff --git a/project/pidu/app/AppSessionArchive/components/Detail.vue b/project/pidu/app/AppSessionArchive/components/Detail.vue index e3669681..61bafaaf 100644 --- a/project/pidu/app/AppSessionArchive/components/Detail.vue +++ b/project/pidu/app/AppSessionArchive/components/Detail.vue @@ -12,9 +12,11 @@
@@ -56,7 +58,8 @@
-

{{item.createTime}}

+ +

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

@@ -84,6 +87,24 @@
{{item.userName}}{{item.msgSendTime.substring(0, 16)}}撤回了一条消息
+
对方不同意会话存档内容,你将无法继续提供服务
+ +
对方同意会话存档内容,你可以继续提供服务
+ +
+
+
+

{{item.cardCorpName}}

+

{{item.cardUserName}}

+
{{item.cardUserId}}
+
+
+ +
+
+ +
+
@@ -135,7 +156,7 @@ {name: '文件', value: 'file'}, ], searchMsg: '', - id: '' + id: 'LiuYe' } }, computed: { @@ -147,6 +168,7 @@ this.id = this.params.id this.getList() } + // this.getList() }, methods: { @@ -187,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', @@ -207,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(() => { @@ -403,11 +428,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; @@ -442,8 +472,8 @@ } .img-list { img { - width: 200px; - height: 200px; + width: 400px; + height: 400px; } } .voice-info { @@ -464,6 +494,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 { @@ -486,6 +562,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 {