Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
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 7c49e0d7
authored
Jun 15, 2022
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改群发样式
1 parent
385bef41
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
8 deletions
src/views/customerTransform/components/welcomeWords.vue
src/views/customerTransform/components/welcomeWords.vue
View file @
7c49e0d
...
...
@@ -60,7 +60,7 @@
</div>
<div
class=
"tips-text"
>
<
img
src=
"@/assets/guestCustom/tips.png"
class=
"tips-icon"
alt
/
>
<
div
class=
"tips-icon"
><img
src=
"@/assets/guestCustom/tips.png"
alt
/></div
>
<span
v-if=
"form == 'customer'"
>
每位客户每天可接收1条群发消息,超过接收上限的客户将无法再收到群发消息。
</span>
<span
v-if=
"form == 'customerGroup'"
>
每个客户群每天可接收1条群发消息,超过接收上限的客户群将无法再收到群发消息。
</span>
</div>
...
...
@@ -323,7 +323,7 @@ export default {
}
}
},
changeInput
:
utils
.
debounce
(
function
()
{
changeInput
:
utils
.
debounce
(
function
()
{
var
allNodes
=
document
.
getElementById
(
'editor'
).
childNodes
var
str
=
''
allNodes
.
forEach
(
item
=>
{
...
...
@@ -341,7 +341,7 @@ export default {
this
.
eventBus
.
$emit
(
'update'
,
this
.
previewList
)
const
obj
=
val
.
find
(
item
=>
item
.
attType
==
1
)
let
attContent
=
obj
.
attContent
.
replaceAll
(
'[@昵称]'
,
'<wise id="1">@昵称</wise>'
)
const
htm
=
attContent
.
replace
(
/
\[[\u
4E00-
\u
9FA56
]{1,4}
]/gi
,
function
(
res
)
{
const
htm
=
attContent
.
replace
(
/
\[[\u
4E00-
\u
9FA56
]{1,4}
]/gi
,
function
(
res
)
{
let
word
=
res
.
replace
(
/
\[
|
\]
/gi
,
''
)
const
list
=
emoji
.
flat
(
Infinity
)
let
index
=
parseInt
(
list
.
indexOf
(
word
))
+
1
...
...
@@ -520,19 +520,25 @@ export default {
}
.tips-text
{
display
:
flex
;
align-items
:
center
;
//
align-items
:
center
;
justify-self
:
center
;
color
:
#000
;
font-size
:
14px
;
padding
:
0
16px
;
padding
:
10px
16px
;
margin-top
:
10px
;
background-color
:
rgba
(
230
,
233
,
255
,
0.49
);
border
:
1px
solid
rgba
(
88
,
80
,
255
,
0.49
);
border-radius
:
4px
;
line-height
:
20px
;
.tips-icon
{
width
:
14px
;
height
:
14px
;
margin-right
:
8px
;
display
:
flex
;
align-items
:
center
;
height
:
20px
;
img
{
width
:
14px
;
height
:
14px
;
margin-right
:
8px
;
}
}
}
//
编辑器
...
...
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