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 f0eb9fa5
authored
Aug 02, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'wuwx_dev_v2.7.0' into 'v2.7.0'
Wuwx dev v2.7.0 See merge request
!295
2 parents
f5011929
ca0c0dab
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
src/views/homeSet/index.vue
src/views/homeSet/index.vue
View file @
f0eb9fa
...
@@ -310,12 +310,14 @@ export default {
...
@@ -310,12 +310,14 @@ export default {
linkUrl
:
''
,
linkUrl
:
''
,
videoLinkUrl
:
''
,
videoLinkUrl
:
''
,
imgLinkUrl
:
''
,
imgLinkUrl
:
''
,
source
:
''
,
goods
:
{
goods
:
{
id
:
''
,
id
:
''
,
goodsName
:
''
,
goodsName
:
''
,
goodsImage
:
''
goodsImage
:
''
}
}
},
},
souce
:
''
,
bannerRadioList
:
[
bannerRadioList
:
[
{
confId
:
'1'
,
confName
:
'商品'
},
{
confId
:
'1'
,
confName
:
'商品'
},
{
confId
:
'2'
,
confName
:
'图文介绍'
},
{
confId
:
'2'
,
confName
:
'图文介绍'
},
...
@@ -501,6 +503,11 @@ export default {
...
@@ -501,6 +503,11 @@ export default {
customerServerUserTitle
:
res
.
customerServerUserTitle
customerServerUserTitle
:
res
.
customerServerUserTitle
})
})
}
}
if
(
res
.
bannerList
&&
res
.
bannerList
.
length
)
{
this
.
souce
=
res
.
bannerList
[
0
].
source
}
else
{
this
.
souce
=
1
}
if
(
res
.
bannerList
&&
res
.
bannerList
.
length
)
{
if
(
res
.
bannerList
&&
res
.
bannerList
.
length
)
{
res
.
bannerList
.
forEach
(
item
=>
{
res
.
bannerList
.
forEach
(
item
=>
{
var
params
=
{
var
params
=
{
...
@@ -509,7 +516,8 @@ export default {
...
@@ -509,7 +516,8 @@ export default {
bannerType
:
item
.
bannerType
+
''
,
bannerType
:
item
.
bannerType
+
''
,
linkUrl
:
item
.
linkUrl
,
linkUrl
:
item
.
linkUrl
,
imgLinkUrl
:
''
,
imgLinkUrl
:
''
,
videoLinkUrl
:
''
videoLinkUrl
:
''
,
source
:
this
.
souce
}
}
if
(
item
.
bannerType
==
'2'
)
{
if
(
item
.
bannerType
==
'2'
)
{
params
.
imgLinkUrl
=
item
.
linkUrl
params
.
imgLinkUrl
=
item
.
linkUrl
...
@@ -550,7 +558,6 @@ export default {
...
@@ -550,7 +558,6 @@ export default {
this
.
relateStoreVisible
=
!
this
.
relateStoreVisible
this
.
relateStoreVisible
=
!
this
.
relateStoreVisible
},
},
handleRelateStoreConfirm
(
selectedData
)
{
handleRelateStoreConfirm
(
selectedData
)
{
console
.
log
(
'selectedData'
,
selectedData
);
if
(
this
.
state
==
'banner'
)
{
if
(
this
.
state
==
'banner'
)
{
this
.
editForm
.
bannerMerchantList
=
selectedData
this
.
editForm
.
bannerMerchantList
=
selectedData
}
else
if
(
this
.
state
==
'notice'
)
{
}
else
if
(
this
.
state
==
'notice'
)
{
...
@@ -771,7 +778,8 @@ export default {
...
@@ -771,7 +778,8 @@ export default {
goodsId
:
''
,
goodsId
:
''
,
bannerType
:
+
item
.
bannerType
,
bannerType
:
+
item
.
bannerType
,
linkUrl
:
''
,
linkUrl
:
''
,
goods
:
{}
goods
:
{},
source
:
this
.
souce
})
})
if
(
item
.
bannerType
==
'1'
&&
item
.
goodsId
)
{
if
(
item
.
bannerType
==
'1'
&&
item
.
goodsId
)
{
params
.
bannerList
[
idx
].
goodsId
=
item
.
goodsId
params
.
bannerList
[
idx
].
goodsId
=
item
.
goodsId
...
...
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