Commit 740e305c by caoyanzhi

update: 图文升级

parent 31cac892
......@@ -119,6 +119,7 @@ export default {
type: Boolean,
default: false
},
// 是否是发布列表调用
isPublish: {
type: Boolean,
default: false
......@@ -206,6 +207,7 @@ export default {
let params = { ...this.listParams };
if (this.isGroupSend) {
params.isGroupSend = 1;
params.wxscType = 2;
}
if (this.isPublish) {
params.wxscType = 5;
......
......@@ -17,13 +17,23 @@
</template>
</el-table-column>
<el-table-column label="图片" align="left" width="120px" class-name="table-img">
<template slot-scope="scope">
<div slot-scope="scope">
<img width="100" height="50" class="border-radius__default" :src="scope.row.itemList.length ? scope.row.itemList[0].qcloudImageUrl || '' : ''" alt="" />
</template>
</div>
</el-table-column>
<el-table-column label="图文标题" align="left" min-width="100px">
<template slot-scope="scope">
<a class="blue" :href="scope.row.itemList.length ? scope.row.itemList[0].mediaUrl || '' : ''" target="_blank">{{ scope.row.itemList.length ? scope.row.itemList[0].titleName || '' : '' }}</a>
<span>标题:</span><a class="blue" :href="scope.row.itemList.length ? scope.row.itemList[0].mediaUrl || '' : ''" target="_blank">{{ scope.row.itemList.length ? scope.row.itemList[0].titleName || '' : '' }}</a>
<div>
<span>图文m_id:</span>
<el-tooltip v-if="scope.row.draftMediaId" placement="top" :content="scope.row.draftMediaId">
<span class="media-id">{{ scope.row.draftMediaId }}</span>
</el-tooltip>
<span v-else>--</span>
</div>
<!-- <el-tooltip v-if="scope.row.articleId" placement="top" :content="scope.row.articleId">
<span class="media-id">{{ scope.row.articleId }}</span>
</el-tooltip> -->
</template>
</el-table-column>
<el-table-column label="作者" prop="updateTimeStr" align="left" width="120px">
......@@ -73,7 +83,8 @@ export default {
listParams: {
currentPage: 1,
pageSize: 20,
searchName: ''
searchName: '',
wxscType: 2
},
total: 0,
loading: false,
......@@ -147,4 +158,12 @@ export default {
.dm-imgtext-list {
width: 100%;
}
.media-id {
display: inline-block;
vertical-align: top;
max-width: 190px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment