Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
Project
Project
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
Administrator
dsk-cr20g
Commits
49062fc0
Commit
49062fc0
authored
Sep 06, 2023
by
huangjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*
parent
6b24b82c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
20 deletions
+38
-20
all.png
dsk-operate-ui/src/assets/images/all.png
+0
-0
all_on.png
dsk-operate-ui/src/assets/images/all_on.png
+0
-0
index.vue
dsk-operate-ui/src/layout/components/TagsView/index.vue
+38
-20
No files found.
dsk-operate-ui/src/assets/images/all.png
0 → 100644
View file @
49062fc0
206 Bytes
dsk-operate-ui/src/assets/images/all_on.png
0 → 100644
View file @
49062fc0
325 Bytes
dsk-operate-ui/src/layout/components/TagsView/index.vue
View file @
49062fc0
<
template
>
<div
id=
"tags-view-container"
class=
"tags-view-container"
>
<div
class=
"alltags"
v-if=
"visitedViews.length > 0"
>
<div
class=
""
@
click=
"closeall"
><i
class=
"el-icon-arrow-down"
v-if=
"!showall"
></i>
<i
class=
"el-icon-arrow-up"
v-if=
"showall"
></i></div>
<div
class=
"imgs"
@
click=
"closeall"
>
<img
src=
"@/assets/images/all.png"
v-if=
"!showall"
/>
<img
src=
"@/assets/images/all_on.png"
v-if=
"showall"
/>
<!--
<i
class=
"el-icon-arrow-down"
v-if=
"!showall"
></i>
<i
class=
"el-icon-arrow-up"
v-if=
"showall"
></i>
-->
</div>
<div
class=
"tagslist"
v-if=
"showall"
>
<!--
<div
v-for=
"(tag, index) in visitedViews"
--
>
<!--:key="tag.path"-->
...
...
@@ -340,7 +344,7 @@ export default {
}
}
&
:first-of-type
{
margin-left
:
2
4px
;
margin-left
:
6
4px
;
}
&
:hover
{
.el-icon-close
{
...
...
@@ -384,43 +388,55 @@ export default {
}
}
.alltags
{
position
:
fixed
;
position
:
absolute
;
align-items
:
center
;
border-radius
:
9px
;
height
:
17px
;
justify-content
:
center
;
width
:
36px
;
right
:
10px
;
top
:
37px
;
width
:
24px
;
height
:
24px
;
left
:
24px
;
top
:
28px
;
cursor
:
pointer
;
text-align
:
center
;
&
:hover
{
background
:
#EFEFEF
;
z-index
:
10
;
&
:
:
after
{
content
:
' '
;
position
:
absolute
;
border-right
:
1px
solid
#EFEFEF
;
height
:
18px
;
width
:
0
;
top
:
3px
;
right
:
-8px
;
}
.imgs
>
img
{
width
:
24px
;
height
:
24px
;
}
.tagslist
{
position
:
absolute
;
righ
t
:
0
;
top
:
20
px
;
lef
t
:
0
;
top
:
32
px
;
background-color
:
#fcfcfc
;
color
:
#141414
;
font-size
:
13px
;
line-height
:
1em
;
margin-bottom
:
0
;
max-height
:
450px
;
overflow-y
:
auto
;
/*overflow-y: auto;*/
overflow-y
:
overlay
;
padding
:
20px
0
10px
;
padding
:
8px
0
0
;
width
:
325px
;
text-align
:
left
;
border-radius
:
4px
;
box-shadow
:
0
2px
9px
2px
rgba
(
0
,
0
,
0
,.
09
)
,
0
1px
2px
-2px
rgba
(
0
,
0
,
0
,.
16
);
.tags-view-item
{
display
:
block
;
position
:
relative
;
>
div
{
padding
:
8px
24px
;
padding
:
8px
8px
8px
32px
;
line-height
:
20px
;
}
&
:hover
{
color
:
#0081FF
;
background
:
rgba
(
0
,
0
,
0
,
0
.04
)
;
}
.el-icon-check
{
display
:
none
;
...
...
@@ -429,18 +445,20 @@ export default {
width
:
13px
;
}
&
.active
{
color
:
#0081FF
;
background
:
rgba
(
0
,
129
,
255
,
0
.04
)
;
.el-icon-check
{
display
:
block
;
color
:
#0081FF
;
}
}
}
.clasall
{
border-top
:
1px
solid
#EFEFEF
;
padding
:
10px
24px
0
;
margin-top
:
10px
;
padding
:
10px
32px
;
line-height
:
20px
;
color
:
#FF3C3C
;
&
:hover
{
color
:
#0081FF
;
background
:
#FFECE8
;
}
}
}
...
...
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