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
3041a2fd
Commit
3041a2fd
authored
Apr 14, 2021
by
陈羽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 跳转链接非必传
parent
c9f7eace
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
17 deletions
+4
-17
form.vue
src/views/pop/form.vue
+4
-17
No files found.
src/views/pop/form.vue
View file @
3041a2fd
...
...
@@ -51,7 +51,7 @@
</
template
>
</dm-upload-file>
</el-form-item>
<el-form-item
:prop=
"`link_${elIndex}`"
label=
"跳转链接:"
class=
"pop_img_link"
>
<el-form-item
label=
"跳转链接:"
class=
"pop_img_link"
>
<el-tag
:closable=
"pop.activeStatus != 2"
type=
"info"
@
close=
"deleteImgLink(pop)"
@
click=
"setImgLink(pop)"
style=
"margin-right: 10px;line-height: 20px;height: auto;color: #606266"
v-if=
"pop.popupImageDetails.link && pop.popupImageDetails.link.id"
>
{{ pop.popupImageDetails.link.name }}
</el-tag>
...
...
@@ -442,21 +442,6 @@ export default {
trigger
:
'change'
}
];
// 跳转链接
this
.
rules
[
`link_
${
index
}
`
]
=
[
{
required
:
true
,
validator
:
(
rule
,
value
,
callback
)
=>
{
const
index
=
Number
(
rule
.
field
.
split
(
'_'
)[
1
]);
const
item
=
this
.
group
.
popupList
[
index
];
if
(
!
item
.
popupImageDetails
.
link
.
id
)
{
callback
(
new
Error
(
'请设置跳转链接'
));
}
callback
();
},
trigger
:
'change'
}
];
// 定向人群
this
.
rules
[
`popupMemberGroupList_
${
index
}
`
]
=
[
{
...
...
@@ -697,7 +682,6 @@ export default {
linkSelect
(
val
,
elIndex
)
{
this
.
group
.
popupList
[
elIndex
].
popupImageDetails
.
link
=
val
;
this
.
group
.
popupList
[
elIndex
].
linkToolsVisible
=
false
;
this
.
resetField
(
`link_
${
elIndex
}
`
);
},
// 链接小工具 选择
deleteImgLink
(
pop
)
{
...
...
@@ -808,9 +792,12 @@ export default {
/deep/
.el-form-item__label
{
text-align
:
left
;
line-height
:
20px
;
//
padding-right
:
0
!important
;
//
width
:
70px
!important
;
}
/
deep
/
.el-form-item__content
{
line-height
:
20px
;
//
margin-left
:
70px
!important
;
}
}
}
...
...
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