Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-discover
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 f482f121
authored
Jan 09, 2023
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
feba6886
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
14 deletions
src/views/store/components/carChannel.vue
src/views/store/components/carChannel.vue
View file @
f482f12
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<el-radio
:label=
"item.optionId"
:key=
"index"
v-for=
"(item, index) in topicStyleList"
>
{{
item
.
optionLabel
}}
</el-radio>
<el-radio
:label=
"item.optionId"
:key=
"index"
v-for=
"(item, index) in topicStyleList"
>
{{
item
.
optionLabel
}}
</el-radio>
</el-radio-group>
</el-radio-group>
<div>
<div>
<glsx-preview
:picOptions=
"topicStyleOptions"
limit=
"1"
:imageUrlArr=
"channelStyle == 1 ? topicStyleArrFirst[editForm.topicStyle - 1] : topicStyleArrSecond[editForm.topicStyle - 1]"
></glsx-preview>
<glsx-preview
:picOptions=
"topicStyleOptions"
limit=
"1"
:imageUrlArr=
"
topicDetail.
channelStyle == 1 ? topicStyleArrFirst[editForm.topicStyle - 1] : topicStyleArrSecond[editForm.topicStyle - 1]"
></glsx-preview>
</div>
</div>
</div>
</div>
<!-- 卡片背景图 -->
<!-- 卡片背景图 -->
...
@@ -144,10 +144,10 @@
...
@@ -144,10 +144,10 @@
<img
:src=
"editForm.contentList[0].activityDetails.goodsImage"
/>
<img
:src=
"editForm.contentList[0].activityDetails.goodsImage"
/>
</div>
</div>
<div>
<div>
<div
class=
"goods-title"
>
{{
editForm
.
contentList
[
0
].
activityDetails
.
goods
Name
}}
</div>
<div
class=
"goods-title"
>
{{
editForm
.
contentList
[
0
].
activityDetails
.
content
Name
}}
</div>
<div
class=
"goods-price"
>
<div
class=
"goods-price"
>
价格/元:
价格/元:
<span
class=
"theme-color"
>
{{
editForm
.
contentList
[
0
].
activityDetails
.
retail
Price
}}
</span>
<span
class=
"theme-color"
>
{{
editForm
.
contentList
[
0
].
activityDetails
.
content
Price
}}
</span>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -169,7 +169,7 @@
...
@@ -169,7 +169,7 @@
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
template
v-if=
"editForm.activityDetails && editForm.pagePathType ==2"
>
<
template
v-if=
"editForm.activityDetails && editForm.pagePathType ==
2"
>
<div
class=
"goodss-box"
v-if=
"editForm.activityDetails"
>
<div
class=
"goodss-box"
v-if=
"editForm.activityDetails"
>
<div
class=
"goods-img"
>
<div
class=
"goods-img"
>
<img
:src=
"editForm.activityDetails.goodsImage"
/>
<img
:src=
"editForm.activityDetails.goodsImage"
/>
...
@@ -214,7 +214,7 @@ export default {
...
@@ -214,7 +214,7 @@ export default {
mediaType
:
1
,
mediaType
:
1
,
mediaUrlArr
:
[],
mediaUrlArr
:
[],
mediaUrl
:
''
,
mediaUrl
:
''
,
pagePathType
:
''
,
pagePathType
:
''
,
contentList
:
[
contentList
:
[
{
{
mediaType
:
''
,
mediaType
:
''
,
...
@@ -416,7 +416,7 @@ export default {
...
@@ -416,7 +416,7 @@ export default {
}
}
},
},
created
()
{
created
()
{
this
.
getChannelDetail
()
//
this.getChannelDetail()
this
.
initParams
()
this
.
initParams
()
},
},
mounted
()
{
mounted
()
{
...
@@ -462,6 +462,7 @@ export default {
...
@@ -462,6 +462,7 @@ export default {
data1
.
contentList
[
0
].
mediaList
.
forEach
(
item
=>
{
data1
.
contentList
[
0
].
mediaList
.
forEach
(
item
=>
{
this
.
editForm
.
mediaUrlArr
.
push
(
item
.
mediaUrl
)
this
.
editForm
.
mediaUrlArr
.
push
(
item
.
mediaUrl
)
})
})
this
.
editForm
.
productPrice
=
this
.
editForm
.
activityDetails
.
contentPrice
this
.
editForm
.
activityPrice
=
this
.
editForm
.
activityDetails
.
activityPrice
this
.
editForm
.
activityPrice
=
this
.
editForm
.
activityDetails
.
activityPrice
this
.
isFlag
=
true
this
.
isFlag
=
true
console
.
log
(
this
.
editForm
)
console
.
log
(
this
.
editForm
)
...
@@ -717,14 +718,14 @@ export default {
...
@@ -717,14 +718,14 @@ export default {
})
})
},
},
//频道详情,获取频道主题
//频道详情,获取频道主题
getChannelDetail
()
{
//
getChannelDetail() {
let
params
=
{
id
:
this
.
channelId
}
//
let params = { id: this.channelId }
this
.
$apis
.
channel
.
getChannelDetail
(
params
).
then
(
res
=>
{
//
this.$apis.channel.getChannelDetail(params).then(res => {
if
(
res
.
code
==
0
)
{
//
if (res.code == 0) {
this
.
channelStyle
=
res
.
data
.
channelStyle
//
this.channelStyle = res.data.channelStyle
}
//
}
})
//
})
},
//
},
changeChannelImg
(
val
)
{
changeChannelImg
(
val
)
{
// this[val.key + 'Flag'] = false
// this[val.key + 'Flag'] = false
console
.
log
(
val
.
key
,
this
.
editForm
)
console
.
log
(
val
.
key
,
this
.
editForm
)
...
...
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