This commit is contained in:
yanran200730
2022-07-21 09:37:47 +08:00
parent 12bb196de3
commit 2d53a8a31d

View File

@@ -171,7 +171,7 @@
</div>
</div>
</div>
<div class="msg-item" v-for="(item, index) in fileList" :key="index">
<div class="msg-item" v-for="item in fileList" :key="item.id">
<div class="msg-item__left">
<img v-if="user.info.avatar" :src="user.info.avatar" />
</div>
@@ -185,7 +185,7 @@
<div class="msg-wrapper msg-file" v-if="item.msgType === '3'">
<div class="msg-left">
<h2>{{ item.name }}</h2>
<p>11k</p>
<p>{{ item.fileSizeStr }}</p>
</div>
<img src="https://cdn.cunwuyun.cn/dvcp/announce/folder.png" />
</div>
@@ -364,6 +364,7 @@
this.instance.post(`/app/appmasssendingtask/queryDetailById?id=${id}`).then(res => {
if (res.code === 0) {
this.form = {
...this.form,
...res.data,
wxGroupsName: '1',
filterCriteria: res.data.filterCriteria.split(',')
@@ -383,7 +384,7 @@
const content = res.data.contents.filter(v => v.msgType === '0')
if (content.length) {
this.form.content = content[0].content
this.$set(this.form, 'content', content[0].content)
}
this.fileList = res.data.contents.filter(v => v.msgType !== '0').map(v => {
@@ -806,9 +807,9 @@
width: max-content;
line-height: 1.3;
padding: 12px;
text-align: justify;
background: #FFFFFF;
border-radius: 5px;
word-break: break-all;
font-size: 14px;
color: #222222;
}
@@ -935,6 +936,7 @@
display: flex;
align-items: center;
min-height: 32px;
line-height: 1;
background: #F5F5F5;
border-radius: 2px;
border: 1px solid #D0D4DC;
@@ -942,6 +944,7 @@
& > i {
flex: 1;
height: 100%;
line-height: 32px;
padding: 0 12px;
color: #888888;
font-size: 14px;