Commit 79fb25c9 authored by 徐一鸣's avatar 徐一鸣

消息管理列表优化

parent 8770d175
...@@ -588,6 +588,11 @@ width: 620px!important; ...@@ -588,6 +588,11 @@ width: 620px!important;
.apass_table .el-table__row:nth-child(odd) td { .apass_table .el-table__row:nth-child(odd) td {
background-color: #f8f9fd; background-color: #f8f9fd;
} }
.apass_table .table_html a {
font-size: 14px;
color: #0f2683;
cursor: pointer;
}
.apass_table .row_action { .apass_table .row_action {
user-select: none; user-select: none;
} }
......
...@@ -188,6 +188,13 @@ ...@@ -188,6 +188,13 @@
> >
<span></span> <span></span>
</span> </span>
<span
v-else-if="item.type === 'html'"
class="table_html"
v-html="
item.getHtml ? item.getHtml(scope.row) : scope.row[item.prop]
"
></span>
<span <span
v-else v-else
v-text=" v-text="
......
...@@ -200,6 +200,7 @@ export default { ...@@ -200,6 +200,7 @@ export default {
}, },
{ {
label: "消息详情", label: "消息详情",
type: "html",
prop: "contents", prop: "contents",
}, },
{ {
......
...@@ -199,6 +199,7 @@ export default { ...@@ -199,6 +199,7 @@ export default {
}, },
{ {
label: "消息详情", label: "消息详情",
type: "html",
prop: "contents", prop: "contents",
}, },
{ {
......
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