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
1acb5f7b
Commit
1acb5f7b
authored
Nov 22, 2018
by
xiaohai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
样式优化
parent
a32458d0
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
51 additions
and
29 deletions
+51
-29
tagLib.vue
src/components/tagLib.vue
+1
-1
tagShortDetail.vue
src/components/tagShortDetail.vue
+7
-8
tagTemporary.vue
src/components/tagTemporary.vue
+2
-1
manualTagEdit.vue
src/view/manualTag/manualTagEdit.vue
+12
-4
memberGroupDetail.vue
src/view/memberGroup/memberGroupDetail.vue
+2
-2
memberGroupEdit.vue
src/view/memberGroup/memberGroupEdit.vue
+6
-1
memberGroupList.vue
src/view/memberGroup/memberGroupList.vue
+13
-9
public.css
static/css/public.css
+8
-3
No files found.
src/components/tagLib.vue
View file @
1acb5f7b
...
@@ -349,7 +349,7 @@
...
@@ -349,7 +349,7 @@
selectTag
(
id
)
{
selectTag
(
id
)
{
const
that
=
this
;
const
that
=
this
;
if
(
that
.
tagCategory
==
'myTagList'
)
{
return
false
;}
if
(
that
.
tagCategory
==
'myTagList'
)
{
return
false
;}
that
.
libRadio
=
id
;
that
.
libRadio
=
that
.
libRadio
==
id
?
''
:
id
;
},
},
/**
/**
...
...
src/components/tagShortDetail.vue
View file @
1acb5f7b
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
:before-close=
"closeTagShortDialog"
>
:before-close=
"closeTagShortDialog"
>
<div
slot=
"title"
class=
"dialog-title"
>
<div
slot=
"title"
class=
"dialog-title"
>
<div
class=
"checkboxOption-wrap__head__title inline-block top"
>
{{
tagData
.
tagName
}}
<div
class=
"checkboxOption-wrap__head__title inline-block top"
>
{{
tagData
.
tagName
}}
<span
class=
"realtime-span
border-box inline-block middle
"
>
{{
tagData
.
isActive
==
1
?
'实时'
:
'非实时'
}}
</span>
<span
class=
"realtime-span"
>
{{
tagData
.
isActive
==
1
?
'实时'
:
'非实时'
}}
</span>
</div>
</div>
</div>
</div>
<div
class=
"tags-content"
>
<div
class=
"tags-content"
>
...
@@ -2555,15 +2555,14 @@
...
@@ -2555,15 +2555,14 @@
}
}
.realtime-span
{
.realtime-span
{
margin-left
:
6px
;
margin-left
:
4px
;
height
:
24px
;
padding
:
3px
4px
;
line-height
:
24px
;
font-size
:
12px
;
padding
:
0px
10px
;
font-size
:
11px
;
color
:
#fff
;
color
:
#fff
;
border-radius
:
5
px
;
border-radius
:
4
px
;
background
:
#1890ff
;
background
:
#1890ff
;
font-weight
:
normal
;
line-height
:
32px
;
vertical-align
:
top
;
}
}
.label-tip
{
.label-tip
{
...
...
src/components/tagTemporary.vue
View file @
1acb5f7b
...
@@ -303,7 +303,8 @@
...
@@ -303,7 +303,8 @@
const
that
=
this
const
that
=
this
if
(
!!
that
.
selectTag
.
length
)
{
if
(
!!
that
.
selectTag
.
length
)
{
sessionStorage
.
setItem
(
'selectTempTag'
,
JSON
.
stringify
(
that
.
selectTag
))
sessionStorage
.
setItem
(
'selectTempTag'
,
JSON
.
stringify
(
that
.
selectTag
))
that
.
changeRoute
(
'/memberGroupEdit'
)
// that.changeRoute('/memberGroupEdit')
window
.
open
(
`
${
window
.
origin
}
/member-tag/#/memberGroupEdit`
);
}
else
{
}
else
{
that
.
$message
.
error
({
that
.
$message
.
error
({
duration
:
1000
,
duration
:
1000
,
...
...
src/view/manualTag/manualTagEdit.vue
View file @
1acb5f7b
...
@@ -168,12 +168,20 @@
...
@@ -168,12 +168,20 @@
</el-table-column>
</el-table-column>
<el-table-column
label=
" "
width=
"220px"
class-name=
"no-right-border"
>
<el-table-column
label=
" "
width=
"220px"
class-name=
"no-right-border"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-checkbox
v-model=
"scope.row.optType"
>
清空
已有标签
会员
</el-checkbox>
<el-checkbox
v-model=
"scope.row.optType"
>
清空
标签历史标记
会员
</el-checkbox>
<el-tooltip
class=
"item"
effect=
"light"
content=
""
placement=
"top"
>
<
!--
<
el-tooltip
class=
"item"
effect=
"light"
content=
""
placement=
"top"
>
<div
slot=
"content"
>
勾选此选项
则清空之前有此标签会员身上的标签,以本次导入会员为准;
<br/>
否则本次导入和之前已有数据去重添加
。
<div
slot=
"content"
>
勾选此选项
之后,此前被本标签标记的会员将移除此标签,此标签标记会员以本次导入为准
。
</div>
</div>
<i
class=
"el-icon-question"
></i>
<i
class=
"el-icon-question"
></i>
</el-tooltip>
</el-tooltip>
-->
<el-popover
placement=
"top-end"
width=
"200"
trigger=
"hover"
>
<span>
勾选后,此前被该标签标记的会员将移除此标签,此标签标记会员以本次导入为准。
</span>
<!--
<a
slot=
"reference"
class=
"pointer"
:href=
"'#/memberGroupDetail?memberTagGroupId='+scope.row.memberTagGroupId"
>
{{
scope
.
row
.
groupName
}}
</a>
-->
<i
slot=
"reference"
class=
"el-icon-question"
></i>
</el-popover>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
" "
width=
"100px"
>
<el-table-column
label=
" "
width=
"100px"
>
...
...
src/view/memberGroup/memberGroupDetail.vue
View file @
1acb5f7b
...
@@ -588,8 +588,8 @@
...
@@ -588,8 +588,8 @@
font-weight
:
bold
;
font-weight
:
bold
;
}
}
.real-time
{
.real-time
{
padding
:
3px
5
px
;
padding
:
3px
4
px
;
border-radius
:
10
px
;
border-radius
:
4
px
;
color
:
#fff
;
color
:
#fff
;
background
:
#1890ff
;
background
:
#1890ff
;
}
}
...
...
src/view/memberGroup/memberGroupEdit.vue
View file @
1acb5f7b
...
@@ -221,13 +221,18 @@
...
@@ -221,13 +221,18 @@
return
[
return
[
{
{
name
:
'首页'
,
name
:
'首页'
,
path
:
''
path
:
`
${
window
.
origin
}
/report/#/memberSummary`
,
relocation
:
true
},
},
{
{
name
:
'会员标签'
,
name
:
'会员标签'
,
path
:
''
path
:
''
},
},
{
{
name
:
'会员分组'
,
path
:
'/memberGroupList'
},
{
name
:
memberTagGroupId
?
'会员分组编辑'
:
'新增会员分组'
,
name
:
memberTagGroupId
?
'会员分组编辑'
:
'新增会员分组'
,
path
:
''
path
:
''
}
}
...
...
src/view/memberGroup/memberGroupList.vue
View file @
1acb5f7b
...
@@ -46,15 +46,17 @@
...
@@ -46,15 +46,17 @@
style=
"width: 100%"
>
style=
"width: 100%"
>
<el-table-column
<el-table-column
label=
"分组名称"
label=
"分组名称"
width=
"150px"
width=
"150px"
>
show-overflow-tooltip
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<el-popover
<el-popover
placement=
"top-start"
placement=
"top-start"
width=
"200"
width=
"200"
trigger=
"hover"
>
trigger=
"hover"
>
<span>
{{
scope
.
row
.
describle
}}
</span>
<div>
<a
slot=
"reference"
class=
"pointer"
:href=
"'#/memberGroupDetail?memberTagGroupId='+scope.row.memberTagGroupId"
>
{{
scope
.
row
.
groupName
}}
</a>
<p>
名称:
{{
scope
.
row
.
groupName
}}
</p>
<p>
描述:
{{
scope
.
row
.
describle
}}
</p>
</div>
<a
slot=
"reference"
class=
"pointer a-href"
:href=
"'#/memberGroupDetail?memberTagGroupId='+scope.row.memberTagGroupId"
>
{{
scope
.
row
.
groupName
}}
</a>
</el-popover>
</el-popover>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -144,15 +146,16 @@
...
@@ -144,15 +146,16 @@
<el-table-column
<el-table-column
label=
"操作"
>
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
size=
"small"
class=
"p-r-
20
"
v-if=
"scope.row.effectiveStatus == 1"
@
click=
"toInvalid(scope.row)"
>
失效
</el-button>
<el-button
type=
"text"
size=
"small"
class=
"p-r-
12
"
v-if=
"scope.row.effectiveStatus == 1"
@
click=
"toInvalid(scope.row)"
>
失效
</el-button>
<router-link
:to=
"
{path:'/memberGroupDetail',query:{memberTagGroupId:scope.row.memberTagGroupId}}" class="edit-btn el-button--text p-r-
20
">详情
</router-link>
<router-link
:to=
"
{path:'/memberGroupDetail',query:{memberTagGroupId:scope.row.memberTagGroupId}}" class="edit-btn el-button--text p-r-
12
">详情
</router-link>
<router-link
:to=
"
{path:'/memberGroupEdit',query:{memberTagGroupId:scope.row.memberTagGroupId}}" class="edit-btn el-button--text p-r-
20
">编辑
</router-link>
<router-link
:to=
"
{path:'/memberGroupEdit',query:{memberTagGroupId:scope.row.memberTagGroupId}}" class="edit-btn el-button--text p-r-
12
">编辑
</router-link>
<el-button
type=
"text"
size=
"small"
class=
"p-r-12"
@
click=
"toDelTag(scope.row, scope.$index)"
>
删除
</el-button>
<el-button
type=
"text"
size=
"small"
class=
"p-r-12"
@
click=
"toDelTag(scope.row, scope.$index)"
>
删除
</el-button>
<el-popover
<el-popover
placement=
"top-start"
placement=
"top"
width=
"50"
trigger=
"hover"
>
trigger=
"hover"
>
<span>
刷新覆盖人数
</span>
刷新覆盖人数
<el-button
slot=
"reference"
type=
"text"
size=
"small"
@
click=
"refreshGroup(scope.row)"
>
刷新
</el-button>
<el-button
slot=
"reference"
type=
"text"
size=
"small"
@
click=
"refreshGroup(scope.row)"
>
刷新
</el-button>
</el-popover>
</el-popover>
</
template
>
</
template
>
...
@@ -534,4 +537,5 @@
...
@@ -534,4 +537,5 @@
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
</
style
>
</
style
>
static/css/public.css
View file @
1acb5f7b
...
@@ -133,7 +133,12 @@ a {
...
@@ -133,7 +133,12 @@ a {
text-decoration
:
none
;
text-decoration
:
none
;
-webkit-backface-visibility
:
hidden
;
-webkit-backface-visibility
:
hidden
;
}
}
a
.a-href
{
color
:
#606266
;
}
a
.a-href
:hover
{
color
:
#1890ff
;
}
li
{
li
{
list-style
:
none
;
list-style
:
none
;
}
}
...
@@ -1245,10 +1250,10 @@ input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
...
@@ -1245,10 +1250,10 @@ input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
}
}
.checkboxOption-wrap__head
.realtime-span
{
.checkboxOption-wrap__head
.realtime-span
{
padding
:
2px
5
px
;
padding
:
3px
4
px
;
font-size
:
11px
;
font-size
:
11px
;
color
:
#fff
;
color
:
#fff
;
border-radius
:
13
px
;
border-radius
:
4
px
;
background
:
#1890ff
;
background
:
#1890ff
;
}
}
...
...
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