Commit 1d402985 by chenwq

详情页

1 parent 67062098
......@@ -95,7 +95,7 @@ Component({
let proInfo = item.productList.find(k => k.id == activeNavIdx)
this.setData({
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,
prodItemVideo: item.videoList.length ? spcList.includes(actNum) ? item.videoList[proInfo.currentIndex] : item.videoList[activeNavIdx] : item.noVideoPicture[0]
})
......
......@@ -348,7 +348,8 @@ const scenario_3 = [
productCode: 'PC006',
productName: '座椅通风',
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,
......@@ -365,7 +366,8 @@ const scenario_3 = [
productCode: 'PC007',
productName: 'AR导航',
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,
......@@ -382,7 +384,8 @@ const scenario_3 = [
productCode: 'PC008',
productName: '氛围灯',
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,
......@@ -399,7 +402,8 @@ const scenario_3 = [
productCode: 'PC009',
productName: '360全景导航',
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,
......@@ -416,7 +420,8 @@ const scenario_3 = [
productCode: 'PC009',
productName: '智能香氛系统',
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,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!