Commit 5a041e1a authored by 水玉婷's avatar 水玉婷
Browse files

feat:用户列表细节优化

parent de2d3fa6
......@@ -37,8 +37,8 @@
<div class="user-list-content">
<div
v-for="user in filteredUsers"
:key="user.id"
:class="['user-item', { active: user.id === activeUserId }]"
:key="user.uxid"
class="user-item"
@click="handleUserClick(user)"
>
<div class="user-info">
......@@ -67,7 +67,7 @@ import { get } from '../utils/axios'
// 用户接口定义
interface User {
id: string
uxid: string
cname: string
}
......@@ -235,11 +235,6 @@ onUnmounted(() => {
background: @blue-light-1;
}
&.active {
background: @blue-light-2;
border-left: 3px solid @primary-color;
}
.user-info {
.name-text {
font-weight: 500;
......
Supports Markdown
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