You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
8.3 KiB

4 months ago
<view class="video"><block wx:if="{{$root.g0}}"><view class="empty position-center align-center justify-center"><view></view></view></block><swiper style="{{'width:'+(width+'px')+';'+('height:'+(height+'px')+';')}}" vertical="{{true}}" acceleration="{{true}}" current="{{videoIndex}}" data-event-opts="{{[['change',[['changeCurrent',['$event']]]],['animationfinish',[['animationFinish',['$event']]]]]}}" bindchange="__e" bindanimationfinish="__e"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item><block wx:if="{{item.g1<=1}}"><block><view data-event-opts="{{[['tap',[['handleClicked',['$event']]]]]}}" bindtap="__e"><wanl-find-video class="vue-ref-in-for" vue-id="{{'0a9e1946-1-'+index}}" width="{{width}}" height="{{height}}" src="{{item.$orig.video.url}}" play="{{item.$orig.play}}" videoId="{{item.$orig.id}}" coverUrl="{{item.$orig.video.cover_url}}" objectFit="{{item.$orig.video.fit}}" gDuration="{{item.$orig.video.duration}}" initialTime="{{item.$orig.initialTime}}" data-ref="wanlVideo" data-event-opts="{{[['^pause',[['pauseVideo']]]]}}" bind:pause="__e" bind:__l="__l"></wanl-find-video><view class="position-bottom-center" style="{{'bottom:'+(''+safeBottom)+';'}}"><view class="flex-direction justify-between align-end padding-lr-bj padding-bottom-sm"><view class="flex-sub padding-right-bj"><block wx:if="{{item.$orig.shop}}"><view data-event-opts="{{[['tap',[['handleShop',['$0'],[[['videoList','',index,'shop.id']]]]]]]}}" class="left-title" catchtap="__e"><text class="text-white margin-bottom-s text-lg">{{"@"+item.$orig.shop.shopname}}</text></view></block><block wx:if="{{item.$orig.user}}"><view data-event-opts="{{[['tap',[['handleUser',['$0'],[[['videoList','',index,'user_no']]]]]]]}}" class="left-title" catchtap="__e"><text class="text-white margin-bottom-s text-lg">{{"@"+item.$orig.user.nickname}}</text></view></block><view class="left-describe flex-direction"><text class="text-lines-3 flex-sub text-df text-white-8">{{item.m0}}</text></view></view><view class="main-right align-center"><block wx:if="{{item.$orig.shop}}"><view class="main-right-user position-relative margin-bottom-xs align-center"><view data-event-opts="{{[['tap',[['handleUser',['$0'],[[['videoList','',index,'user_no']]]]]]]}}" class="main-right-image justify-center bg-white round align-center" catchtap="__e"><image class="main-right-img round" src="{{item.m1}}"></image></view><block wx:if="{{item.$orig.isFollow===0}}"><view data-event-opts="{{[['tap',[['handleFollow',['$0'],[[['videoList','',index,'shop']]]]]]]}}" class="main-right-user-follow bg-red round position-absolute justify-center align-center" catchtap="__e"><text class="text-min icon"></text></view></block><block wx:if="{{item.$orig.isFollow===1}}"><view data-event-opts="{{[['tap',[['handleFollow',['$0'],[[['videoList','',index,'shop']]]]]]]}}" class="main-right-user-follow bg-red round position-absolute justify-center align-center" catchtap="__e"><text class="text-min icon text-bold"></text></view></block></view></block><block wx:if="{{item.$orig.user}}"><view class="main-right-user position-relative margin-bottom-xs align-center"><view data-event-opts="{{[['tap',[['handleUser',['$0'],[[['videoList','',index,'user_no']]]]]]]}}" class="main-right-image justify-center bg-white round align-center" catchtap="__e"><image class="main-right-img round" src="{{item.m2}}"></image></view><block wx:if="{{item.$orig.isFollow===0}}"><view data-event-opts="{{[['tap',[['handleFollow']]]]}}" class="main-right-user-follow bg-red round position-absolute justify-center align-center" catchtap="__e"><text class="text-min icon"></text></view></block></view></block><block wx:if="{{item.$orig.content}}"><view data-event-opts="{{[['tap',[['handleLike',['$event']]]]]}}" class="margin-top align-center" catchtap="__e"><text class="{{['icon','text-xxxxl','',(item.$orig.isLike===1)?'text-red':'']}}"></text><text class="text-white text-min">{{item.$orig.likes}}</text></view></block><block wx:if="{{isComment==='Y'}}"><view data-event-opts="{{[['tap',[['handleComment',['$