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 8fbe2be7
authored
Dec 30, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
视频详情
1 parent
5982d020
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
7 deletions
components/proDetail/proDetail.js
components/proDetail/proDetail.scss
pages/tab/index/constant/systemData.js
pages/viewProd/index.js
components/proDetail/proDetail.js
View file @
8fbe2be
...
...
@@ -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
}
}
...
...
components/proDetail/proDetail.scss
View file @
8fbe2be
...
...
@@ -263,7 +263,7 @@ page {
.img-item52
{
width
:
100%
;
height
:
3534
rpx
;
height
:
4360
rpx
;
}
.img-item53
{
...
...
pages/tab/index/constant/systemData.js
View file @
8fbe2be
...
...
@@ -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'
,
...
...
pages/viewProd/index.js
View file @
8fbe2be
...
...
@@ -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');
}
},
/**
...
...
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