92 lines
3.8 KiB
Plaintext
92 lines
3.8 KiB
Plaintext
<!-- wx:if="{{btnStatus}}" display:{{btnStatus?'flex':'none'}};-->
|
|
<view class="playPos {{btnStatus?'lz_one':'lz_two'}}" catchtap="goluzhi">
|
|
<icon class="iconfont icon-video_recording"></icon>
|
|
<view class="text">发布</view>
|
|
</view>
|
|
<view class="recordPos {{btnStatus?'jl_one':'jl_two'}}" catchtap="gojilu">
|
|
<icon class="iconfont icon-video_myvideorecord"></icon>
|
|
<view class="text">我的</view>
|
|
</view>
|
|
<view class="posBox {{btnStatus?'rotateImg':'normalImg'}}" catchtap="chooseSta">
|
|
<image src="{{videoMore}}" ></image>
|
|
</view>
|
|
<view class="video-list">
|
|
<view class="banner" wx:if="{{is_rotation==1}}">
|
|
<swiper autoplay="{{true}}" interval="{{3000}}" indicator-dots="{{true}}" indicator-color="#ebedf0"
|
|
indicator-active-color="#1989fa" bindchange="bindchange" style="height:{{swiperHeight}}rpx;">
|
|
<swiper-item wx:for="{{bannerList}}" wx:for-item="bannerItem" wx:key="index">
|
|
<view class="img" catchtap="goimgurl" data-url="{{bannerItem.wxUrl}}">
|
|
<image src="{{bannerItem.img}}" mode='widthFix' bindload="imageLoad" id="{{index}}"/>
|
|
</view>
|
|
</swiper-item>
|
|
</swiper>
|
|
</view>
|
|
|
|
<van-tabs active="{{ category_id }}" ellipsis="{{false}}" swipe-threshold="{{4}}" bind:change="changeCategory" wx:if="{{is_show_cate}}">
|
|
<van-tab title="{{item.name}}" name="{{item.id}}" wx:for="{{cateList}}"></van-tab>
|
|
</van-tabs>
|
|
|
|
<view class="video-list">
|
|
<view class="ul" style="display: none">
|
|
<view class="li" data-item="{{item}}" catchtap="toVideo" wx:for="{{videoList}}" wx:key="{{item.id}}">
|
|
<view class="video-img">
|
|
<image src="{{item.cover}}" id="{{item.id}}" mode='aspectFit' bindload="onImageLoad" />
|
|
</view>
|
|
<view class="p">{{item.title}}</view>
|
|
<view class="people" wx:if="{{item.member}}">
|
|
<view class="img">
|
|
<image src="{{item.member.avatar}}" mode='widthFix' />
|
|
</view>
|
|
<view class="span">{{item.member.nickname}}</view>
|
|
</view>
|
|
<view class="play">
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/home_play@2x.png" mode='widthFix' />
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="ul Mright">
|
|
<view class="li" data-item="{{item}}" catchtap="toVideo" wx:for="{{activitys1}}" wx:key="{{item.id}}">
|
|
<view class="video-img">
|
|
<image src="{{item.cover}}" id="{{item.id}}" mode='widthFix' />
|
|
</view>
|
|
<view class="p">{{item.title}}</view>
|
|
<view class="people" wx:if="{{item.member}}">
|
|
<view class="img">
|
|
<image src="{{item.member.avatar}}" mode='widthFix' />
|
|
</view>
|
|
<view class="span">{{item.member.nickname}}</view>
|
|
</view>
|
|
<view class="play">
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/home_play@2x.png" mode='widthFix' />
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="ul">
|
|
<view class="li" data-item="{{item}}" catchtap="toVideo" wx:for="{{activitys2}}" wx:key="{{item.id}}">
|
|
<view class="video-img">
|
|
<image src="{{item.cover}}" id="{{item.id}}" mode='widthFix' />
|
|
</view>
|
|
<view class="p">{{item.title}}</view>
|
|
<view class="people" wx:if="{{item.member}}">
|
|
<view class="img">
|
|
<image src="{{item.member.avatar}}" mode='widthFix' />
|
|
</view>
|
|
<view class="span">{{item.member.nickname}}</view>
|
|
</view>
|
|
<view class="play">
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/home_play@2x.png" mode='widthFix' />
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view wx:if="{{videoList.length <= 0}}" class="blank">
|
|
<image src='https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/blank.png' mode='widthFix' />
|
|
</view>
|
|
<view class="load" wx:if="{{!showLoading}}">
|
|
<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/video-loading.gif" mode='widthFix'></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<shopfoot ></shopfoot>
|