Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
ai-card
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 b6c9f5a6
authored
Oct 28, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v2.10.5' of
http://192.168.3.233:8090/saas/mini-program/ai-card
into v2.10.5
2 parents
b80bae5e
646d690b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
11 deletions
pages/scene/components/product/product.js
pages/scene/components/product/product.wxml
pages/scene/constant/data.js
pages/scene/components/product/product.js
View file @
b6c9f5a
...
@@ -46,7 +46,7 @@ Component({
...
@@ -46,7 +46,7 @@ Component({
"项目亮点"
,
"项目亮点"
,
"转化漏斗"
,
"转化漏斗"
,
"合作流程"
,
"合作流程"
,
// "
合作案例
",
// "
案例视频
",
],
],
heightArr
:
[],
heightArr
:
[],
allHeight
:
0
,
allHeight
:
0
,
...
@@ -140,7 +140,7 @@ Component({
...
@@ -140,7 +140,7 @@ Component({
"项目亮点"
,
"项目亮点"
,
"转化漏斗"
,
"转化漏斗"
,
"合作流程"
,
"合作流程"
,
// "
合作案例
",
// "
案例视频
",
];
];
let
num
=
this
.
data
.
actNum
;
let
num
=
this
.
data
.
actNum
;
console
.
log
(
num
)
console
.
log
(
num
)
...
@@ -404,20 +404,20 @@ Component({
...
@@ -404,20 +404,20 @@ Component({
"项目亮点"
,
"项目亮点"
,
"转化漏斗"
,
"转化漏斗"
,
"合作流程"
,
"合作流程"
,
// "
合作案例
",
// "
案例视频
",
];
];
switch
(
actNum
)
{
switch
(
actNum
)
{
case
0
:
case
0
:
tab
.
push
(
"
合作案例
"
);
tab
.
push
(
"
案例视频
"
);
break
;
break
;
case
1
:
case
1
:
tab
.
push
(
"
合作案例
"
);
tab
.
push
(
"
案例视频
"
);
break
;
break
;
case
2
:
case
2
:
break
;
break
;
case
3
:
case
3
:
tab
.
push
(
"
合作案例
"
);
tab
.
push
(
"
案例视频
"
);
break
;
break
;
}
}
this
.
setData
({
this
.
setData
({
...
...
pages/scene/components/product/product.wxml
View file @
b6c9f5a
...
@@ -29,8 +29,8 @@
...
@@ -29,8 +29,8 @@
</view>
</view>
</view>
</view>
<view class="project-wrap">
<view class="project-wrap">
<!-- -->
<!--
stickyTop+88
-->
<view class="stickyTab" style="top:{{isShare ? stickyTop
+88
: stickyTop}}rpx">
<view class="stickyTab" style="top:{{isShare ? stickyTop : stickyTop}}rpx">
<tab
<tab
outClassName="project-tab"
outClassName="project-tab"
openScroll="{{true}}"
openScroll="{{true}}"
...
@@ -75,10 +75,12 @@
...
@@ -75,10 +75,12 @@
点击查看更多详情
点击查看更多详情
</button> -->
</button> -->
</view>
</view>
<view id="to-{{index}}" class="img-item img-item{{actNum+1}}{{index+1}}" wx:if="{{index == 5 && outshowVideo}}">
<!-- wx:if="{{index == 5 && outshowVideo}}" -->
<view id="to-{{index}}" class="img-item img-item{{actNum+1}}{{index+1}}" wx:if="{{index == 5}}">
<!-- wx:if="{{index!=5}}" -->
<!-- wx:if="{{index!=5}}" -->
<image class="img-item{{actNum+1}}{{index+1}}" src="{{IMGURL}}scene{{actNum+1}}{{index+1}}.png" />
<image class="img-item{{actNum+1}}{{index+1}}" src="{{IMGURL}}scene{{actNum+1}}{{index+1}}.png" />
<view class="video-bg" wx:if="{{!isShare && index==5 && senceData[actNum].videoList.length}}">
<!-- wx:if="{{!isShare && index==5 && senceData[actNum].videoList.length}}" -->
<view class="video-bg">
<view class="video-list">
<view class="video-list">
<block wx:for="{{senceData[actNum].videoList}}" wx:key="i">
<block wx:for="{{senceData[actNum].videoList}}" wx:key="i">
<view class="video-item">
<view class="video-item">
...
...
pages/scene/constant/data.js
View file @
b6c9f5a
...
@@ -66,7 +66,7 @@ var senceData = [
...
@@ -66,7 +66,7 @@ var senceData = [
img
:
'product-img2'
,
img
:
'product-img2'
,
proName
:
'汽车太阳膜'
,
proName
:
'汽车太阳膜'
,
price
:
'100'
,
price
:
'100'
,
profit
:
'1008000
0
'
,
profit
:
'1008000'
,
type
:
'membrane'
,
type
:
'membrane'
,
productType
:
'sunMembrane'
,
productType
:
'sunMembrane'
,
path
:
'solarFilm'
,
path
:
'solarFilm'
,
...
...
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