Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
812c50ea
authored
2025-02-06 14:56:41 +0800
by
xukangle
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix
1 parent
a369b8d4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
7 deletions
src/layouts/components/Tools/index.vue
src/layouts/components/Tools/index.vue
View file @
812c50e
...
...
@@ -52,20 +52,21 @@ onMounted(() => {
</div>
-->
<el-dropdown
class=
"user-container"
size=
"default"
@
command=
"userCommand"
>
<div
class=
"user-wrapper"
>
<div
class=
"v-uerinfo"
>
<div
class=
"v-top"
>
{{
userStore
.
userName
}}
</div>
<div
class=
"v-top"
>
{{
JSON
.
parse
(
loaclStorageInfo
).
abbreviation
}}
</div>
</div>
<el-avatar
size=
"small"
>
<el-icon>
<svg-icon
name=
"ep:user-filled"
/>
</el-icon>
</el-avatar>
<div
class=
"v-uerinfo"
>
<div
class=
"v-top"
>
{{
userStore
.
userName
}}
</div>
<div
class=
"v-top"
>
{{
JSON
.
parse
(
loaclStorageInfo
).
abbreviation
}}
</div>
</div>
<div>
<!--
<div>
<el-icon>
<svg-icon
name=
"ep:caret-bottom"
/>
</el-icon>
</div>
</div>
-->
</div>
<template
#
dropdown
>
<el-dropdown-menu
class=
"user-dropdown"
>
...
...
@@ -87,8 +88,20 @@ onMounted(() => {
.tools
{
display
:
flex
;
align-items
:
center
;
padding
:
0
20px
;
padding
:
0
10px
!important
;
white-space
:
nowrap
;
position
:
relative
;
margin-left
:
16px
;
&::before
{
content
:
''
;
height
:
35px
;
border-left
:
1px
solid
#fff
;
position
:
absolute
;
top
:
50%
;
left
:
-1px
;
transform
:
translateY
(
-50%
);
}
.buttons
{
margin-right
:
20px
;
...
...
@@ -160,10 +173,14 @@ onMounted(() => {
display
:
flex
;
flex-direction
:
column
;
font-size
:
12px
;
margin-right
:
6px
;
.v-top
{
height
:
18px
;
line-height
:
18px
;
text-align
:
right
;
max-width
:
120px
;
}
}
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment