Commit 8fbe2be7 by chenwq

视频详情

1 parent 5982d020
......@@ -63,23 +63,18 @@ Component({
//console.log(actNum)
//console.log(activeNavIdx)
const spcList = [99] // 订阅模块需要特殊处理
console.log(productData, 'productData')
const senceList = productData[actNum].filter(item => item.name != '全部')
console.log(senceList)
for (let i = 0; i < senceList.length; i++) {
let item = senceList[i]
let proIdList = item?.productList.map(k => k.id)
if (proIdList.includes(activeNavIdx)) {
//console.log(item, 'item----')
//console.log(item.productList.find(k => k.id == activeNavIdx))
let proInfo = item.productList.find(k => k.id == activeNavIdx)
this.setData({
proInfo,
productImgs: spcList.includes(actNum) ? proInfo.sceneImgs : item.productImgs,
tabList: spcList.includes(actNum) ? proInfo.tabList : norTabList,
prodItemVideo: item.videoList.length ? item.videoList[activeNavIdx] : item.noVideoPicture[0]
prodItemVideo: item.videoList.length ? spcList.includes(actNum) ?item.videoList[proInfo.currentIndex] : item.videoList[activeNavIdx] : item.noVideoPicture[0]
})
// console.log(this.data.prodItemVideo, 'prodItemVideo--------')
break
}
}
......
......@@ -263,7 +263,7 @@ page {
.img-item52 {
width: 100%;
height: 3534rpx;
height: 4360rpx;
}
.img-item53 {
......
......@@ -43,6 +43,7 @@ const subscriptionSystemData = [
productList: [
{
id: 0,
currentIndex: 0,
img: 'product-img1',
proName: '私域用户活跃代运营',
price: '100',
......@@ -75,6 +76,7 @@ const subscriptionSystemData = [
},
{
id: 1,
currentIndex: 1,
img: 'product-img1',
proName: '定保/续保数字化招揽',
price: '100',
......@@ -119,6 +121,7 @@ const subscriptionSystemData = [
productList: [
{
id: 2,
currentIndex: 0,
img: 'product-img1',
proName: '事故车救援服务',
price: '100',
......
......@@ -364,6 +364,7 @@ Page({
// 膨胀金活动,合作方式
if (actnum == 4 && index == 4) {
wx.$router.jumpH5('https://1064147.ma3you.cn/articles/OdEQmwb/');
// wx.$router.jumpH5('https://scrm.test.glsx.com.cn/frontpdf/expand_agreement.pdf');
}
},
/**
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!