Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NLT-e-cigarette
Project
Project
Details
Activity
Releases
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
张伯涛
NLT-e-cigarette
Commits
e85d007e
Commit
e85d007e
authored
May 19, 2022
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tag签英文
parent
1d901ba8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
8 deletions
+26
-8
index.vue
src/components/Breadcrumb/index.vue
+4
-1
index.vue
src/layout/components/TagsView/index.vue
+19
-4
index.js
src/router/index.js
+1
-1
index.vue
src/views/system/menu/index.vue
+2
-2
No files found.
src/components/Breadcrumb/index.vue
View file @
e85d007e
...
...
@@ -2,7 +2,10 @@
<el-breadcrumb
class=
"app-breadcrumb"
separator=
">"
>
<transition-group
name=
"breadcrumb"
>
<el-breadcrumb-item
v-for=
"(item,index) in levelList"
:key=
"item.path"
>
<span
v-if=
"item.redirect==='noRedirect'||index==levelList.length-1 || index === 0"
class=
"no-redirect"
>
{{
item
.
meta
.
title
}}
</span>
<span
v-if=
"item.redirect==='noRedirect'||index==levelList.length-1 || index === 0"
class=
"no-redirect"
>
<!--
{{
item
.
meta
.
title
}}
-->
{{
item
.
meta
.
title
.
split
(
';'
)[
0
]
}}{{
item
.
meta
.
title
.
split
(
';'
)[
1
]
}}
</span>
<a
v-else
@
click
.
prevent=
"handleLink(item)"
>
{{
item
.
meta
.
title
}}
</a>
</el-breadcrumb-item>
</transition-group>
...
...
src/layout/components/TagsView/index.vue
View file @
e85d007e
...
...
@@ -13,8 +13,17 @@
@click.middle.native="!isAffix(tag)?closeSelectedTag(tag):''"
@contextmenu.prevent.native="openMenu(tag,$event)"
>
{{
tag
.
title
}}
<span
v-if=
"!isAffix(tag)"
class=
"el-icon-close"
@
click
.
prevent
.
stop=
"closeSelectedTag(tag)"
/>
<el-row>
<el-col
:span=
"22"
>
<div>
<div
class=
"tagTitle"
>
{{
tag
.
title
.
split
(
';'
)[
0
]
}}
</div>
<div
class=
"tagTitle"
>
{{
tag
.
title
.
split
(
';'
)[
1
]
}}
</div>
</div>
</el-col>
<el-col
:span=
"2"
>
<span
v-if=
"!isAffix(tag)"
class=
"el-icon-close"
@
click
.
prevent
.
stop=
"closeSelectedTag(tag)"
/>
</el-col>
</el-row>
</router-link>
</scroll-pane>
<ul
v-show=
"visible"
:style=
"
{left:left+'px',top:top+'px'}" class="contextmenu">
...
...
@@ -214,7 +223,7 @@ export default {
<
style
lang=
"scss"
scoped
>
.tags-view-container
{
height
:
31
px
;
height
:
40
px
;
width
:
100%
;
background
:
#F4F4F4
;
//border-bottom: 1px solid #d8dce5;
...
...
@@ -225,7 +234,7 @@ export default {
display
:
inline-block
;
position
:
relative
;
cursor
:
pointer
;
height
:
2
7px
;
height
:
3
7px
;
line-height
:
26px
;
//border: 1px solid #d8dce5;
color
:
#495060
;
...
...
@@ -284,6 +293,12 @@ export default {
<
style
lang=
"scss"
>
//reset element css of el-icon-close
.tags-view-wrapper
{
.el-scrollbar__wrap
{
height
:
60px
!
important
;
}
.tagTitle
{
line-height
:
18px
;
}
.tags-view-item
{
.el-icon-close
{
width
:
16px
;
...
...
src/router/index.js
View file @
e85d007e
...
...
@@ -102,7 +102,7 @@ export const constantRoutes = [
path
:
'type/data/:dictId(
\\
d+)'
,
component
:
(
resolve
)
=>
require
([
'@/views/system/dict/data'
],
resolve
),
name
:
'Data'
,
meta
:
{
title
:
'字典数据'
,
icon
:
''
}
meta
:
{
title
:
'字典数据
;Dictionary Data
'
,
icon
:
''
}
}
]
}
...
...
src/views/system/menu/index.vue
View file @
e85d007e
...
...
@@ -207,9 +207,9 @@
</el-popover>
</el-form-item>
</el-col>
<el-col
:span=
"
12
"
>
<el-col
:span=
"
24
"
>
<el-form-item
label=
"菜单名称"
prop=
"menuName"
>
<el-input
v-model
.
trim=
"form.menuName"
show-word-limit
maxlength=
"2
0"
placeholder=
"请输入菜单名称"
/>
<el-input
v-model
=
"form.menuName"
style=
"width: 95%"
show-word-limit
maxlength=
"6
0"
placeholder=
"请输入菜单名称"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
...
...
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