Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-pay
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 370c8abb
authored
Dec 10, 2021
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改样式
1 parent
a0ca653f
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
152 additions
and
60 deletions
src/assets/css/public.scss
src/views/customerTransform/addCustomer.vue
src/views/customerTransform/addCustomerGroup.vue
src/views/customerTransform/components/selectMembers.vue
src/views/customerTransform/components/tag-textarea.vue
src/views/customerTransform/components/welcomeWords.vue
src/views/customerTransform/detaiCustomeGroup.vue
src/views/customerTransform/detailCustomer.vue
src/assets/css/public.scss
View file @
370c8ab
...
@@ -272,3 +272,15 @@ html {
...
@@ -272,3 +272,15 @@ html {
.marketing
.table-img
.el-table--medium
td
.el-table__cell
{
.marketing
.table-img
.el-table--medium
td
.el-table__cell
{
padding
:
2px
0
!
important
;
padding
:
2px
0
!
important
;
}
}
::-webkit-scrollbar
{
/*滚动条整体样式*/
width
:
6px
;
height
:
4px
;
}
::-webkit-scrollbar-thumb
{
/*滚动条里面小方块*/
border-radius
:
4px
;
background-color
:
rgba
(
144
,
147
,
153
,
0
.3
);
}
\ No newline at end of file
\ No newline at end of file
src/views/customerTransform/addCustomer.vue
View file @
370c8ab
...
@@ -22,7 +22,21 @@
...
@@ -22,7 +22,21 @@
class=
"sale-select"
class=
"sale-select"
v-show=
"basicForm.userList && basicForm.userList.length != 0"
v-show=
"basicForm.userList && basicForm.userList.length != 0"
>
>
<div
:key=
"key"
class=
"el-input-tag input-tag-wrapper"
>
<div
class=
"el-input-tag input-tag-wrapper"
>
<el-tag
effect=
"plain"
type=
"info"
v-for=
"(tag, idx) in basicForm.userList"
:key=
"idx"
closable
:disable-transitions=
"false"
@
close=
"remove(tag)"
>
<i
class=
"el-icon-user-solid"
></i>
{{
tag
.
staffName
}}
</el-tag>
</div>
<!--
<div
:key=
"key"
class=
"el-input-tag input-tag-wrapper"
>
<el-tag
<el-tag
v-for=
"(tag, idx) in basicForm.userList"
v-for=
"(tag, idx) in basicForm.userList"
:key=
"idx"
:key=
"idx"
...
@@ -32,7 +46,7 @@
...
@@ -32,7 +46,7 @@
@
close=
"remove(tag)"
@
close=
"remove(tag)"
>
{{
tag
.
staffName
}}
</el-tag>
>
{{
tag
.
staffName
}}
</el-tag>
<el-input
size=
"small"
style=
"outline: none; border: none"
></el-input>
<el-input
size=
"small"
style=
"outline: none; border: none"
></el-input>
</div>
</div>
-->
</div>
</div>
</el-form-item>
</el-form-item>
<el-form-item
label=
"选择客户"
prop=
"selectType"
>
<el-form-item
label=
"选择客户"
prop=
"selectType"
>
...
@@ -595,7 +609,8 @@ export default {
...
@@ -595,7 +609,8 @@ export default {
align-items
:
center
;
align-items
:
center
;
}
}
.input-tag-wrapper
{
.input-tag-wrapper
{
max-width
:
300px
;
max-height
:
68px
;
overflow
:
auto
;
position
:
relative
;
position
:
relative
;
font-size
:
14px
;
font-size
:
14px
;
background-color
:
#fff
;
background-color
:
#fff
;
...
@@ -603,32 +618,28 @@ export default {
...
@@ -603,32 +618,28 @@ export default {
border-radius
:
4px
;
border-radius
:
4px
;
border
:
1px
solid
#dcdfe6
;
border
:
1px
solid
#dcdfe6
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
color
:
#6
062
66
;
color
:
#666
;
display
:
inline-block
;
display
:
inline-block
;
outline
:
none
;
outline
:
none
;
padding
:
0
10px
0
5px
;
padding
:
5px
5px
0px
5px
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
line-height
:
32px
;
transition
:
border-color
0.2s
cubic-bezier
(
0.645
,
0.045
,
0.355
,
1
);
transition
:
border-color
0.2s
cubic-bezier
(
0.645
,
0.045
,
0.355
,
1
);
width
:
100%
;
width
:
450px
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
/deep/
input
{
margin-top
:
6px
;
/* input { */
font-size
:
14px
;
/* background-color: red!important; 调试用的样式 */
i
{
outline
:
none
!important
;
color
:
#75acff
;
border
:
none
!important
;
margin-right
:
3px
;
}
font-size
:
14px
;
/
deep
/
.el-input
{
min-width
:
150px
;
width
:
auto
;
flex
:
1
;
}
}
}
}
.el-tag
{
.el-tag
{
margin-right
:
4px
;
margin-right
:
4px
;
height
:
26px
;
height
:
26px
;
line-height
:
24px
;
line-height
:
24px
;
margin-bottom
:
5px
;
}
}
.tag-input
{
.tag-input
{
background
:
transparent
;
background
:
transparent
;
...
...
src/views/customerTransform/addCustomerGroup.vue
View file @
370c8ab
...
@@ -20,13 +20,25 @@
...
@@ -20,13 +20,25 @@
<div
class=
"sale-select"
v-show=
"basicForm.userList"
>
<div
class=
"sale-select"
v-show=
"basicForm.userList"
>
<div
:key=
"key"
class=
"el-input-tag input-tag-wrapper"
>
<div
:key=
"key"
class=
"el-input-tag input-tag-wrapper"
>
<el-tag
<el-tag
effect=
"plain"
type=
"info"
v-for=
"(tag, idx) in basicForm.userList"
:key=
"idx"
closable
:disable-transitions=
"false"
@
close=
"remove(tag)"
>
<i
class=
"el-icon-user-solid"
></i>
{{
tag
.
staffName
}}
</el-tag>
<!--
<el-tag
v-for=
"(tag, idx) in basicForm.userList"
v-for=
"(tag, idx) in basicForm.userList"
:key=
"idx"
:key=
"idx"
closable
closable
:disable-transitions=
"false"
:disable-transitions=
"false"
@
close=
"remove(tag)"
@
close=
"remove(tag)"
>
{{
tag
.
staffName
}}
</el-tag>
>
{{
tag
.
staffName
}}
</el-tag>
<el-input
size=
"small"
style=
"outline: none; border: none"
></el-input>
<el-input
size=
"small"
style=
"outline: none; border: none"
></el-input>
-->
</div>
</div>
</div>
</div>
<div
class=
"form-tips"
>
群主收到通知后,可选择他管理的客户群并群发该内容。
</div>
<div
class=
"form-tips"
>
群主收到通知后,可选择他管理的客户群并群发该内容。
</div>
...
@@ -370,6 +382,8 @@ export default {
...
@@ -370,6 +382,8 @@ export default {
}
}
.input-tag-wrapper
{
.input-tag-wrapper
{
max-width
:
300px
;
max-width
:
300px
;
max-height
:
68px
;
overflow
:
auto
;
position
:
relative
;
position
:
relative
;
font-size
:
14px
;
font-size
:
14px
;
background-color
:
#fff
;
background-color
:
#fff
;
...
@@ -377,32 +391,28 @@ export default {
...
@@ -377,32 +391,28 @@ export default {
border-radius
:
4px
;
border-radius
:
4px
;
border
:
1px
solid
#dcdfe6
;
border
:
1px
solid
#dcdfe6
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
color
:
#6
062
66
;
color
:
#666
;
display
:
inline-block
;
display
:
inline-block
;
outline
:
none
;
outline
:
none
;
padding
:
0
10px
0
5px
;
padding
:
5px
5px
0px
5px
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
line-height
:
32px
;
transition
:
border-color
0.2s
cubic-bezier
(
0.645
,
0.045
,
0.355
,
1
);
transition
:
border-color
0.2s
cubic-bezier
(
0.645
,
0.045
,
0.355
,
1
);
width
:
100%
;
width
:
450px
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
/deep/
input
{
margin-top
:
6px
;
/* input { */
font-size
:
14px
;
/* background-color: red!important; 调试用的样式 */
i
{
outline
:
none
!important
;
color
:
#75acff
;
border
:
none
!important
;
margin-right
:
3px
;
}
font-size
:
14px
;
/
deep
/
.el-input
{
min-width
:
150px
;
width
:
auto
;
flex
:
1
;
}
}
}
}
.el-tag
{
.el-tag
{
margin-right
:
4px
;
margin-right
:
4px
;
height
:
26px
;
height
:
26px
;
line-height
:
24px
;
line-height
:
24px
;
margin-bottom
:
5px
;
}
}
.tag-input
{
.tag-input
{
background
:
transparent
;
background
:
transparent
;
...
...
src/views/customerTransform/components/selectMembers.vue
View file @
370c8ab
...
@@ -6,12 +6,24 @@
...
@@ -6,12 +6,24 @@
<div
class=
"el-input-tag input-tag-wrapper"
@
click=
"foucusTagInput"
>
<div
class=
"el-input-tag input-tag-wrapper"
@
click=
"foucusTagInput"
>
<div
class=
"tag-box"
>
<div
class=
"tag-box"
>
<el-tag
<el-tag
effect=
"plain"
type=
"info"
v-for=
"(tag, idx) in innerTags"
v-for=
"(tag, idx) in innerTags"
:key=
"idx"
:key=
"idx"
closable
closable
:disable-transitions=
"false"
:disable-transitions=
"false"
@
close=
"remove(tag)"
@
close=
"remove(tag)"
>
{{
tag
.
staffName
}}
</el-tag>
>
<i
class=
"el-icon-user-solid"
></i>
{{
tag
.
staffName
}}
</el-tag>
<!--
<el-tag
v-for=
"(tag, idx) in innerTags"
:key=
"idx"
closable
:disable-transitions=
"false"
@
close=
"remove(tag)"
>
{{
tag
.
staffName
}}
</el-tag>
-->
</div>
</div>
<el-input
<el-input
...
@@ -162,10 +174,15 @@ export default {
...
@@ -162,10 +174,15 @@ export default {
}
}
}
}
.tag-box
{
.tag-box
{
max-height
:
6
6
px
;
max-height
:
6
0
px
;
overflow
:
auto
;
overflow
:
auto
;
display
:
flex
;
flex-direction
:
row
;
flex-wrap
:
wrap
;
}
}
.input-tag-wrapper
{
.input-tag-wrapper
{
//
max-height
:
68px
;
//
overflow
:
auto
;
position
:
relative
;
position
:
relative
;
font-size
:
14px
;
font-size
:
14px
;
background-color
:
#fff
;
background-color
:
#fff
;
...
@@ -173,16 +190,17 @@ export default {
...
@@ -173,16 +190,17 @@ export default {
border-radius
:
4px
;
border-radius
:
4px
;
border
:
1px
solid
#dcdfe6
;
border
:
1px
solid
#dcdfe6
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
color
:
#6
062
66
;
color
:
#666
;
display
:
inline-block
;
display
:
inline-block
;
outline
:
none
;
outline
:
none
;
padding
:
0
0
0
5px
;
padding
:
5px
5px
0px
5px
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
line-height
:
32px
;
transition
:
border-color
0.2s
cubic-bezier
(
0.645
,
0.045
,
0.355
,
1
);
transition
:
border-color
0.2s
cubic-bezier
(
0.645
,
0.045
,
0.355
,
1
);
width
:
100%
;
width
:
450px
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
margin-top
:
6px
;
font-size
:
14px
;
/deep/
input
{
/deep/
input
{
/* input { */
/* input { */
/* background-color: red!important; 调试用的样式 */
/* background-color: red!important; 调试用的样式 */
...
@@ -194,11 +212,17 @@ export default {
...
@@ -194,11 +212,17 @@ export default {
width
:
auto
;
width
:
auto
;
flex
:
1
;
flex
:
1
;
}
}
i
{
color
:
#75acff
;
margin-right
:
3px
;
font-size
:
14px
;
}
}
}
.el-tag
{
.el-tag
{
margin-right
:
4px
;
margin-right
:
4px
;
height
:
26px
;
height
:
26px
;
line-height
:
24px
;
line-height
:
24px
;
margin-bottom
:
5px
;
}
}
.tag-input
{
.tag-input
{
background
:
transparent
;
background
:
transparent
;
...
@@ -221,15 +245,4 @@ export default {
...
@@ -221,15 +245,4 @@ export default {
height
:
32px
;
height
:
32px
;
line-height
:
32px
;
line-height
:
32px
;
}
}
::-webkit-scrollbar
{
/*滚动条整体样式*/
width
:
6px
;
height
:
4px
;
}
::-webkit-scrollbar-thumb
{
/*滚动条里面小方块*/
border-radius
:
4px
;
background-color
:
rgba
(
144
,
147
,
153
,
0.3
);
}
</
style
>
</
style
>
src/views/customerTransform/components/tag-textarea.vue
View file @
370c8ab
...
@@ -142,7 +142,12 @@ export default {
...
@@ -142,7 +142,12 @@ export default {
this
.
savedRange
.
insertNode
(
node
)
this
.
savedRange
.
insertNode
(
node
)
// 更新双向绑定数据
// 更新双向绑定数据
let
target
=
this
.
$refs
.
wTextareaContent
let
target
=
this
.
$refs
.
wTextareaContent
// this.updateData(target.innerHTML)
if
(
navigator
.
userAgent
.
indexOf
(
'Firefox'
)
>
0
||
navigator
.
userAgent
.
indexOf
(
'QQBrowser'
)
>
0
)
{
this
.
updateData
(
target
.
innerHTML
+
' '
)
}
else
{
this
.
updateData
(
target
.
innerHTML
)
this
.
updateData
(
target
.
innerHTML
)
}
this
.
currentText
=
target
.
innerText
this
.
currentText
=
target
.
innerText
this
.
$emit
(
'updateText'
,
this
.
currentText
)
this
.
$emit
(
'updateText'
,
this
.
currentText
)
},
},
...
...
src/views/customerTransform/components/welcomeWords.vue
View file @
370c8ab
...
@@ -82,7 +82,7 @@
...
@@ -82,7 +82,7 @@
<div
class=
"tips-text"
>
<div
class=
"tips-text"
>
<img
src=
"../../../assets/guestCustom/tips.png"
class=
"tips-icon"
alt
/>
<img
src=
"../../../assets/guestCustom/tips.png"
class=
"tips-icon"
alt
/>
<span
v-if=
"form == 'customer'"
>
每位客户每天可接收1条群发消息,超过接收上限的客户将无法再收到群发消息。
</span>
<span
v-if=
"form == 'customer'"
>
每位客户每天可接收1条群发消息,超过接收上限的客户将无法再收到群发消息。
</span>
<span
v-if=
"form == 'customerGroup'"
>
每
位
客户群每天可接收1条群发消息,超过接收上限的客户群将无法再收到群发消息。
</span>
<span
v-if=
"form == 'customerGroup'"
>
每
个
客户群每天可接收1条群发消息,超过接收上限的客户群将无法再收到群发消息。
</span>
</div>
</div>
</div>
</div>
<ActivityModel
ref=
"activity"
@
selectActivity=
"selectActivity"
></ActivityModel>
<ActivityModel
ref=
"activity"
@
selectActivity=
"selectActivity"
></ActivityModel>
...
...
src/views/customerTransform/detaiCustomeGroup.vue
View file @
370c8ab
...
@@ -59,7 +59,6 @@ export default {
...
@@ -59,7 +59,6 @@ export default {
{
{
label
:
'群主'
,
label
:
'群主'
,
name
:
'staffId'
,
name
:
'staffId'
,
labelWidth
:
28
,
type
:
'select'
,
type
:
'select'
,
isClear
:
true
,
isClear
:
true
,
optionLabel
:
'staffName'
,
optionLabel
:
'staffName'
,
...
@@ -67,7 +66,7 @@ export default {
...
@@ -67,7 +66,7 @@ export default {
optionList
:
[]
optionList
:
[]
},
},
{
{
label
:
'送达状态'
,
label
:
'
消息
送达状态'
,
name
:
'status'
,
name
:
'status'
,
type
:
'select'
,
type
:
'select'
,
isClear
:
true
,
isClear
:
true
,
...
...
src/views/customerTransform/detailCustomer.vue
View file @
370c8ab
...
@@ -28,9 +28,21 @@
...
@@ -28,9 +28,21 @@
<div
class=
"info-text"
>
<div
class=
"info-text"
>
<div
class=
"info-name"
>
<div
class=
"info-name"
>
{{
item
.
staffName
}}
{{
item
.
staffName
}}
<span
<span
:class=
"[item.status == 0 ? 'unsend' : 'send']"
>
:class=
"[item.status == 0 ? 'unsend' : 'send']"
{{
item
.
status
==
0
?
'未发送'
:
item
.
status
==
1
?
'已发送'
:
'发送失败'
}}
>
{{
item
.
status
==
0
?
'未发送'
:
item
.
status
==
1
?
'已发送'
:
'发送失败'
}}
</span>
<el-popover
v-show=
"item.status != 0 && item.status != 1"
placement=
"top-start"
title=
"失败原因:"
width=
"400"
trigger=
"hover"
>
<p>
1.若插入活动发送失败,可能为企微未绑定活动小程序,请绑定后再尝试。
</p>
<p>
2.可能为客户开启消息免打扰,消息发送失败。
</p>
<p>
3.可能为群发次数达到上限,上限次数为每个客户/客户群每天仅可接收1条群发消息。
</p>
<img
slot=
"reference"
:src=
"iconUrl"
alt
/>
</el-popover>
</span>
</div>
</div>
<div
class=
"info-num"
>
共
{{
item
.
customerCount
?
item
.
customerCount
:
0
}}
个客户
</div>
<div
class=
"info-num"
>
共
{{
item
.
customerCount
?
item
.
customerCount
:
0
}}
个客户
</div>
</div>
</div>
...
@@ -76,10 +88,21 @@
...
@@ -76,10 +88,21 @@
<div
class=
"info-text"
>
<div
class=
"info-text"
>
<div
class=
"info-name"
>
<div
class=
"info-name"
>
{{
item
.
customerName
}}
{{
item
.
customerName
}}
<div
<div
class=
"customer-table"
:class=
"[item.status == 0 ? 'unsend' : 'send']"
>
class=
"customer-table"
{{
item
.
status
==
0
?
'未送达'
:
item
.
status
==
1
?
'已送达'
:
'送达失败'
}}
:class=
"[item.status == 0 ? 'unsend' : 'send']"
<el-popover
>
{{
item
.
status
==
0
?
'未送达'
:
item
.
status
==
1
?
'已送达'
:
'送达失败'
}}
</div>
v-show=
"item.status != 0 && item.status != 1"
placement=
"top-start"
title=
"失败原因:"
width=
"400"
trigger=
"hover"
>
<p>
1.若插入活动发送失败,可能为企微未绑定活动小程序,请绑定后再尝试。
</p>
<p>
2.可能为客户开启消息免打扰,消息发送失败。
</p>
<p>
3.可能为群发次数达到上限,上限次数为每个客户/客户群每天仅可接收1条群发消息。
</p>
<img
slot=
"reference"
:src=
"iconUrl"
alt
/>
</el-popover>
</div>
</div>
</div>
</div>
</div>
<div
class=
"info-right"
>
<div
class=
"info-right"
>
...
@@ -106,6 +129,8 @@
...
@@ -106,6 +129,8 @@
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
const
iconUrl
=
'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAFoTx1HAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAADqADAAQAAAABAAAADgAAAAC98Dn6AAAB7klEQVQoFVVSQUhUURQ9981sVFyYRRHuFFq1CGlZC3etnBlMRhMXQwhtCqIQJBA3gSSi1EpkNqkjCjOjm1YWuGojBVO7Fi0K2qQLF6H453bO+/ODLvz37z333PvOu+8BtImCf0K56J8VYKLoC9HRMlnwRxaRgB0kOHDDz5gl/0hZBaaFwGl3H65j577nygV/ITCM71pinRo1GiF4zm8jqzkr5dEtluiTJZ9zx8fYTEBmbP5D/tSY3wnaRUwB0rbdsAH5SYK3sW2l4r1/jnFIsUMElmsNmxdB7JGsUnGUWvQz+XkHXtXqNsxx/KL/Zg+oS5xxi8A2T8SqNe0az3NANyfVJD4N5ripZDTDrc1da8kn/i1QxGya4eq4Kl8aui7hblRLUd/JXCSxxXarBJ9T8fuYFLsztiqTv4NjXUTh2rZteEhiP8OKiiIez3+CFoWubdXtpUDe1XAbmJEfQLxpRxFPRz7T1ccz6BFkl6okRzHFOJ5ccbnkr8l5LF8mrl5Pnv5gJksJjmlD/wclv9121ClxeqthH4TJQh5fLhIMaa7LOrRuIk2la89lfO29ghuU/69IHBatqIZfOhgWv2OXhUIOi/FCnDpoZuYqaCaYpYJ5gvf+m6pInUE9Y5NRhoPCdGl80fscyFK1aqfCZH8B0rPa9foo7e4AAAAASUVORK5CYII='
import
Vue
from
'vue'
import
Vue
from
'vue'
import
BasicInof
from
'./components/basicInfo.vue'
import
BasicInof
from
'./components/basicInfo.vue'
export
default
{
export
default
{
...
@@ -114,6 +139,7 @@ export default {
...
@@ -114,6 +139,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
iconUrl
,
activeIndex
:
''
,
activeIndex
:
''
,
customIndex
:
''
,
customIndex
:
''
,
employeelist
:
[],
employeelist
:
[],
...
@@ -252,6 +278,8 @@ export default {
...
@@ -252,6 +278,8 @@ export default {
line-height
:
22px
;
line-height
:
22px
;
}
}
.info-name
{
.info-name
{
display
:
flex
;
align-items
:
center
;
font-size
:
16px
;
font-size
:
16px
;
color
:
#333
;
color
:
#333
;
font-weight
:
500
;
font-weight
:
500
;
...
@@ -263,7 +291,15 @@ export default {
...
@@ -263,7 +291,15 @@ export default {
font-size
:
14px
;
font-size
:
14px
;
}
}
.send
{
.send
{
position
:
relative
;
color
:
#666
;
color
:
#666
;
span
{
img
{
position
:
absolute
;
right
:
-6px
;
top
:
4px
;
}
}
}
}
.unsend
{
.unsend
{
padding
:
3px
10px
;
padding
:
3px
10px
;
...
@@ -272,7 +308,13 @@ export default {
...
@@ -272,7 +308,13 @@ export default {
border-radius
:
2px
;
border-radius
:
2px
;
}
}
.customer-table
{
.customer-table
{
display
:
table
;
display
:
flex
;
&.send
{
width
:
70px
;
}
span
{
vertical-align
:
middle
;
}
}
}
div
{
div
{
margin-top
:
10px
;
margin-top
:
10px
;
...
...
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