Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
bbbbbbbbbbbbba committed Nov 29, 2022
1 parent c179b6f commit 89cc6b0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
1 change: 1 addition & 0 deletions admin/src/views/pages/topic/nodes.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
:src="scope.row.logo"
class="node-logo"
fit="cover"
style="width: 50px; height: 50px"
:preview-src-list="[scope.row.logo]"
/>
</template>
Expand Down
17 changes: 11 additions & 6 deletions admin/src/views/pages/user/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,20 @@
</template>
</el-table-column>
<el-table-column prop="id" label="编号" width="100" />
<el-table-column prop="avatar" label="头像" width="80">
<el-table-column prop="avatar" label="头像" width="70">
<template slot-scope="scope">
<avatar :user="scope.row" />
<avatar :user="scope.row" size="40" />
</template>
</el-table-column>
<el-table-column prop="nickname" label="昵称" />
<el-table-column prop="email" label="邮箱" />
<el-table-column prop="score" label="积分" />
<el-table-column prop="forbidden" label="是否禁言">
<el-table-column prop="emailVerified" label="邮箱是否验证" width="120">
<template #default="{ row }">
{{ row.emailVerified ? "已验证" : "" }}
</template>
</el-table-column>
<el-table-column prop="score" label="积分" width="100" />
<el-table-column prop="forbidden" label="是否禁言" width="200">
<template slot-scope="scope">
<span v-if="scope.row.forbidden" class="tag is-warning">
<template v-if="scope.row.forbiddenEndTime === -1">永久禁言</template>
Expand All @@ -84,12 +89,12 @@
<span v-else class="tag is-success">正常</span>
</template>
</el-table-column>
<el-table-column prop="createTime" label="注册时间">
<el-table-column prop="createTime" label="注册时间" width="180">
<template slot-scope="scope">
{{ scope.row.createTime | formatDate }}
</template>
</el-table-column>
<el-table-column label="操作" width="200">
<el-table-column label="操作" width="160">
<template slot-scope="scope">
<el-dropdown size="mini" trigger="hover" placement="bottom" @command="handleCommand">
<el-button type="primary">
Expand Down

0 comments on commit 89cc6b0

Please sign in to comment.