Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
水玉婷
ai-wechat
Commits
5a041e1a
Commit
5a041e1a
authored
Feb 02, 2026
by
水玉婷
Browse files
feat:用户列表细节优化
parent
de2d3fa6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/views/User.vue
View file @
5a041e1a
...
@@ -37,8 +37,8 @@
...
@@ -37,8 +37,8 @@
<div
class=
"user-list-content"
>
<div
class=
"user-list-content"
>
<div
<div
v-for=
"user in filteredUsers"
v-for=
"user in filteredUsers"
:key=
"user.id"
:key=
"user.
ux
id"
:
class=
"
['
user-item
', { active: user.id === activeUserId }]
"
class=
"user-item"
@
click=
"handleUserClick(user)"
@
click=
"handleUserClick(user)"
>
>
<div
class=
"user-info"
>
<div
class=
"user-info"
>
...
@@ -67,7 +67,7 @@ import { get } from '../utils/axios'
...
@@ -67,7 +67,7 @@ import { get } from '../utils/axios'
// 用户接口定义
// 用户接口定义
interface
User
{
interface
User
{
id
:
string
ux
id
:
string
cname
:
string
cname
:
string
}
}
...
@@ -235,11 +235,6 @@ onUnmounted(() => {
...
@@ -235,11 +235,6 @@ onUnmounted(() => {
background: @blue-light-1;
background: @blue-light-1;
}
}
&.active {
background: @blue-light-2;
border-left: 3px solid @primary-color;
}
.user-info {
.user-info {
.name-text {
.name-text {
font-weight: 500;
font-weight: 500;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment