2022-12-26 18:27:31 +08:00

35 lines
3.1 KiB
Plaintext

<view class="videoPage" data-event-opts="{{[['noTouch',[['noTouch',['$event']]]]]}}" catchtouchmove="__e">
<!-- data-event-opts="{{[['tap',[['nofhj',['$event']]]]]}}" -->
<nav-bar vue-id="18b7e0c8-1" istids="{{istids}}" bindtap="__e" wx:if="{{buttons}}" isfhj="{{true}}" name="{{title}}" bolimg="{{true}}" wite='{{wite}}' back="{{backs}}" bind:__l="__l"></nav-bar>
<swiper class="swiper" vertical="{{true}}" circular="{{true}}" interval="{{interval}}" duration="{{duration}}" current="{{current}}" data-event-opts="{{[['change',[['change',['$event']]]],['transition',[['transition',['$event']]]],['animationfinish',[['animationfinish',['$event']]]]]}}" bindchange="__e" bindtransition="__e" bindanimationfinish="__e">
<block wx:for="{{list}}" wx:for-item="item" wx:for-index="index">
<swiper-item>
<view class="swiper-item uni-bg-red">
<view>
<video bindtimeupdate="__e" unit-id="adunit-cdcce4e406da4ce4" controls="{{true}}" wx:if="{{videoShow}}" class="video" object-fit='contain' poster="{{item.videocover}}" show-fullscreen-btn="{{false}}" show-center-play-btn="{{false}}" id="{{'video'+index}}" show-bottom-progress="{{false}}" src="{{item.video_url}}" data-event-opts="{{[['loadedmetadata',[['loadedmetadata',['$event']]]],['progress',[['progress',['$event']]]],['timeupdate',[['timeupdate',['$event']]]],['controlstoggle',[['controlstoggle',['$event']]]],['ended',[['onEnded',['$event']]]]]}}" bindprogress="__e" bindcontrolstoggle="__e" bindprogress="__e" bindloadedmetadata="__e" bindended="__e" play-btn-position='center'></video>
<image wx:else="{{!videoShow}}" src="{{item.videocover}}" style="width: 100%;z-index: 0;height: calc(100vh - 296rpx);"></image>
</view>
<view class="buttons" wx:if="{{buttons}}">
<block>
<view class="button" data-event-opts="{{[['tap',[['collect']]]]}}" bindtap="__e">
<image wx:if="{{bol}}" class="icon" style="width: 30px;height: 30px;" src="../../static/image/red_like_icon.png"></image>
<image wx:else="{{!bol}}" class="icon" style="width: 30px;height: 30px;" src="../../static/image/like_icon.png"></image>
<view>追剧</view>
</view>
</block>
<view class="button">
<button style="box-sizing:border-box;border:0rpx solid;background:none;color:white;font-size:12px;height:22px;line-height:1.555556;height: 100%;width: 100%;display: flex;flex-direction: column;" open-type="share">
<image class="icon" mode="widthFix" src="../../static/image/fenxiang.png" data-event-opts="{{[['tap',[['message']]]]}}" bindtap="__e"></image><span>转发</span>
</button>
</view>
</view>
</view>
</swiper-item>
</block>
</swiper>
<view class="zhebu" wx:if="{{zhewuc}}">
</view>
</view>