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
b7f28540
Commit
b7f28540
authored
May 16, 2019
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
显示“搜索结果”的文案
parent
d01d9399
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
member-tag.vue
src/view/platformTag/member-tag.vue
+7
-7
No files found.
src/view/platformTag/member-tag.vue
View file @
b7f28540
...
...
@@ -19,13 +19,10 @@
<div
class=
"tag-all"
>
<p
class=
"tag-name"
>
{{
tagName
}}
<
!--
<span
v-if=
"tagName == '全部标签'"
>
{{
tagName
}}
<!--
{{
tagName
}}
-->
<
span
>
{{
showSearchResult
?
`【${tagName
}
】搜索结果`
:
tagName
}}
<
/span
>
<span
v-else
>
【
{{
tagName
}}
】搜索结果
</span>
-->
<
el
-
button
type
=
"primary"
class
=
"add-newtag"
@
click
=
"addNewTag"
v
-
show
=
"handTag == 1"
>
新增标签
<
/el-button
>
<
/p
>
...
...
@@ -188,6 +185,7 @@ export default {
memberTagList
:
[],
// 会员标签列表
tagName
:
'全部标签'
,
memberTag
:
''
,
// 搜索会员标签关键字
showSearchResult
:
false
,
// tagName后面加“搜索结果”
tagCategory
:
''
,
// 当前标签类别
pageSize
:
20
,
pageNum
:
1
,
...
...
@@ -406,6 +404,7 @@ export default {
pageSize
:
opt
.
pageSize
||
20
}
;
const
Data
=
await
getMemberTagList
(
params
);
this
.
showSearchResult
=
!!
opt
.
showSearchResult
;
if
(
Data
.
result
.
result
&&
Data
.
result
.
result
.
length
)
{
this
.
memberTagList
=
Data
.
result
.
result
.
map
(
el
=>
({
...
el
,
...
...
@@ -460,7 +459,8 @@ export default {
this
.
handTag
=
false
;
this
.
loadMemberTagList
({
searchName
:
this
.
memberTag
searchName
:
this
.
memberTag
,
showSearchResult
:
true
}
);
// this.tagName = '全部标签';
// this.handTag = null;
...
...
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