Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
memberTag-web
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
memberTag
memberTag-web
Commits
3f975152
Commit
3f975152
authored
Apr 15, 2019
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改样式
parent
727113a5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
3 deletions
+30
-3
selected-tags-list.vue
src/components/selected-tags-list.vue
+30
-3
No files found.
src/components/selected-tags-list.vue
View file @
3f975152
...
...
@@ -2,7 +2,10 @@
<div
class=
"flex m-t-20 tags"
>
<div
v-for=
"(tags, index) in tagsList"
:key=
"tags"
:style=
"`width: $
{100 / tagsList.length}%`" class="tag-group">
<ul
class=
"tag-list"
>
<li
v-for=
"tag in tags"
:key=
"tag.tagId"
>
{{
tag
.
tagName
}}
</li>
<li
class=
"tag-item"
v-for=
"tag in tags"
:key=
"tag.tagId"
>
<span>
{{
tag
.
tagName
}}
</span>
<span
class=
"tags-item__name"
>
【选择:
{{
tag
.
newTagVal
}}
】
</span>
</li>
</ul>
<div
v-if=
"(index === 0 && tagsList.length > 1) || (index === 1 && tagsList.length > 2)"
class=
"tag-relation"
>
<span
class=
"tag-relation__wrap"
>
...
...
@@ -39,13 +42,37 @@ export default {
align-items
:
stretch
;
.tag-list
{
display
:
flex
;
flex-direction
:
column
;
flex-wrap
:
wrap
;
justify-content
:
center
;
justify-content
:
flex-start
;
align-items
:
center
;
padding
:
0
35px
;
width
:
100%
;
font-size
:
16px
;
min-height
:
120px
;
.tag-item
{
padding
:
5px
10px
;
background
:
#f3f6f9
;
border-radius
:
2px
;
font-size
:
14px
;
color
:
#606266
;
span
{
display
:
inline-block
;
vertical-align
:
middle
;
}
i
{
color
:
#999
;
padding-left
:
10px
;
}
.tags-item__name
{
max-width
:
200px
;
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
}
}
}
.tag-relation
{
position
:
relative
;
...
...
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