Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
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
marketing-web
marketing
Commits
c01979e6
Commit
c01979e6
authored
Aug 12, 2021
by
黑潮
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 过滤字符
parent
63e18aea
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
importSendDetail.vue
src/views/message/importSendDetail.vue
+1
-1
edit.vue
src/views/msg/edit.vue
+5
-2
No files found.
src/views/message/importSendDetail.vue
View file @
c01979e6
...
...
@@ -4,7 +4,7 @@
<h3
class=
"dm-title__label"
>
基本信息
</h3>
<el-row
:gutter=
"20"
class=
"message-detail__label"
>
<el-col
:span=
"8"
>
<span
class=
"primary-font-color"
>
手工导入
时间:
</span>
<span
class=
"primary-font-color"
>
创建
时间:
</span>
<span
class=
"regular-font-color"
>
{{
formatDateTimeByType
(
info
.
createTime
,
'yyyy-MM-dd-HH-mm-ss'
)
}}
</span>
</el-col>
<el-col
:span=
"16"
>
...
...
src/views/msg/edit.vue
View file @
c01979e6
...
...
@@ -29,7 +29,7 @@
<div
class=
"gray fz13"
>
* 请勿在文案中使用“#”井号,会导致在用户端展示错误。
</div>
</el-form-item>
<el-form-item
label=
"头部文案"
>
<el-input
type=
"textarea"
:style=
"'color:' + info.headerColor"
v-model=
"info.headerText"
:rows=
"4"
class=
"w450"
:maxlength=
"200"
></el-input>
<el-input
type=
"textarea"
:style=
"'color:' + info.headerColor"
v-model=
"info.headerText"
:rows=
"4"
class=
"w450"
:maxlength=
"200"
@
input=
"filterWord('headerText')"
></el-input>
<div
class=
"input-suffix clearfix"
>
<!--
<el-color-picker
class=
"ml10 vertical-middle"
v-model=
"info.headerColor"
></el-color-picker>
-->
<el-button
type=
"text"
class=
"vertical-middle ml10"
@
click=
"insetVar('headerText')"
>
插入变量
</el-button>
...
...
@@ -51,7 +51,7 @@
</div>
</el-form-item>
<el-form-item
label=
"尾部文案"
>
<el-input
type=
"textarea"
:style=
"'color:' + info.remarkColor"
v-model=
"info.remarkText"
:rows=
"4"
class=
"w450"
:maxlength=
"200"
></el-input>
<el-input
type=
"textarea"
:style=
"'color:' + info.remarkColor"
v-model=
"info.remarkText"
:rows=
"4"
class=
"w450"
:maxlength=
"200"
@
input=
"filterWord('remarkText')"
></el-input>
<div
class=
"input-suffix clearfix"
>
<el-color-picker
class=
"ml10 vertical-middle"
v-model=
"info.remarkColor"
></el-color-picker>
<el-button
type=
"text"
class=
"vertical-middle"
@
click=
"insetVar('remarkText')"
>
插入变量
</el-button>
...
...
@@ -219,6 +219,9 @@ export default {
}
},
methods
:
{
filterWord
(
prop
)
{
this
.
info
[
prop
]
=
this
.
info
[
prop
].
replace
(
/
[\u
D83C|
\u
D83D|
\u
D83E
][\u
DC00-
\u
DFFF
][\u
200D|
\u
FE0F
]
|
[\u
D83C|
\u
D83D|
\u
D83E
][\u
DC00-
\u
DFFF
]
|
[
0-9|*|#
]\u
FE0F
\u
20E3|
[
0-9|#
]\u
20E3|
[\u
203C-
\u
3299
]\u
FE0F
\u
200D|
[\u
203C-
\u
3299
]\u
FE0F|
[\u
2122-
\u
2B55
]
|
\u
303D|
[\A
9|
\A
E
]\u
3030|
\u
A9|
\u
AE|
\u
3030/g
,
''
);
},
async
listTemplateVariables
()
{
this
.
loading
=
true
;
try
{
...
...
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