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 446cf12f
authored
Dec 07, 2022
by
luyt
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix;1.2场景特殊处理
1 parent
325ff888
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
11 deletions
pages/tab/index/constant/data.js
pages/viewProd/index.wxml
pages/viewProdBanner/index.wxml
pages/tab/index/constant/data.js
View file @
446cf12
...
...
@@ -241,7 +241,7 @@ var senceData = [
{
// videoUrl: `${videoBaseUrl}video/car_beauty.mp4`,
posterUrl
:
`
${
IMG_URL
}
index/poster/no-video.png`
,
name
:
'
数字化美容-新增产值20w+
'
,
name
:
'
0-6 个月次新车-线上销售轻改精品
'
,
manufacturer
:
'嘀加智慧'
,
view
:
2561
},
...
...
pages/viewProd/index.wxml
View file @
446cf12
<view class="view-prod">
<!-- 有视频 -->
<block wx:if="{{actNum != 2}}" >
<video class="frame" src="{{prodItemVideo.videoUrl}}"></video>
<block >
<video class="frame" wx:if="{{actNum != 2}}" src="{{prodItemVideo.videoUrl}}"></video>
<image class="no-video" wx:if="{{actNum == 2}}" src="{{prodItemVideo.posterUrl}}?v={{img_version}}" />
<view class="title-wrap">
<view class="title">{{prodItemVideo.name}}</view>
<!-- <glsx-image class="check" src="index/poster/check.png" /> -->
<image class="check" src="{{IMG_URL}}index/poster/check.png?v={{img_version}}" />
<view class="num">{{prodItemVideo.view}}</view>
<image class="check"
wx:if="{{actNum != 2}}"
src="{{IMG_URL}}index/poster/check.png?v={{img_version}}" />
<view class="num"
wx:if="{{actNum != 2}}"
>{{prodItemVideo.view}}</view>
</view>
</block>
<!-- 无视频 -->
<
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">
<van-tabs sticky bind:click="onClickTab" active="{{tabAct}}">
<van-tab title="项目亮点"></van-tab>
...
...
pages/viewProdBanner/index.wxml
View file @
446cf12
<view class="view-prod">
<!-- 有视频 -->
<block wx:if="{{actNum != 2}}" >
<video class="frame" src="{{prodItemVideo.videoUrl}}"></video>
<block >
<video class="frame" wx:if="{{actNum != 2}}" src="{{prodItemVideo.videoUrl}}"></video>
<image class="no-video" wx:if="{{actNum == 2}}" src="{{prodItemVideo.posterUrl}}?v={{img_version}}" />
<view class="title-wrap">
<view class="title">{{prodItemVideo.name}}</view>
<!-- <glsx-image class="check" src="index/poster/check.png" /> -->
<image class="check" src="{{IMG_URL}}index/poster/check.png?v={{img_version}}" />
<view class="num">{{prodItemVideo.view}}</view>
<image class="check"
wx:if="{{actNum != 2}}"
src="{{IMG_URL}}index/poster/check.png?v={{img_version}}" />
<view class="num"
wx:if="{{actNum != 2}}"
>{{prodItemVideo.view}}</view>
</view>
</block>
<!-- 无视频 -->
<
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">
<van-tabs sticky bind:click="onClickTab" active="{{tabAct}}">
<van-tab title="项目亮点"></van-tab>
...
...
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