Commit bb520276 authored by 王's avatar

用户样式

parent fb84239d
...@@ -57,6 +57,8 @@ ...@@ -57,6 +57,8 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
label="用户" label="用户"
width="200"
className="f-c"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<img class="avatar" :src="scope.row.user_avatar"/> {{scope.row.user_nickname}}(ID:{{scope.row.user_id}}) <img class="avatar" :src="scope.row.user_avatar"/> {{scope.row.user_nickname}}(ID:{{scope.row.user_id}})
...@@ -350,6 +352,11 @@ ...@@ -350,6 +352,11 @@
.status.green{ .status.green{
color: #00ac00; color: #00ac00;
} }
.avatar{
width: 50px;
margin-right: 5px;
border-radius: 50%;
}
</style> </style>
<style> <style>
.f-c > .cell { .f-c > .cell {
......
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