Commit 34519f74 by chenwq

众筹详情页,视频

1 parent 1499cefc
...@@ -44,6 +44,7 @@ Component({ ...@@ -44,6 +44,7 @@ Component({
*/ */
data: { data: {
IMG_URL: 'https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/', 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, productData,
proInfo: {}, proInfo: {},
prodItemVideo: '', //选中的场景下的video的第一个 prodItemVideo: '', //选中的场景下的video的第一个
......
...@@ -116,6 +116,13 @@ page { ...@@ -116,6 +116,13 @@ page {
text-decoration: underline; text-decoration: underline;
} }
.crowd-video {
width: calc(100% - 64rpx);
position: absolute;
top: 264rpx;
margin: 0 32rpx;
}
.more-btn { .more-btn {
position: absolute; position: absolute;
left: 50%; left: 50%;
......
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
<!-- 查看活动那个详情 1.3才有 --> <!-- 查看活动那个详情 1.3才有 -->
<block wx:if="{{ index == 0 && actNum == 3 && activeUrl}}"> <block wx:if="{{ index == 0 && actNum == 3 && activeUrl}}">
<view class="check-act" bindtap="checkActive">点击查看活动页面</view> <view class="check-act" bindtap="checkActive">点击查看活动页面</view>
<!-- <button class="check-act" type="default" plain="true" bindtap="checkActive">查看活动详情</button> -->
</block> </block>
<!-- 获取更多详情 --> <!-- 获取更多详情 -->
<block wx:if="{{ index == 2 && showLeftFlag}}"> <block wx:if="{{ index == 2 && showLeftFlag}}">
...@@ -42,7 +41,12 @@ ...@@ -42,7 +41,12 @@
</button> </button>
</block> </block>
</image> </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> </block>
<view class="occupancy" wx:if="{{!isShare}}"> <view class="occupancy" wx:if="{{!isShare}}">
<!-- padding底部 占位元素 --> <!-- padding底部 占位元素 -->
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!