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
627a7b61
Commit
627a7b61
authored
Jan 21, 2022
by
crushh
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/2月迭代' into dev
parents
01a49e7f
2bff20bf
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
117 additions
and
67 deletions
+117
-67
reset.scss
src/assets/style/base/reset.scss
+3
-0
form.js
src/views/ecm/form.js
+92
-65
form.vue
src/views/ecm/form.vue
+0
-0
index.vue
src/views/ecm/marketing-event/index.vue
+22
-2
No files found.
src/assets/style/base/reset.scss
View file @
627a7b61
...
...
@@ -123,6 +123,9 @@ a:hover {
.ml30
{
margin-left
:
30px
!
important
;
}
.ml58
{
margin-left
:
58px
!
important
;
}
.ml80
{
margin-left
:
80px
!
important
;
}
...
...
src/views/ecm/form.js
View file @
627a7b61
This diff is collapsed.
Click to expand it.
src/views/ecm/form.vue
View file @
627a7b61
This diff is collapsed.
Click to expand it.
src/views/ecm/marketing-event/index.vue
View file @
627a7b61
...
...
@@ -158,7 +158,8 @@ export default {
default
:
0
},
useQfxx
:
Boolean
,
showDeleteTooltip
:
Boolean
showDeleteTooltip
:
Boolean
,
consumType
:
1
// 1 单笔订单金额触发,2 累计订单金额触发
},
data
()
{
return
{
...
...
@@ -183,6 +184,20 @@ export default {
},
computed
:
{
showOptionList
()
{
if
(
this
.
consumType
==
2
&&
this
.
effectType
==
0
)
{
const
arr
=
[
'card'
,
'integral'
];
this
.
options
.
forEach
(
item
=>
{
if
(
arr
.
includes
(
item
.
value
))
{
item
.
show
=
true
;
}
else
{
item
.
show
=
false
;
}
});
}
else
{
this
.
options
.
forEach
(
item
=>
{
item
.
show
=
true
;
});
}
if
(
this
.
useStored
)
{
this
.
options
.
forEach
(
item
=>
{
if
(
item
.
value
==
'grade'
)
{
...
...
@@ -230,7 +245,6 @@ export default {
// 触点切换成单次或重复,清空已选择的图文;
// 单次和重复间切换时,不需要清空操作;
// 单次切换触点或者重复切换触点,清空已选择的图文;
// 0:触点 1:重复 2:单次
if
(
oldType
==
0
||
newType
==
0
)
{
this
.
list
.
forEach
(
el
=>
{
...
...
@@ -249,6 +263,12 @@ export default {
});
}
},
consumType
(
val
)
{
this
.
list
.
forEach
(
el
=>
{
this
.
delItem
(
el
);
});
},
// useStored: {
// handler() {
// console.log('useStored');
...
...
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