Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-custom
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f039c95d
authored
Dec 10, 2021
by
李长胜
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
调整标签高度
1 parent
b364a598
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
6 deletions
src/views/tagsManage/index.vue
src/views/tagsManage/index.vue
View file @
f039c95
...
@@ -98,8 +98,8 @@
...
@@ -98,8 +98,8 @@
</div>
</div>
<div
slot=
"tagsInput-type"
>
<div
slot=
"tagsInput-type"
>
<div
class=
"tagsWrap"
v-if=
"tagDialogTitle == '编辑标签组'"
>
<div
class=
"tagsWrap"
v-if=
"tagDialogTitle == '编辑标签组'"
>
<span
class=
"tag"
:class=
"{ inputWrapShow: item.inputVisible }"
v-for=
"item in editTagList"
:key=
"item.id"
>
<span
class=
"tag"
:class=
"{ inputWrapShow: item.inputVisible }"
v-for=
"item in editTagList"
:key=
"item.id"
>
<el-input
class=
"input-new-tag"
maxlength=
"30"
show-word-limit
v-if=
"item.inputVisible"
v-model
.
trim=
"item.name"
ref=
"saveTagInput"
size=
"small"
@
blur=
"handleInputConfirm(item.name, item.id)"
@
keyup
.
enter
.
native=
"handleInputConfirm(item.name, item.id)"
></el-input>
<el-input
class=
"input-new-tag"
maxlength=
"30"
show-word-limit
v-if=
"item.inputVisible"
v-model
.
trim=
"item.name"
ref=
"saveTagInput"
size=
"small"
@
blur=
"handleInputConfirm(item.name, item.id)"
@
keyup
.
enter
.
native=
"handleInputConfirm(item.name, item.id)"
></el-input>
<el-tooltip
class=
"item"
:content=
"item.name"
placement=
"top"
>
<el-tooltip
class=
"item"
:content=
"item.name"
placement=
"top"
>
<span
class=
"ellipsis-1"
v-if=
"!item.inputVisible"
>
{{ item.name }}
</span>
<span
class=
"ellipsis-1"
v-if=
"!item.inputVisible"
>
{{ item.name }}
</span>
</el-tooltip>
</el-tooltip>
...
@@ -822,6 +822,7 @@ export default {
...
@@ -822,6 +822,7 @@ export default {
display
:
flex
;
display
:
flex
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
align-content
:
flex-start
;
align-content
:
flex-start
;
padding-top
:
3px
;
img
{
img
{
display
:
none
;
display
:
none
;
}
}
...
@@ -833,22 +834,28 @@ export default {
...
@@ -833,22 +834,28 @@ export default {
max-width
:
200px
;
max-width
:
200px
;
margin-right
:
10px
;
margin-right
:
10px
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
height
:
32px
;
height
:
26px
;
line-height
:
26px
;
background
:
#fafbfe
;
background
:
#fafbfe
;
border-radius
:
2
px
;
border-radius
:
4
px
;
border
:
1px
solid
#e8e8ea
;
border
:
1px
solid
#e8e8ea
;
position
:
relative
;
position
:
relative
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
.input-new-tag
{
/deep/
.input-new-tag
{
//
position
:
relative
;
//
position
:
relative
;
width
:
100%
;
width
:
100%
;
}
}
.el-input--small
.el-input__inner
{
height
:
26px
;
line-height
:
26px
;
font-size
:
14px
;
}
.ellipsis-1
{
.ellipsis-1
{
display
:
inline-block
;
display
:
inline-block
;
width
:
100%
;
width
:
100%
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#666666
;
color
:
#666666
;
font-size
:
1
2
px
;
font-size
:
1
4
px
;
}
}
&
:hover
{
&
:hover
{
.editIcon
{
.editIcon
{
...
@@ -868,6 +875,7 @@ export default {
...
@@ -868,6 +875,7 @@ export default {
.inputWrapShow
{
.inputWrapShow
{
//显示输入框时,不显示外面框的左右边距
//显示输入框时,不显示外面框的左右边距
padding
:
0
0
;
padding
:
0
0
;
border
:
0
;
}
}
}
}
...
...
Write
Preview
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