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
2.6 KiB

<view class="rel"><view class="abs" style="{{'z-index:99;'+('top:'+(statusBarHeight+'px')+';')}}"><block wx:if="{{!isShare}}"><view data-event-opts="{{[['tap',[['goBack',['$event']]]]]}}" class="{{['flex-center','circle','home-return-btn',[(configInfo.isIos)?'back-user-ios':''],[(!configInfo.isIos)?'back-user-android':'']]}}" catchtap="__e"><view class="iconfont icon-left c-base text-bold" style="font-size:40rpx;"></view></view></block></view><view class="banner"><swiper class="banner-swiper" style="{{'background:'+(playVideo&&!detail.video_vid?'#000':'#f4f6f8')+';'}}" autoplay="{{playVideo?false:true}}" current="{{current}}" data-event-opts="{{[['change',[['handerSwiperChange',['$event']]]],['transition',[['swiperTransition',['$event']]]]]}}" bindchange="__e" bindtransition="__e"><block wx:for="{{detail.images}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item data-event-opts="{{[['tap',[['handerBannerClick',[index]]]]]}}" bindtap="__e"><block wx:if="{{index==0&&detail.video_url}}"><block><block wx:if="{{!playVideo}}"><block><view data-event-opts="{{[['tap',[['playCurrent',['$event']]]]]}}" class="banner-swiper c-base iconfont icontushucxuanzebofangtiaozhuan abs flex-center" style="top:0rpx;font-size:80rpx;z-index:9;" catchtap="__e"></view><image class="banner-img" mode="aspectFill" src="{{item}}"></image></block></block><block wx:if="{{playVideo&&detail.video_vid}}"><txv-video vue-id="{{'601b218e-1-'+index}}" vid="{{detail.video_vid}}" playerid="{{detail.video_vid}}" width="100%" height="100%" controls="{{true}}" autoplay="{{true}}" isHiddenStop="{{true}}" bind:__l="__l"></txv-video></block><block wx:if="{{playVideo&&!detail.video_vid}}"><view class="video-box"><video class="my-video" id="video_id" loop="{{false}}" enable-play-gesture="{{true}}" enable-progress-gesture="{{false}}" src="{{detail.video_url}}" autoplay="{{playVideo}}" data-event-opts="{{[['play',[['onPlay',['$event']]]],['pause',[['onPause',['$event']]]],['ended',[['onEnded',['$event']]]],['timeupdate',[['onTimeUpdate',['$event']]]],['waiting',[['onWaiting',['$event']]]],['progress',[['onProgress',['$event']]]],['loadedmetadata',[['onLoadedMetaData',['$event']]]]]}}" bindplay="__e" bindpause="__e" bindended="__e" bindtimeupdate="__e" bindwaiting="__e" bindprogress="__e" bindloadedmetadata="__e"></video></view></block></block></block><block wx:else><image class="banner-img" mode="aspectFill" src="{{item}}"></image></block></swiper-item></block></swiper><block wx:if="{{$root.g0}}"><view class="banner-tagitem banner-tagitem_count">{{''+(current+1)+"/"+$root.g1+''}}</view></block></view></view>