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 lines
8.3 KiB

<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',['$event']]]]]}}" class="margin-top align-center" catchtap="__e"><text class="icon text-xxxxl"></text><text class="text-white text-min">{{item.$orig.comments}}</text></view></block><block wx:if="{{item.$orig.content}}"><view data-event-opts="{{[['tap',[['handleShare',['$event']]]]]}}" class="margin-top align-center" catchtap="__e"><text class="icon text-xxxxl"></text></view></block></view></view><scroll-view class="goods flex-direction" style="{{'width:'+(width+'px')+';'}}" scroll-x="{{true}}" enable-flex="true" show-scrollbar="{{false}}"><block wx:for="{{item.l0}}" wx:for-item="goods" wx:for-index="keys" wx:key="keys"><view class="goods-item" style="{{'width:'+(width*0.8+'px')+';'}}"><view class="flex-direction"><image class="goods-item-img" src="{{goods.m3}}"></image><view class="flex-sub justify-between"><view><text class="text-sm text-lines-mp text-black-8">{{goods.$orig.title}}</text></view><view class="flex-direction justify-between"><view class="goods-item-content-details-price"><text class="text-df text-orange">{{"¥"+goods.$orig.price}}</text></view><view data-event-opts="{{[['tap',[['handleGoods',['$0'],[[['videoList','',index],['goods','',keys,'id']]]]]]]}}" class="padding-tb-s wanl-bg-orange radius padding-lr-xs align-center flex-direction" catchtap="__e"><text class="icon text-min"></text><text class="text-min text-white margin-left-s">立即购买</text></view></view></view></view></view></block></scroll-view></view></view></block></block></swiper-item></block></swiper><uni-popup class="vue-ref" vue-id="0a9e1946-2" type="bottom" data-ref="wanlCommentPopup" bind:__l="__l" vue-slots="{{['default']}}"><view class="comment padding-bj"><view class="flex-direction justify-between align-center margin-bottom-bj"><text></text><text class="text-white text-30">{{"全部评论("+commentData.count+")"}}</text><text data-event-opts="{{[['tap',[['handleCommentClose',['$event']]]]]}}" class="icon text-30" bindtap="__e"></text></view><wanl-comment vue-id="{{('0a9e1946-3')+','+('0a9e1946-2')}}" embedded="{{true}}" findId="{{commentData.find_id}}" commentList="{{commentData.list}}" commenCount="{{commentData.count}}" data-event-opts="{{[['^complete',[['handleComplete']]]]}}" bind:complete="__e" bind:__l="__l"></wanl-comment><view style="{{'height:'+(bottom+'px')+';'}}"></view></view></uni-popup><uni-popup class="vue-ref" vue-id="0a9e1946-4" type="bottom" data-ref="wanlSharePopup" bind:__l="__l" vue-slots="{{['default']}}"><view class="share bg-white padding-bj"><view class="flex-direction justify-between align-center margin-bottom-bj"><text></text><text class="text-black text-30">分享到</text><text data-event-opts="{{[['tap',[['handleShareClose',['$event']]]]]}}" class="icon text-30 text-black" bindtap="__e"></text></view><scroll-view class="share-scroll-view flex-direction" scroll-x="{{true}}" show-scrollbar="{{false}}" scroll-with-animation="{{true}}"><view class="share-scroll-view-item"><button class="share-scroll-view-item-button" open-type="share"><view class="share-scroll-view-item-button-icon justify-center align-center bg-green"><text class="icon text-xxl text-white"></text></view><view class="margin-top-xs"><text class="text-sm text-black">分享</text></view></button></view><block wx:for="{{providerList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{item}}"><view class="share-scroll-view-item"><button data-event-opts="{{[['tap',[['handleOnShare',['$0'],[[['providerList','',index]]]]]]]}}" class="share-scroll-view-item-button" bindtap="__e"><view class="{{['share-scroll-view-item-button-icon','justify-center','align-center',item.background]}}"><block wx:if="{{item.id==='weixin'}}"><text class="icon text-xxl text-white"></text></block><block wx:if="{{item.id==='sinaweibo'}}"><text class="icon text-xxl text-white"></text></block><block wx:if="{{item.id==='qq'}}"><text class="icon text-xxl text-white"></text></block><block wx:if="{{item.id==='poster'}}"><text class="icon text-xxl text-black"></text></block><block wx:if="{{item.id==='link'}}"><text class="icon text-xxl text-black"></text></block><block wx:if="{{item.id==='report'}}"><text class="icon text-xxl text-black"></text></block></view><view class="margin-top-xs"><text class="text-sm text-black">{{item.name}}</text></view></button></view></block></block></scroll-view><view style="{{'height:'+(bottom+'px')+';'}}"></view></view></uni-popup></view>