Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
dj-scrm-wx-work-attachment-customer
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 182e1d66
authored
Dec 31, 2021
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
7436d516
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
55 additions
and
12 deletions
src/views/tag/make.vue
src/views/tag/make.vue
View file @
182e1d6
<
template
>
<
template
>
<van-popup
v-model=
"tagShow"
position=
"bottom"
:style=
"
{ height: '90%' }">
<van-popup
v-model=
"tagShow"
position=
"bottom"
:style=
"
{ height: '90%' }"
>
<div
class=
"container-pop"
>
<div
class=
"container-pop"
>
<search
placeholder=
"请输入关键字"
:keyword=
"keyWord"
@
search=
"searchkeyWord"
></search>
<search
placeholder=
"请输入关键字"
:keyword=
"keyWord"
@
search=
"searchkeyWord"
></search>
<div
class=
"contentWrap"
>
<div
class=
"contentWrap"
>
<van-list
:finished=
"finished"
finished-text=
""
offset=
"100"
:immediate-check=
"false"
>
<van-list
<div
class=
"close-container"
v-if=
"checkAll.length > 0"
>
:finished=
"finished"
finished-text=
""
offset=
"100"
:immediate-check=
"false"
>
<div
class=
"close-container"
v-if=
"checkAll.length > 0"
>
<div
class=
"nav-icon"
>
<div
class=
"nav-icon"
>
<img
src=
"../../assets/images/icon/nav-icon.png"
/>
<img
src=
"../../assets/images/icon/nav-icon.png"
/>
</div>
</div>
<template
v-for=
"(closeTag, i) in checkAll"
>
<template
v-for=
"(closeTag, i) in checkAll"
>
<div
class=
"close-tag"
@
click=
"close(closeTag, i)"
:key=
"i"
>
<div
class=
"close-tag"
@
click=
"close(closeTag, i)"
:key=
"i"
>
{{
closeTag
.
taggingName
}}
{{
closeTag
.
taggingName
}}
<img
src=
"../../assets/images/icon/close-icon.png"
/>
<img
src=
"../../assets/images/icon/close-icon.png"
/>
</div>
</div>
...
@@ -17,22 +37,41 @@
...
@@ -17,22 +37,41 @@
</div>
</div>
<div
class=
"tag-container"
>
<div
class=
"tag-container"
>
<
template
v-if=
"tagList.length > 0"
>
<
template
v-if=
"tagList.length > 0"
>
<div
class=
"tag-type"
v-for=
"(item, index) in tagList"
:key=
"index"
>
<div
class=
"tag-type"
v-for=
"(item, index) in tagList"
:key=
"index"
>
<div
class=
"tag-title"
>
{{
item
.
groupName
}}
</div>
<div
class=
"tag-title"
>
{{
item
.
groupName
}}
</div>
<div
class=
"tag-list"
>
<div
class=
"tag-list"
>
<template
v-for=
"(tag, ids) in item.taggingList"
>
<template
v-for=
"(tag, ids) in item.taggingList"
>
<div
:key=
"ids"
:class=
"
{ tag: true, active: tag.isChecked }" @click="chooseTag(index, ids)">
{{
tag
.
taggingName
}}
</div>
<div
:key=
"ids"
:class=
"
{ tag: true, active: tag.isChecked }"
@click="chooseTag(index, ids)"
>
{{
tag
.
taggingName
}}
</div>
</
template
>
</
template
>
</div>
</div>
</div>
</div>
</template>
</template>
<empty
v-else
description=
"没有找到你搜索的内容"
/>
<empty
v-else
description=
"没有找到你搜索的内容"
/>
</div>
</div>
</van-list>
</van-list>
</div>
</div>
<div
class=
"pop-footer"
>
<div
class=
"pop-footer"
>
<div
class=
"reset"
@
click=
"reset"
>
重置
</div>
<div
<van-button
class=
"my-pop-button"
round
color=
"#3975C6"
@
click=
"handleTag"
>
打标签
</van-button>
class=
"reset"
@
click=
"reset"
>
重置
</div>
<van-button
class=
"my-pop-button"
round
color=
"#3975C6"
@
click=
"handleTag"
>
打标签
</van-button>
</div>
</div>
</div>
</div>
</van-popup>
</van-popup>
...
@@ -60,6 +99,10 @@ export default {
...
@@ -60,6 +99,10 @@ export default {
externalUserIds
:
{
externalUserIds
:
{
type
:
Array
,
type
:
Array
,
default
:
()
=>
[]
default
:
()
=>
[]
},
chooseItems
:{
type
:
Array
,
default
:()
=>
[]
}
}
},
},
methods
:
{
methods
:
{
...
@@ -232,7 +275,7 @@ export default {
...
@@ -232,7 +275,7 @@ export default {
margin-bottom
:
10px
;
margin-bottom
:
10px
;
}
}
.active
{
.active
{
color
:
#3975
C
6
;
color
:
#3975
c
6
;
background
:
rgba
(
57
,
117
,
198
,
0.15
);
background
:
rgba
(
57
,
117
,
198
,
0.15
);
}
}
}
}
...
@@ -282,7 +325,7 @@ export default {
...
@@ -282,7 +325,7 @@ export default {
padding
:
4px
25px
4px
12px
;
padding
:
4px
25px
4px
12px
;
font-size
:
14px
;
font-size
:
14px
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#3975
C
6
;
color
:
#3975
c
6
;
line-height
:
20px
;
line-height
:
20px
;
background
:
rgba
(
57
,
117
,
198
,
0.15
);
background
:
rgba
(
57
,
117
,
198
,
0.15
);
border-radius
:
14px
;
border-radius
:
14px
;
...
...
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