Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
corporateCulture-qd
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王立鹏
corporateCulture-qd
Commits
5f8e0353
Commit
5f8e0353
authored
Dec 11, 2025
by
lijiabin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【需求 17679】 perf: 优化样式
parent
54b7e494
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
index.vue
src/views/userPage/index.vue
+6
-3
No files found.
src/views/userPage/index.vue
View file @
5f8e0353
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
class=
"bg-white rounded-lg shadow-sm p-6 mb-4 relative overflow-hidden"
class=
"bg-white rounded-lg shadow-sm p-6 mb-4 relative overflow-hidden"
>
>
<div
<div
class=
"absolute -
right-9 top-3 bg-blue-500 text-white text-xs px-10 py-1
rotate-45 cursor-pointer shadow-md hover:from-blue-600 hover:to-blue-700 transition-all"
class=
"absolute -
left-10 top-3 bg-blue-500 text-white text-xs px-10 py-1 -
rotate-45 cursor-pointer shadow-md hover:from-blue-600 hover:to-blue-700 transition-all"
@
click=
"isReal = isReal ? 0 : 1"
@
click=
"isReal = isReal ? 0 : 1"
>
>
切换
{{
isReal
?
'匿名'
:
'实名'
}}
切换
{{
isReal
?
'匿名'
:
'实名'
}}
...
@@ -61,13 +61,16 @@
...
@@ -61,13 +61,16 @@
<div
class=
"flex-1 min-w-0"
>
<div
class=
"flex-1 min-w-0"
>
<el-tooltip
:content=
"currentUserInfo.name"
placement=
"top"
>
<el-tooltip
:content=
"currentUserInfo.name"
placement=
"top"
>
<span
class=
"text-xl font-semibold text-gray-800 mb-1 truncate"
>
<!-- 省略号 一行 -->
<span
class=
"text-xl font-semibold text-gray-800 mb-1 truncate line-clamp-1 break-all"
>
{{
currentUserInfo
.
name
}}
{{
currentUserInfo
.
name
}}
</span>
</span>
</el-tooltip>
</el-tooltip>
<el-tooltip
:content=
"currentUserInfo.signature"
placement=
"right"
>
<el-tooltip
:content=
"currentUserInfo.signature"
placement=
"right"
>
<span
class=
"text-gray-500 text-sm mb-
3 line-clamp-2
"
>
<span
class=
"text-gray-500 text-sm mb-
1 line-clamp-2 break-all
"
>
{{
currentUserInfo
.
signature
}}
{{
currentUserInfo
.
signature
}}
</span>
</span>
</el-tooltip>
</el-tooltip>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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