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 22865317
authored
Dec 24, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
膨胀金活动场景
1 parent
7d086788
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
39 additions
and
3 deletions
pages/tab/index/constant/data.js
pages/viewProd/index.js
pages/viewProdBanner/index.js
pages/viewProdBanner/index.scss
pages/viewProdBanner/index.wxml
pages/tab/index/constant/data.js
View file @
2286531
...
@@ -470,6 +470,7 @@ var senceData = [
...
@@ -470,6 +470,7 @@ var senceData = [
tabname
:
'膨胀金活动'
,
tabname
:
'膨胀金活动'
,
banner
:
`
${
IMG_URL
}
index/banner/banner5.png`
,
banner
:
`
${
IMG_URL
}
index/banner/banner5.png`
,
scrollText
:
'已发布种草软文100+篇,促进门店二次转化客户到店,欢迎各经销商咨询'
,
scrollText
:
'已发布种草软文100+篇,促进门店二次转化客户到店,欢迎各经销商咨询'
,
tabList
:
[
'项目介绍'
,
'活动方案'
,
'销售场景'
,
'合作案例'
,
'合作方式'
,
'FAQ'
],
sceneImgs
:[
sceneImgs
:[
`
${
IMG_URL
}
index/scene/scene20.png`
,
`
${
IMG_URL
}
index/scene/scene20.png`
,
`
${
IMG_URL
}
index/scene/scene21.png`
,
`
${
IMG_URL
}
index/scene/scene21.png`
,
...
...
pages/viewProd/index.js
View file @
2286531
...
@@ -70,7 +70,8 @@ Page({
...
@@ -70,7 +70,8 @@ Page({
actNum
,
actNum
,
activeNavIdx
,
activeNavIdx
,
isShare
,
isShare
,
sharephone
sharephone
,
tabList
:
senceData
[
actNum
]?.
productList
[
activeNavIdx
].
tabList
||
norTabList
});
});
//分享数据
//分享数据
...
...
pages/viewProdBanner/index.js
View file @
2286531
...
@@ -5,6 +5,7 @@ import { senceData } from "~/pages/tab/index/constant/data";
...
@@ -5,6 +5,7 @@ import { senceData } from "~/pages/tab/index/constant/data";
import
USERAPI
from
"~/api/usersApi/index"
;
import
USERAPI
from
"~/api/usersApi/index"
;
import
utils
from
"~/utils/util.js"
;
import
utils
from
"~/utils/util.js"
;
import
{
getActiveApi
}
from
"~/api/viewprod"
;
import
{
getActiveApi
}
from
"~/api/viewprod"
;
const
norTabList
=
[
'项目亮点'
,
'合作案例'
,
'合作方式'
,
'适配产品'
]
Page
({
Page
({
/**
/**
...
@@ -25,6 +26,7 @@ Page({
...
@@ -25,6 +26,7 @@ Page({
hasUserInfo
:
false
,
hasUserInfo
:
false
,
phone
:
""
,
//授权手机号
phone
:
""
,
//授权手机号
prodItemVideo
:
""
,
//选中的场景下的video的第一个
prodItemVideo
:
""
,
//选中的场景下的video的第一个
tabList
:
[]
},
},
// 计算属性
// 计算属性
computed
:
{
computed
:
{
...
@@ -66,6 +68,7 @@ Page({
...
@@ -66,6 +68,7 @@ Page({
activeNavIdx
,
activeNavIdx
,
isShare
,
isShare
,
phone
,
phone
,
tabList
:
senceData
[
actNum
]?.
tabList
||
norTabList
});
});
// 分享描述
// 分享描述
this
.
shareTitle
=
`给你分享一个
${
senceData
[
actNum
]?.
tabname
}
,戳我参与
~
`;
this
.
shareTitle
=
`给你分享一个
${
senceData
[
actNum
]?.
tabname
}
,戳我参与
~
`;
...
@@ -105,6 +108,7 @@ Page({
...
@@ -105,6 +108,7 @@ Page({
actNum, //选中的场景下标
actNum, //选中的场景下标
activeNavIdx, //选中的产品
activeNavIdx, //选中的产品
phone, //联系电话
phone, //联系电话
tabList: senceData[actNum]?.tabList || norTabList
});
});
// 设置转发标题
// 设置转发标题
...
...
pages/viewProdBanner/index.scss
View file @
2286531
...
@@ -192,6 +192,35 @@ page {
...
@@ -192,6 +192,35 @@ page {
.img-item33
{
.img-item33
{
width
:
100%
;
width
:
100%
;
height
:
2002rpx
;
height
:
2002rpx
;
}
// // 流程图五
.img-item40
{
width
:
100%
;
height
:
1564rpx
;
}
.img-item41
{
width
:
100%
;
height
:
1224rpx
;
}
.img-item42
{
width
:
100%
;
height
:
1148rpx
;
}
.img-item43
{
width
:
100%
;
height
:
3504rpx
;
}
.img-item44
{
width
:
100%
;
height
:
2220rpx
;
}
.img-item45
{
width
:
100%
;
height
:
1092rpx
;
}
}
}
}
}
}
...
...
pages/viewProdBanner/index.wxml
View file @
2286531
...
@@ -15,10 +15,11 @@
...
@@ -15,10 +15,11 @@
<!-- <image class="no-video" wx:if="{{actNum == 2}}" src="{{IMG_URL}}index/poster/no-video.png?v={{img_version}}" /> -->
<!-- <image class="no-video" wx:if="{{actNum == 2}}" src="{{IMG_URL}}index/poster/no-video.png?v={{img_version}}" /> -->
<view class="tab-wrap">
<view class="tab-wrap">
<van-tabs sticky bind:click="onClickTab" active="{{tabAct}}">
<van-tabs sticky bind:click="onClickTab" active="{{tabAct}}">
<van-tab title="项目亮点"></van-tab>
<van-tab wx:for="{{tabList}}" title="{{item}}" wx:key="idnex" />
<!-- <van-tab title="项目亮点"></van-tab>
<van-tab title="合作案例"></van-tab>
<van-tab title="合作案例"></van-tab>
<van-tab title="合作方式"></van-tab>
<van-tab title="合作方式"></van-tab>
<van-tab title="适配产品"></van-tab>
<van-tab title="适配产品"></van-tab>
-->
</van-tabs>
</van-tabs>
</view>
</view>
<view class="prod-detail">
<view class="prod-detail">
...
...
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