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 34519f74
authored
Feb 16, 2023
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
众筹详情页,视频
1 parent
1499cefc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
2 deletions
components/proDetail/proDetail.js
components/proDetail/proDetail.scss
components/proDetail/proDetail.wxml
components/proDetail/proDetail.js
View file @
34519f7
...
...
@@ -44,6 +44,7 @@ Component({
*/
data
:
{
IMG_URL
:
'https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/'
,
videoBaseUrl
:
'https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/index/'
,
productData
,
proInfo
:
{},
prodItemVideo
:
''
,
//选中的场景下的video的第一个
...
...
components/proDetail/proDetail.scss
View file @
34519f7
...
...
@@ -116,6 +116,13 @@ page {
text-decoration
:
underline
;
}
.crowd-video
{
width
:
calc
(
100%
-
64rpx
);
position
:
absolute
;
top
:
264rpx
;
margin
:
0
32rpx
;
}
.more-btn
{
position
:
absolute
;
left
:
50%
;
...
...
components/proDetail/proDetail.wxml
View file @
34519f7
...
...
@@ -33,7 +33,6 @@
<!-- 查看活动那个详情 1.3才有 -->
<block wx:if="{{ index == 0 && actNum == 3 && activeUrl}}">
<view class="check-act" bindtap="checkActive">点击查看活动页面</view>
<!-- <button class="check-act" type="default" plain="true" bindtap="checkActive">查看活动详情</button> -->
</block>
<!-- 获取更多详情 -->
<block wx:if="{{ index == 2 && showLeftFlag}}">
...
...
@@ -42,7 +41,12 @@
</button>
</block>
</image>
<image webp wx:if="{{ index >= 3 && !showLeftFlag}}" mode="widthFix" webp class="img-item {{item.className?item.className:''}}" src="{{item.url?item.url:item}}?v={{img_version}}" />
<image webp wx:if="{{ index >= 3 && !showLeftFlag}}" mode="widthFix" webp class="img-item {{item.className?item.className:''}}" src="{{item.url?item.url:item}}?v={{img_version}}">
<!-- 众筹-视频 -->
<block wx:if="{{ index == 3 && actNum == 3 }}">
<video class="crowd-video" src="{{videoBaseUrl}}video/crowd-detail.mp4" />
</block>
</image>
</block>
<view class="occupancy" wx:if="{{!isShare}}">
<!-- padding底部 占位元素 -->
...
...
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