Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
business-assistant
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 1d402985
authored
Feb 20, 2023
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
详情页
1 parent
67062098
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
components/proDetail/proDetail.js
pages/tab/index/constant/senceData.js
components/proDetail/proDetail.js
View file @
1d40298
...
@@ -95,7 +95,7 @@ Component({
...
@@ -95,7 +95,7 @@ Component({
let
proInfo
=
item
.
productList
.
find
(
k
=>
k
.
id
==
activeNavIdx
)
let
proInfo
=
item
.
productList
.
find
(
k
=>
k
.
id
==
activeNavIdx
)
this
.
setData
({
this
.
setData
({
proInfo
,
proInfo
,
productImgs
:
spcList
.
includes
(
actNum
)
?
proInfo
.
sceneImgs
:
item
.
productImgs
,
productImgs
:
spcList
.
includes
(
actNum
)
?
proInfo
.
sceneImgs
:
(
proInfo
.
productImgs
?
proInfo
.
productImgs
:
item
.
productImgs
)
,
tabList
:
spcList
.
includes
(
actNum
)
?
proInfo
.
tabList
:
norTabList
,
tabList
:
spcList
.
includes
(
actNum
)
?
proInfo
.
tabList
:
norTabList
,
prodItemVideo
:
item
.
videoList
.
length
?
spcList
.
includes
(
actNum
)
?
item
.
videoList
[
proInfo
.
currentIndex
]
:
item
.
videoList
[
activeNavIdx
]
:
item
.
noVideoPicture
[
0
]
prodItemVideo
:
item
.
videoList
.
length
?
spcList
.
includes
(
actNum
)
?
item
.
videoList
[
proInfo
.
currentIndex
]
:
item
.
videoList
[
activeNavIdx
]
:
item
.
noVideoPicture
[
0
]
})
})
...
...
pages/tab/index/constant/senceData.js
View file @
1d40298
...
@@ -348,7 +348,8 @@ const scenario_3 = [
...
@@ -348,7 +348,8 @@ const scenario_3 = [
productCode
:
'PC006'
,
productCode
:
'PC006'
,
productName
:
'座椅通风'
,
productName
:
'座椅通风'
,
category
:
'轻改类'
,
category
:
'轻改类'
,
prodImg
:
`
${
IMG_URL
}
index/prod2/prod3-3.png`
prodImg
:
`
${
IMG_URL
}
index/prod2/prod3-3.png`
,
productImgs
:
[
`
${
IMG_URL
}
index/newProImgs/pro30.webp`
,
`
${
IMG_URL
}
index/newProImgs/pro31.webp`
,
`
${
IMG_URL
}
index/newProImgs/pro32-car.webp`
,
`
${
IMG_URL
}
index/newProImgs/pro33.webp`
]
},
},
{
{
id
:
2
,
id
:
2
,
...
@@ -365,7 +366,8 @@ const scenario_3 = [
...
@@ -365,7 +366,8 @@ const scenario_3 = [
productCode
:
'PC007'
,
productCode
:
'PC007'
,
productName
:
'AR导航'
,
productName
:
'AR导航'
,
category
:
'轻改类'
,
category
:
'轻改类'
,
prodImg
:
`
${
IMG_URL
}
index/prod2/prod3-0.png`
prodImg
:
`
${
IMG_URL
}
index/prod2/prod3-0.png`
,
productImgs
:
[
`
${
IMG_URL
}
index/newProImgs/pro30.webp`
,
`
${
IMG_URL
}
index/newProImgs/pro31.webp`
,
`
${
IMG_URL
}
index/newProImgs/pro32-AR.webp`
,
`
${
IMG_URL
}
index/newProImgs/pro33.webp`
]
},
},
{
{
id
:
3
,
id
:
3
,
...
@@ -382,7 +384,8 @@ const scenario_3 = [
...
@@ -382,7 +384,8 @@ const scenario_3 = [
productCode
:
'PC008'
,
productCode
:
'PC008'
,
productName
:
'氛围灯'
,
productName
:
'氛围灯'
,
category
:
'轻改类'
,
category
:
'轻改类'
,
prodImg
:
`
${
IMG_URL
}
index/prod2/prod3-2.png`
prodImg
:
`
${
IMG_URL
}
index/prod2/prod3-2.png`
,
productImgs
:
[
`
${
IMG_URL
}
index/newProImgs/pro30.webp`
,
`
${
IMG_URL
}
index/newProImgs/pro31.webp`
,
`
${
IMG_URL
}
index/newProImgs/pro32-lamp.webp`
,
`
${
IMG_URL
}
index/newProImgs/pro33.webp`
]
},
},
{
{
id
:
4
,
id
:
4
,
...
@@ -399,7 +402,8 @@ const scenario_3 = [
...
@@ -399,7 +402,8 @@ const scenario_3 = [
productCode
:
'PC009'
,
productCode
:
'PC009'
,
productName
:
'360全景导航'
,
productName
:
'360全景导航'
,
category
:
'轻改类'
,
category
:
'轻改类'
,
prodImg
:
`
${
IMG_URL
}
index/prod2/prod3-1.png`
prodImg
:
`
${
IMG_URL
}
index/prod2/prod3-1.png`
,
productImgs
:
[
`
${
IMG_URL
}
index/newProImgs/pro30.webp`
,
`
${
IMG_URL
}
index/newProImgs/pro31.webp`
,
`
${
IMG_URL
}
index/newProImgs/pro32-360.webp`
,
`
${
IMG_URL
}
index/newProImgs/pro33.webp`
]
},
},
{
{
id
:
5
,
id
:
5
,
...
@@ -416,7 +420,8 @@ const scenario_3 = [
...
@@ -416,7 +420,8 @@ const scenario_3 = [
productCode
:
'PC009'
,
productCode
:
'PC009'
,
productName
:
'智能香氛系统'
,
productName
:
'智能香氛系统'
,
category
:
'轻改类'
,
category
:
'轻改类'
,
prodImg
:
`
${
IMG_URL
}
index/prod2/prod3-5.png`
prodImg
:
`
${
IMG_URL
}
index/prod2/prod3-5.png`
,
productImgs
:
[
`
${
IMG_URL
}
index/newProImgs/pro30.webp`
,
`
${
IMG_URL
}
index/newProImgs/pro31.webp`
,
`
${
IMG_URL
}
index/newProImgs/pro32-xt.webp`
,
`
${
IMG_URL
}
index/newProImgs/pro33.webp`
]
}
}
],
],
sceneImgs
:
sceneImgs3
,
sceneImgs
:
sceneImgs3
,
...
...
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